Gamma API
ProjectsAttachments

Get a marker attachment download URL

GET
/api/projects/{projectId}/markers/{markerId}/attachments/{attachmentId}/url

Valid for 15 minutes. 409 when the storage it is in is disconnected.

Who may call it: Anyone on the project whose permission profile allows marker.read. API keys: yes, given marker.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.

markerId*string
attachmentId*string

Response Body

OK.

application/json
  1. response
url*string

A presigned URL; valid for minutes, not to be stored.

Formaturi
Example Request
curl -X GET 'http://localhost:3000/api/projects/string/markers/string/attachments/string/url'
Example Response
{  "url": "http://example.com"}