Inovacc Developer

API reference / Files

Upload a file

PUThttps://data.inovacc.dev/v1/databases/{database}/blobs/{sha256}

Store a file in a database under its own SHA-256.

Path params

  • databasestringrequired

    The database key.

  • sha256stringrequired

    The SHA-256 of the file's bytes, 64 lowercase hex characters.

Body params

See the description.

Headers

  • Authorizationstringrequired

    Bearer <API key>

  • Content-Typestringrequired

    application/json, on a call with a body

Description

The body is the file's bytes, at most 100 MiB, with Content-Length (required: 411 without it). The bytes are checked against the hash in the path: a mismatch is 400 hash_mismatch and nothing is stored. Answers 201 when stored and 200 when the blob was already there. Above 100 MiB, upload in parts with POST .../uploads.

See also

Source details

Catalogue entry

Id
identity/component-taxonomy/capabilities#files
Repository
identity
Path
contracts/component-taxonomy/catalog/capabilities.json
Commit
08ef3cd75d82
Updated 2026-10-10.