Ga naar inhoud

Which service this is

GET
/api/v1/self
curl --request GET \
--url https://example.com/api/v1/self

Name, DID, version and environment of the authority. Public: bl uses it to recognise an authority.

  • None

OK.

Media typeapplication/json

GET /api/v1/self: documents the JSON built in [self_info].

object
name
required
string
did
required
string
version
required

The version of the software.

string
dataspace
required

The id of the dataspace this authority serves.

string
environment
required

production, acceptance, test, development or tck (decisions #39).

string
relaxations
required

Unsafe settings that are active in this environment.

Array<object>
object
simulation
required

Links of a simulation, if this is one.

Array<object>
object
simulation_tools
required
Array<object>
object
witness

The did:key of the authority’s witness key (did:webvh).

string | null

Example generated

{
"name": "example",
"did": "example",
"version": "example",
"dataspace": "example",
"environment": "example",
"relaxations": [
{}
],
"simulation": [
{}
],
"simulation_tools": [
{}
],
"witness": "example"
}