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.
entity_id required | string Unique identifier of the TRUST REGISTRY (identified by DID) that is the subject of the query. This is the "other trust registry" in the "Does your ecosystem recognized this other trust registry as assertion_id?". |
authority_id required | string Unique identifier of the ECOSYSTEM (identified by DID) that is being queried. This is the "your ecosystem" in the "Does your ecosystem recognize this other trust registry as assertion_id?". |
assertion_id required | string The assertion_id that is being tested against.
This is the |
object A flexible context object that can hold arbitrary key-value pairs.
|
{- "entity_id": "string",
- "authority_id": "string",
- "assertion_id": "string",
- "context": {
- "time": "2019-08-24T14:15:22Z",
- "property1": "string",
- "property2": "string"
}
}
{- "entity_id": "string",
- "authority_id": "string",
- "assertion_id": "string",
- "recognized": true,
- "time_requested": "2019-08-24T14:15:22Z",
- "time_evaluated": "2019-08-24T14:15:22Z",
- "message": "string",
- "context": {
- "time": "2019-08-24T14:15:22Z",
- "property1": "string",
- "property2": "string"
}
}
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"
]
}
Retrieves a collection of authorizations that this entity has, according to the ecosystem queried.
ecosystem_did required | string Unique identifier of the ecosystem being queried. |
time | string <date-time> RFC3339 timestamp indicating when recognition is checked. |
[- {
- "entity_did": "string",
- "ecosystem_did": "string",
- "egf_did": "string",
- "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 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. |
[- {
- "ecosystem_did": "string",
- "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. |
[- {
- "entity_did": "string",
- "ecosystem_did": "string",
- "egf_did": "string",
- "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"
]
}
}
]
]