action rebilly_get_attachment { label: "Retrieve an Attachment" description: "Retrieve a Attachment with specified identifier string.\n" provider: rebilly method: GET path: "/attachments/{id}" encoding: json output: { type: "object" required: ["fileId", "relatedId", "relatedType"] properties: { _embedded: { type: "array" description: "Any embedded objects available that are requested by the `expand` querystring parameter." items: { type: "object" } } _links: { type: "array" description: "The links related to resource." items: { type: "object" } } createdTime: { description: "Creation date/time." type: "object" } description: { type: "string" description: "The Attachment description." } fileId: { type: "string" description: "Linked File object id." } id: { type: "object" } name: { type: "string" description: "The Original Attachment name." } relatedId: { type: "string" description: "Linked object Id." } relatedType: { type: "string" description: "Linked object type." enum: ["customer", "dispute", "gateway-timeline-comment", "invoice", "organization", "payment", "plan", "product", "subscription", "transaction", "customer-timeline-comment", "transaction-timeline-comment", "order-timeline-comment"] } updatedTime: { description: "Latest update date/time." type: "object" } } } }