action pocketsmith_put_attachments_id { label: "Update attachment" description: "Updates the title of the attachment." provider: pocketsmith method: PUT path: "/attachments/{id}" encoding: json input: { type: "object" properties: { id: { type: "integer" } title: { type: "string" description: "The new title of the attachment. If the title is blank or not provided, the server will derive a title from the file name." } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { content_type: { type: "string" description: "The content type of the attachment." } content_type_meta: { type: "object" properties: { description: { type: "string" description: "The content type description of the attachment." } extension: { type: "string" description: "The extension type of the attachment." } title: { type: "string" description: "The content type title of the attachment." } } } created_at: { type: "string" format: "ISO 8601 timestamp" description: "When the attachment was created." } file_name: { type: "string" description: "The file name of the attachment." } id: { type: "integer" description: "The unique identifier of the attachment" } original_url: { type: "string" description: "The url of the attachment." } title: { type: "string" description: "The title of the attachment. If blank or not provided, the title will be derived from the file name." } type: { type: "string" description: "The type of attachment." } updated_at: { type: "string" format: "ISO 8601 timestamp" description: "When the attachment was last updated." } variants: { type: "object" properties: { large_url: { type: "string" description: "The url of the large version of the attachment." } thumb_url: { type: "string" description: "The url of the thumb version of the attachment." } } } } } }