Record a finished direct upload as a file on the record.
This read is not paginated. It returns at most 255 rows and does not report a total, so a result of exactly 255 may be truncated.
URL
User APIhttps://sales.mattering.io/api/user/v1/files/upload/finalize/
Service tierhttps://sales.mattering.io/api/internal/files/upload/finalize/
Body keys (JSON)
Key
Required
Default
business_id
optional or conditional
none
contact_id
optional or conditional
none
content_type
optional or conditional
none
description
optional or conditional
none
document_type
optional or conditional
none
filename
optional or conditional
none
is_private
optional or conditional
none
title
optional or conditional
none
upload_id
optional or conditional
none
Keys the view reads. A key not in this list is ignored by the view, silently. Where a key is required only for some actions (for example the action dispatch), the description above says which.
Start a direct upload: returns a URL to PUT the bytes to, and the ``upload_id`` to hand back to finalize.
This read is not paginated. It returns at most 127 rows and does not report a total, so a result of exactly 127 may be truncated.
URL
User APIhttps://sales.mattering.io/api/user/v1/files/upload/init/
Service tierhttps://sales.mattering.io/api/internal/files/upload/init/
Body keys (JSON)
Key
Required
Default
business_id
optional or conditional
none
contact_id
optional or conditional
none
content_type
optional or conditional
none
file_size
optional or conditional
none
filename
optional or conditional
none
Keys the view reads. A key not in this list is ignored by the view, silently. Where a key is required only for some actions (for example the action dispatch), the description above says which.
Responses
200data and meta envelope
{
"data": {
"mode": "multipart",
"detail": "Direct uploads are not available on this server; POST the file to files/ instead."
}
}
Read, update or delete one of the files by id. derived from route
This read is not paginated. It returns at most 255 rows and does not report a total, so a result of exactly 255 may be truncated.
URL
User APIhttps://sales.mattering.io/api/user/v1/files/{file_id}/
Service tierhttps://sales.mattering.io/api/internal/files/{file_id}/
Path parameters
Name
Type
file_id
uuid
Body keys (JSON)
Key
Required
Default
description
optional or conditional
none
document_type
optional or conditional
none
is_private
optional or conditional
none
tags
optional or conditional
none
title
optional or conditional
none
Keys the view reads. A key not in this list is ignored by the view, silently. Where a key is required only for some actions (for example the action dispatch), the description above says which.
We use strictly necessary cookies to run this site. With your permission we also use analytics cookies
(Google Analytics and our own visit tracking) to see which pages work. Read the
Cookie notice.