Gamma API
ProjectsAttachments

List comment attachments

GET
/api/projects/{projectId}/issues/{issueId}/comments/{commentId}/attachments

The files on a comment, oldest first; readable whatever state it is in, deleted included.

Who may call it: Anyone on the project whose permission profile allows issue.read. API keys: yes, given issue.read for this project.

Authorization

cookiegamma.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.

Path Parameters

projectId*string

The project's id.

issueId*string
commentId*string

Response Body

OK.

application/json
  1. response
attachments*array<>
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/issues/string/comments/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"    }  ]}