We are implementing code to retrieve all attachments of an issue but response (for attachment Object) is not paginated. Is there any ReST API to support pagination in issue/attachment? Here is the attached link of response.
Sample Request follows
Sample response is attached in following link
https://drive.google.com/drive/folders/0B7z6OxEJJnkAQWNqWDYzeU5ZMUk
Truncated Sample Response is here
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10001",
"attachment": [
{
"id": "10007",
"filename": ".eslintrc.yml",
"author": {
"name": "admin",
"key": "admin",
"accountId": "5b90d2af6fe3122bcba48ae8",
"active": true,
},
"created": "2018-09-06T20:32:47.891+0530",
"size": 62,
"mimeType": "text/plain",
"content": "https://shalakasi.atlassian.net/secure/attachment/10007/.eslintrc.yml"
},
{
"id": "10009",
"filename": ".eslintrc - Copy.yml",
"author": {
"name": "admin",
"key": "admin",
"accountId": "5b90d2af6fe3122bcba48ae8",
"active": true,
},
"created": "2018-09-06T20:32:47.923+0530",
"size": 62,
"mimeType": "text/plain",
"content": "https://shalakasi.atlassian.net/secure/attachment/10009/.eslintrc+-+Copy.yml"
}
],
"summary": "Issue attacchments crawling",
"creator": {
"self": "https://shalakasi.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
"timeZone": "Asia/Calcutta"
},
"subtasks": [],
"reporter": {
"self": "https://shalakasi.atlassian.net/rest/api/2/user?username=admin",
"name": "admin",
"key": "admin",
},
"aggregateprogress": {
"progress": 0,
"total": 0
},
"customfield_10000": "{}",
"customfield_10001": null,
"progress": {
"progress": 0,
"total": 0
},
"comment": {
"comments": [],
"maxResults": 0,
"total": 0,
"startAt": 0
},
"votes": {
"self": "https://shalakasi.atlassian.net/rest/api/2/issue/NEW3-2/votes",
"votes": 0,
"hasVoted": false
},
"worklog": {
"startAt": 0,
"maxResults": 20,
"total": 0,
"worklogs": []
}
}