Download OpenAPI specification:Download
This specification defines a RESTful TRQP profile for use in the Ayra™ Trust Network. It includes endpoints for retrieving Trust Registry metadata, authorization data, verifying entity authorization status, and checking ecosystem recognition.
Returns Trust Registry Metadata as a JSON object.
egf_did | string An optional identifier specifying which ecosystem's metadata should be retrieved. |
{- "id": "string",
- "default_egf_did": "string",
- "description": "string",
- "name": "string",
- "controllers": [
- "string"
]
}
Determines if the specified entity (entity_id
) is authorized under the given authorization identifier (authorization_id
)
within the specified governance framework (ecosystem_did
). Optionally, returns a list of authorizations if all
is true.
entity_id required | string Unique identifier of the entity. |
authorization_id required | string Authorization identifier to evaluate. |
ecosystem_did required | string Unique identifier of the governance framework. |
all required | boolean Whether to return a list of authorizations. |
time | string <date-time> ISO8601/RFC3339 timestamp for authorization status evaluation. Defaults to the current time if omitted. |
[ ]
Verifies if the specified ecosystem (egf_target
) is recognized under the given governance framework (egf_source
).
ecosystem_did required | string Unique identifier of the ecosystem being queried. |
egf_did required | string Unique identifier of the governance framework. Defaults to single egf_did of the Trust Registry itself. |
time | string <date-time> RFC3339 timestamp indicating when recognition is checked. Defaults to "now" on system being queried. |
{- "recognized": true,
- "message": "string",
- "egf_did": "string",
- "evaluated_at": "2019-08-24T14:15:22Z",
- "response_time": "2019-08-24T14:15:22Z",
- "expiry_time": "2019-08-24T14:15:22Z",
- "jws": "string"
}
Retrieves a collection of recognized ecosystems for a specified governance framework.
ecosystem_did required | string Unique identifier of the ecosystem being queried. |
egf_did | string Optional identifier of the governance framework to filter the response. All EGFs supported by the ecosystem will be used when not provided. |
time | string <date-time> RFC3339 timestamp indicating when recognition is checked. |
[- {
- "recognized": true,
- "message": "string",
- "egf_did": "string",
- "evaluated_at": "2019-08-24T14:15:22Z",
- "response_time": "2019-08-24T14:15:22Z",
- "expiry_time": "2019-08-24T14:15:22Z",
- "jws": "string"
}
]
Retrieves the supported assurance levels for the specified ecosystem.
ecosystem_did required | string Unique identifier of the ecosystem being queried. |
[- {
- "egf_did": "string",
- "assurance_level": "string",
- "description": "string"
}
]
Performs an authorization lookup based on the provided ecosystem identifier.
ecosystem_did required | string Ecosystem identifier. |
[- {
- "egf_did": "string",
- "recognized": true,
- "authorized": true,
- "message": "string",
- "evaluated_at": "2019-08-24T14:15:22Z",
- "response_time": "2019-08-24T14:15:22Z",
- "expiry_time": "2019-08-24T14:15:22Z",
- "jws": "string"
}
]
Retrieves the supported DID Methods. AYRA is opinionated here.
ecosystem_did required | string Unique identifier of the ecosystem being queried. |
[- [
- {
- "identifier": "string",
- "egf_did": "string",
- "maximumAssuranceLevel": {
- "identifier": [
- "did:example:123"
], - "name": [
- "LOA2"
], - "description": [
- "Level of Assurance 2 - see EGF for definition, terms, obligations,liabilities, and indemnity"
]
}
}
]
]