ProjectsAttachments
List project attachments
GET
Every file in the project on the kinds of record the caller may read, newest first; 500 at most.
Who may call it: Anyone on the project. API keys: yes.
cookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
ownerType?stringValue in
"form""issue""marker""comment"ownerId?stringNeeds ownerType.
Length
1 <= lengthownerField?stringNeeds ownerId.
Length
1 <= lengthkind?stringimage: images only; file: everything else.
Value in
"image""file"OK.
application/json- response
attachments*array<>Example Request
curl -X GET 'http://localhost:3000/api/projects/string/attachments'Example Response
{ "attachments": [ { "id": "string", "ownerType": "form", "ownerId": "string", "ownerField": "string", "fileName": "string", "contentType": "string", "sizeBytes": -9007199254740991, "createdById": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}