Timeline.attachments
Stay organized with collections
Save and categorize content based on your preferences.
For a list of methods for this resource, see the end of this page.
Resource representations
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. |
|
{
"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
- Deletes an attachment from a timeline item.
- get
- Retrieves an attachment on a timeline item by item ID and attachment ID.
- insert
- Adds a new attachment to a timeline item.
- list
- Returns a list of attachments for a timeline item.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eRepresents media content, such as photos, that can be attached to timeline items.\u003c/p\u003e\n"],["\u003cp\u003eProvides properties like \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003econtentType\u003c/code\u003e, \u003ccode\u003econtentUrl\u003c/code\u003e, and \u003ccode\u003eisProcessingContent\u003c/code\u003e to describe the attachment.\u003c/p\u003e\n"],["\u003cp\u003eIncludes methods to manage attachments such as \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003einsert\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003econtentUrl\u003c/code\u003e might be temporarily unavailable if \u003ccode\u003eisProcessingContent\u003c/code\u003e is true, requiring the caller to retry later.\u003c/p\u003e\n"]]],[],null,["# Timeline.attachments\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\nRepresents media content, such as a photo, that can be attached to a timeline item.\n\n```\n{\n \"id\": string,\n \"contentType\": string,\n \"contentUrl\": string,\n \"isProcessingContent\": boolean\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `id` | `string` | The ID of the attachment. | |\n| `contentType` | `string` | The MIME type of the attachment. | |\n| `contentUrl` | `string` | The URL for the content. | |\n| `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. | |\n\n\u003cbr /\u003e\n\n```text\n{\n \"id\": string,\n \"contentType\": string,\n \"contentUrl\": string,\n \"isProcessingContent\": boolean\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `contentType` | `string` | The MIME type of the attachment. | |\n| `contentUrl` | `string` | The URL for the content. | |\n| `id` | `string` | The ID of the attachment. | |\n| `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. | |\n\nMethods\n-------\n\n[delete](/glass/v1/reference/timeline/attachments/delete)\n: Deletes an attachment from a timeline item.\n\n[get](/glass/v1/reference/timeline/attachments/get)\n: Retrieves an attachment on a timeline item by item ID and attachment ID.\n\n[insert](/glass/v1/reference/timeline/attachments/insert)\n: Adds a new attachment to a timeline item.\n\n[list](/glass/v1/reference/timeline/attachments/list)\n: Returns a list of attachments for a timeline item."]]