Atlassian · Schema
AttachmentMetadata
Metadata for an issue attachment.
CodeCollaborationPlatformProductivitySoftware Development
Properties
| Name | Type | Description |
|---|---|---|
| author | object | Details of the user who attached the file. |
| content | string | The URL of the attachment. |
| created | string | The datetime the attachment was created. |
| filename | string | The name of the attachment file. |
| id | integer | The ID of the attachment. |
| mimeType | string | The MIME type of the attachment. |
| properties | object | Additional properties of the attachment. |
| self | string | The URL of the attachment metadata details. |
| size | integer | The size of the attachment. |
| thumbnail | string | The URL of a thumbnail representing the attachment. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AttachmentMetadata",
"title": "AttachmentMetadata",
"additionalProperties": false,
"description": "Metadata for an issue attachment.",
"properties": {
"author": {
"allOf": [
{
"$ref": "#/components/schemas/User"
}
],
"description": "Details of the user who attached the file.",
"readOnly": true
},
"content": {
"description": "The URL of the attachment.",
"readOnly": true,
"type": "string"
},
"created": {
"description": "The datetime the attachment was created.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"filename": {
"description": "The name of the attachment file.",
"readOnly": true,
"type": "string"
},
"id": {
"description": "The ID of the attachment.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"mimeType": {
"description": "The MIME type of the attachment.",
"readOnly": true,
"type": "string"
},
"properties": {
"additionalProperties": {
"readOnly": true
},
"description": "Additional properties of the attachment.",
"readOnly": true,
"type": "object"
},
"self": {
"description": "The URL of the attachment metadata details.",
"format": "uri",
"readOnly": true,
"type": "string"
},
"size": {
"description": "The size of the attachment.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"thumbnail": {
"description": "The URL of a thumbnail representing the attachment.",
"readOnly": true,
"type": "string"
}
},
"type": "object",
"xml": {
"name": "attachment"
}
}