Show an attachment
/api/v1/attachments/{attachment_uuid}
operationId: attachment.show
Base: https://portal.watcheye.com.au/api/v1/attachments/{attachment_uuid}
Returns the details of a single attachment by its UUID. Use the download endpoint for the file contents.
Path parameters
| Field | Description |
|---|---|
attachment_uuidrequired |
string (uuid) The attachment UUID |
Responses
Attachment response
application/json
| Field | Description |
|---|---|
data |
object An attachment: a file attached to an entity, such as a trust deed, an ASIC extract, a signed declaration or a contract. The contents are stored encrypted and are returned by the download endpoint. Deleting an attachment is a soft-delete: subsequent show or list calls for it return |
data. |
string (uuid) The attachment's UUID |
data. |
string A short public identifier for the attachment, shown in the portal |
data. |
string (uuid) UUID of the entity the attachment is on |
data. |
string (uuid) UUID of the program the entity belongs to |
data. |
string The name of the file as uploaded |
data. |
string What the file is. Any text up to 100 characters; |
data. |
string or null An optional description of the file (max 2000 characters) |
data. |
string The type of the file, detected from its contents |
data. |
string A readable name for the type of file |
data. |
integer The size of the file in bytes |
data. |
string SHA-256 hash of the file contents, as lowercase hex. Files with the same hash have identical contents. |
data. |
object or null Identifies who uploaded the file. The
|
data. |
string Discriminator for the actor type. |
data. |
string (uuid) UUID of the user or API key that uploaded the file. |
data. |
string Username of the portal user. Present only when |
data. |
string Label of the API key. Present only when |
data. |
string (date-time) or null ISO 8601 timestamp at which the attachment was archived with its entity (null if not archived) |
data. |
string (date-time) |
data. |
string (date-time) |
api_reference |
string (uuid) |