Asana · Schema

AttachmentResponse

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
gid string
resource_type string
name string
resource_subtype string
created_at string
download_url string
host string
parent object
permanent_url string
size integer The size of the attachment in bytes.
view_url string
connected_to_app boolean
View JSON Schema on GitHub

JSON Schema

asana-attachmentresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttachmentResponse",
  "title": "AttachmentResponse",
  "type": "object",
  "properties": {
    "gid": {
      "type": "string",
      "readOnly": true,
      "example": "12345"
    },
    "resource_type": {
      "type": "string",
      "readOnly": true,
      "example": "attachment"
    },
    "name": {
      "type": "string",
      "example": "Screenshot.png"
    },
    "resource_subtype": {
      "type": "string",
      "example": "dropbox"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true,
      "example": "2012-02-22T02:06:58.147Z"
    },
    "download_url": {
      "type": "string",
      "format": "uri",
      "nullable": true,
      "readOnly": true
    },
    "host": {
      "type": "string",
      "readOnly": true,
      "example": "dropbox"
    },
    "parent": {
      "type": "object",
      "properties": {
        "gid": {
          "type": "string"
        },
        "resource_type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "permanent_url": {
      "type": "string",
      "format": "uri",
      "readOnly": true
    },
    "size": {
      "type": "integer",
      "readOnly": true,
      "description": "The size of the attachment in bytes."
    },
    "view_url": {
      "type": "string",
      "format": "uri",
      "nullable": true,
      "readOnly": true
    },
    "connected_to_app": {
      "type": "boolean",
      "readOnly": true
    }
  }
}