GET/spaces/api/v2/spaces/{spaceID}/pages/{pageID}/attachments/{attachmentID}.json

retrieves the specified attachment

Path Params

  • Name
    spaceID
    Type
    integer
    required
    Description
  • Name
    pageID
    Type
    integer
    required
    Description
  • Name
    attachmentID
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

Attachment
{
  "attachments": [
    {
      "LinkedInstallation": {
        "installation": {
          "id": 0,
          "meta": {},
          "type": "string"
        }
      },
      "createdAt": "2024-04-24T00:52:20.157Z",
      "createdBy": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "deletedAt": "2024-04-24T00:52:20.157Z",
      "deletedBy": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "fileName": "string",
      "id": 0,
      "mimeType": "string",
      "objectType": "string",
      "page": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "size": 0,
      "space": {
        "id": 0,
        "meta": {},
        "type": "string"
      },
      "state": "string",
      "updatedAt": "2024-04-24T00:52:20.157Z",
      "updatedBy": {
        "id": 0,
        "meta": {},
        "type": "string"
      }
    }
  ]
}