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.

Get accesses

Last updated on
GET 

/track-and-trace/v2/accesses

Get accesses filtered by subject.

Request

Query Parameters
    subject stringrequired

    Subject DID

    Example: did:ebsi:zkrLJ5WyqiHbiXjur3TqzfA
    permission string

    Filter accesses by permission (creator, delegate, or write).

    granted-by string

    Filter accesses by granter.

Responses

Success

Schema
    self string

    Absolute path to the collection (consult)

    items object[]

    List of accesses

  • Array [
  • subject string

    Subject

    documentId string

    Document ID

    grantedBy string

    DID that granted the access

    permission string

    Possible values: [write, delegate, creator]

    Type of permission

  • ]
  • 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...