Assets
Updates an asset with the given ID if it exists. If the asset is not found, no further action is taken. DANGER ZONE: Note that updating assets can have unexpected results, especially for contract offers that have been sent out or are ongoing in contract negotiations.
https://w3id.org/edc/v0.0.1/ns/AssetAsset was updated successfully
Request was malformed, e.g. id was null
Asset could not be updated, because it does not exist.
No content
Creates a new asset together with a data address
https://w3id.org/edc/v0.0.1/ns/AssetAsset was created successfully. Returns the asset Id and created timestamp
Request body was malformed
Could not create asset, because an asset with that ID already exists
Request all assets according to a particular query
https://w3id.org/edc/v0.0.1/ns/QuerySpecThe assets matching the query
Request body was malformed
Gets an asset with the given ID
The asset
Request was malformed, e.g. id was null
An asset with the given ID does not exist
Removes an asset with the given ID if possible. Deleting an asset is only possible if that asset is not yet referenced by a contract agreement, in which case an error is returned. DANGER ZONE: Note that deleting assets can have unexpected results, especially for contract offers that have been sent out or ongoing or contract negotiations.
Asset was deleted successfully
Request was malformed, e.g. id was null
An asset with the given ID does not exist
The asset cannot be deleted, because it is referenced by a contract agreement
No content
Last updated
Was this helpful?
