Skip to main content
{
    id: number
    mime_type: string
    name: string
    // For text/html: url is present, uuid is absent
    // For other types: uuid is present, url is absent
    url?: string
    uuid?: string
}
id
number
The id of the attachment file in the Proposales database
mime_type
string
What type of file the attachment represents. It can be application/pdf for a PDF file, or text/html for a URL.
name
string
A short, descriptive text to be shown as the title for the attachment.
url
string
Present for text/html attachments. Contains the direct URL to link to. When this field is present, the attachment displays as a link without file upload.
uuid
string
Present for PDF attachments. The UUID under which the file contents are saved in Proposales hosting. When this field is present, the attachment links to the uploaded file.