Attachments

Read an attachment by its stable ID

Streams an authorized attachment through its repository-independent stable ID. Public repositories allow anonymous reads; supplied credentials are validated and may expand access to private resources.

get/api/attachments/{attachment}

Request

  • Base URL
    https://git.cafe
  • Auth
    • none
    • or API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token
    • or OAuth 2
      Authorization code: /api/oauth/authorize
      Token URL: /api/oauth/token scopes: repo:attachments:read

Path parameters

attachmentstring required

Response

Attachment bytes.

Changes

No recorded changes to this operation across all 1 revision of this API.