Skip to main content
European CommissionEBSI European Blockchain
Select the Environment you want to work withEnvironment:
warning icon

This API is being released as part of an upcoming version.

The upcoming version is not backward compatible with the current stable version. You can find the details of the upcoming release and affected endpoints in the change log. Please contact eu-ebsi@ec.europa.eu if this upcoming release might cause a high impact on either an ongoing development or a piloting demonstration.

List events

Last updated on
GET 

/track-and-trace/v2/documents/:documentId/events

Returns a list of events.

Request

Path Parameters
    documentId stringrequired

    The 32-bytes ID of the document, encoded in hexadecimal.

    Example: 0x65292ff9c6f87f754fe33a03d0b385b2c2d6bbaedff22438bec39593ce5920f4
Query Parameters
    page[after] string

    Cursor that points to the end of the page of data that has been returned.

    page[size] integer

    Defines the maximum number of objects that may be returned.

    external-hash string

    Filter events by external hash.

    origin string

    Filter events by origin.

    sender string

    Filter events by sender.

    source string

    Possible values: [block, external]

    Filter events by source.

Responses

Success

Schema
    self string

    Absolute path to the collection (consult)

    items object[]

    List of events

  • Array [
  • eventId string

    The event ID

    href string

    Link to the resource

  • ]
  • total integer

    Total number of items across all pages.

    pageSize integer

    Maximum number of items per page. For the last page, its value should be independent of the number of actually returned items.

    links object

    Links model used for pagination

    last string

    URI of the last page

    prev string

    URI of the previous page

    next string

    URI of the next page

    first string

    URI of the first page

Loading...