light-mode-image
Learn
API Reference

General

Create a RICAL

POST/v1/ecosystems/{ecosystemId}/ricals

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ecosystemId*string

The UUID of the ecosystem

Formatuuid

Response Body

application/json

application/json

application/json

curl -X POST "https://example.vii.au01.mattr.global/v1/ecosystems/87880d7e-a4d0-462e-8383-3f1e5e16865d/ricals"
{
  "ricalIssueID": 1337,
  "date": "2024-07-28T23:01:13.000Z"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}
Empty

Retrieve all RICALs

GET/v1/ecosystems/{ecosystemId}/ricals/public

Path Parameters

ecosystemId*string

The UUID of the ecosystem

Formatuuid

Query Parameters

limit?number

Range size of returned list.

Default100
Range1 <= value <= 1000
cursor?string

Starting point for the list of entries.

Response Body

application/json

application/json

curl -X GET "https://example.vii.au01.mattr.global/v1/ecosystems/87880d7e-a4d0-462e-8383-3f1e5e16865d/ricals/public"
{
  "data": [
    {
      "ricalIssueID": 1337,
      "date": "2024-07-28T23:01:13.000Z",
      "filename": "rical-2024-07-28-1722164473000.cbor",
      "isAutoPublished": false
    }
  ],
  "nextCursor": "Y3JlYXRlZEF0PTIwMjAtMDgtMjVUMDY6NDY6MDkuNTEwWiZpZD1hNjZmZmVhNS04NDhlLTQzOWQtODBhNC1kZGE1NWY1M2UzNmM"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Retrieve a RICAL

GET/v1/ecosystems/{ecosystemId}/ricals/public/{ricalIssueId}

Path Parameters

ecosystemId*string

The UUID of the ecosystem

Formatuuid
ricalIssueId*integer

Unique identifier of a specific RICAL version. This numeric value is continuously increased whenever a RICAL is created.

Formatint32

Response Body

application/cbor

application/json

curl -X GET "https://example.vii.au01.mattr.global/v1/ecosystems/87880d7e-a4d0-462e-8383-3f1e5e16865d/ricals/public/1337"
"string"
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

Retrieve latest RICAL

GET/v1/ecosystems/{ecosystemId}/ricals/public/latest

Path Parameters

ecosystemId*string

The UUID of the ecosystem

Formatuuid

Response Body

application/cbor

application/json

curl -X GET "https://example.vii.au01.mattr.global/v1/ecosystems/87880d7e-a4d0-462e-8383-3f1e5e16865d/ricals/public/latest"
"string"
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?

Last updated on

On this page