CommonsDB Developer PortalCommonsDB Developer PortalCommonsDB Developer Portal
  • Documentation
  • Declaration API
  • Metadata API
  • Search API
declare
    Add a new Declaration to registriespost
Schemas
powered by Zudoku
Declaration Engine API

declare

Endpoint:https://api.commonsdb.org

Add a new Declaration to registries

POST
https://api.commonsdb.org
/v1/declare

Add a new Declaration to registries

Add a new Declaration to registries › Headers

  • Authorizationstring · required

    Bearer token for authentication

Add a new Declaration to registries › Request Body

  • signaturestring · required

    signature of commonsDbRegistry declaration metadata

  • tsaSignaturestring · required

    signature of declaration metadata with timestamp service

  • commonsDbRegistrySignaturestring · required

    signature of commonsDbRegistry declaration metadata

  • commonsDbRegistryTsaSignaturestring · required

    signature of commonsDbRegistry declaration metadata with timestamp service

  • declarationMetadataobject

Add a new Declaration to registries › Responses

Successful operation

  • rayIdstring

    Unique identifier for the request

  • messagestring

    Status message of the ingestion

  • envstring

    Environment where the declaration was ingested

  • isccstring

    ISCC code of the ingested declaration

  • cidV1string

    Content Identifier Version 1 of the ingested declaration

  • versionstring

    API version

POST /v1/declare