action rebilly_get_attachment_collection { label: "Retrieve a list of Attachments" description: "Retrieve a list of attachments.\nYou may sort by the id, name, relatedId, relatedType, fileId, createdTime, and updatedTime.\n" provider: rebilly method: GET path: "/attachments" encoding: json output: { type: "array" items: { 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" } } } } }