Get RO-Crate metadata
GET/entity/:id/rocrate
Retrieve the complete RO-Crate JSON-LD metadata for an entity. This returns the raw RO-Crate representation, which includes all metadata conforming to the RO-Crate specification.
This endpoint works for any entity type (Collection, Object, or MediaObject) and returns the associated ro-crate-metadata.json content.
The returned document's provenance is implementation-defined: it may be a stored metadata document, or a view derived from the metadata documents of the entity's contributing RO-Crates. Either way it MUST be a valid RO-Crate whose root data entity describes this entity. To retrieve the original deposited metadata document verbatim, use GET /ro-crate/{id}/metadata (available where the implementation supports deposit).
Request
Responses
- 200
- 401
- 403
- 404
- 410
- 429
- 500
Returns the RO-Crate JSON-LD metadata
Response Headers
The size of the returned content in bytes
The MIME type of the returned content
The date and time the RO-Crate metadata was last modified
Entity tag for cache validation
Not authenticated
Access token does not have the required scope
Entity not found
Gone - the resource has been deleted. Returned in place of 404 when the implementation declares a tombstonePolicy of "410"; the body is a tombstone describing the deletion. Under a tombstonePolicy of "404", deleted resources return 404 instead.
Rate limit exceeded
Response Headers
Request limit per time window
Requests remaining in current time window
Unix timestamp when the rate limit resets
Number of seconds to wait before retrying
Internal Server Error