Contents
Get Space Activity
Returns an activity
Role
All
Method
GET
URL
/api/v2/activities/:activityId
URL parameters
Parameter Name | Type | Description |
---|---|---|
activityId | Number | activity ID |
Response example
Status Line / Response Header
HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8
Response Body
{
"id": 3153,
"project": {
"id": 92,
"projectKey": "SUB",
"name": "Subtasking",
"chartEnabled": true,
"useResolvedForChart": true,
"subtaskingEnabled": true,
"projectLeaderCanEditProjectLeader": false,
"useWiki": true,
"useFileSharing": true,
"useWikiTreeView": true,
"useOriginalImageSizeAtWiki": false,
"textFormattingRule": "backlog",
"archived": false,
"displayOrder": 3,
"useDevAttributes": true
},
"type": 0,
"content": {
"id": 92,
"key_id": 121,
"summary": "Comment",
"description": "string",
"comment": {
"id": 7237,
"content": "Comment"
},
"changes": [
{
"field": "milestone",
"new_value": "R2014-07-23",
"old_value": null,
"type": "standard"
}
]
},
"notifications": [
{
"id": 25,
"alreadyRead": false,
"reason": 2,
"user": {
"id": 25,
"userId": "admin",
"name": "admin",
"roleType": 1,
"lang": "ja",
"nulabAccount": {
"nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
"name": "admin",
"uniqueId": "admin"
},
"mailAddress": "eguchi@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
}
}
],
"createdUser": {
"id": 25,
"userId": "admin",
"name": "admin",
"roleType": 1,
"lang": "ja",
"nulabAccount": {
"nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
"name": "admin",
"uniqueId": "admin"
},
"mailAddress": "eguchi@nulab.example",
"lastLoginTime": "2022-09-01T06:35:39Z"
},
"created": "2013-12-27T07:50:44Z"
}
Response description
Parameter Name | Type | Description |
---|---|---|
type | Number | type of activity: 1: Issue Created 2: Issue Updated 3: Issue Commented 4: Issue Deleted 5: Wiki Created 6: Wiki Updated 7: Wiki Deleted 8: File Added 9: File Updated 10: File Deleted 11: SVN Committed 12: Git Pushed 13: Git Repository Created 14: Issue Multi Updated 15: Project User Added 16: Project User Deleted 17: Comment Notification Added 18: Pull Request Added 19: Pull Request Updated 20: Comment Added on Pull Request 21: Pull Request Deleted 22: Milestone Created 23: Milestone Updated 24: Milestone Deleted 25: Project Group Added 26: Project Group Deleted |
reason | Number | notification of reason 1:Assigned to Issue 2:Issue Commented 3:Issue Created 4:Issue Updated 5:File Added 6:Project User Added 9:Other 10:Assigned to Pull Request 11:Comment Added on Pull Request 12:Pull Request Added 13:Pull Request Updated |