List all files (images/attachments) in a change request
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
spaceIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$changeRequestIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Query parameters
pagestringOptional
Identifier of the page results to fetch.
limitnumber · max: 1000Optional
The number of results per page
metadatabooleanOptionalDefault:
If false is passed, "git" mutable metadata will not returned. Passing false can optimize performances of the lookup.
truecomputedbooleanOptionalDefault:
If false is passed, content will not be computed
trueResponses
200
OK
application/json
countnumberOptional
Total count of objects in the list
get/spaces/{spaceId}/change-requests/{changeRequestId}/content/files
GET /v1/spaces/{spaceId}/change-requests/{changeRequestId}/content/files HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
OK
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"id": "text",
"name": "text",
"contentType": "text",
"downloadURL": "text",
"size": 1,
"dimensions": {
"width": 1,
"height": 1
},
"git": {
"oid": "text",
"path": "text"
}
}
]
}Last updated
Was this helpful?