Skip to main content

Create a deposit for a new RO-Crate

POST 

/deposits

Optional core — provided when deposit.supported is true. See the Deposits guide.

Open a deposit session that will create a new RO-Crate. The RO-Crate comes into existence only at the deposit's first successful finalise — until then nothing is readable and no entities exist.

The request body MAY propose a roCrateId where the implementation's idMinting capability is client or both; when the body or the field is absent the server mints one (server or both). Proposing an ID that is not supported by the declared idMinting mode is rejected with 422; proposing an ID that already exists is rejected with 409. The RO-Crate ID is returned immediately so the client can reference it from the deposited metadata document; whether the metadata document MUST reference it is implementation-defined and enforced at finalise.

A previously deleted RO-Crate ID MAY be reused; implementations MAY refuse with 409. Recreation is a new RO-Crate, not a continuation — no relationship to the deleted RO-Crate's history or entities is implied.

To update an existing RO-Crate, use POST /ro-crate/{id}/deposits instead.

Request

Responses

Deposit created

Response Headers
    Location

    The URL of the created deposit