# Timeline.attachments

<br />

For a list of [methods](https://developers.google.com/glass/v1/reference/timeline/attachments#methods) for this resource, see the end of this page.

## Resource representations

<br />

Represents media content, such as a photo, that can be attached to a timeline item.

```
{
  "id": string,
  "contentType": string,
  "contentUrl": string,
  "isProcessingContent": boolean
}
```

| Property name | Value | Description | Notes |
|---|---|---|---|
| `id` | `string` | The ID of the attachment. |   |
| `contentType` | `string` | The MIME type of the attachment. |   |
| `contentUrl` | `string` | The URL for the content. |   |
| `isProcessingContent` | `boolean` | Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. |   |

<br />

```
{
  "id": string,
  "contentType": string,
  "contentUrl": string,
  "isProcessingContent": boolean
}
```

| Property name | Value | Description | Notes |
|---|---|---|---|
| `contentType` | `string` | The MIME type of the attachment. |   |
| `contentUrl` | `string` | The URL for the content. |   |
| `id` | `string` | The ID of the attachment. |   |
| `isProcessingContent` | `boolean` | Indicates that the contentUrl is not available because the attachment content is still being processed. If the caller wishes to retrieve the content, it should try again later. |   |

## Methods

[delete](https://developers.google.com/glass/v1/reference/timeline/attachments/delete)
:   Deletes an attachment from a timeline item.

[get](https://developers.google.com/glass/v1/reference/timeline/attachments/get)
:   Retrieves an attachment on a timeline item by item ID and attachment ID.

[insert](https://developers.google.com/glass/v1/reference/timeline/attachments/insert)
:   Adds a new attachment to a timeline item.

[list](https://developers.google.com/glass/v1/reference/timeline/attachments/list)
:   Returns a list of attachments for a timeline item.