Files
File a new document
Files the document’s record, linked to the lease, unit, building or contact it is about. Its bytes follow in two calls: POST /documents/{id}/content with the size and SHA-256, then PUT the file to the same address. The links decide which region the bytes are stored in, so they are set here, before any bytes exist.
post/api/v1/documents
Request
- Base URL: http://localhost:5180
- URL: http://localhost:5180/api/v1/documents
- Auth: API key in cookie better-auth.session_token
Request body
Response
Filed, waiting for its bytes.
Changes
No recorded changes to this operation across all 1 revision of this API.