Find perspective
This endpoint allows you to find perspective by iri.
Endpoint: /api/v1/perspectives/iri/{iri}
Method: GET
Path Parameters
iri: Iri of the perspective.
Responses
200 (OK) The request was successful.
Body:
{
"message": "string",
"timestamp": "2024-05-21T13:21:03.055Z",
"data": {
"name": "string",
"iri": "string",
"version": "string",
"lastVersion": true,
"status": "enum",
"gatekeepers": [
{
"handler": "string"
}
],
"couriers": [
{
"handler": "string"
}
],
"repositories": [
{
"name": "string",
"artifact": "string"
}
],
"indices": [
{
"name": "string",
"handler": "string"
}
],
"metadata": [
{
"key": "string",
"type": "enum",
"groupName": "string",
"population": [
{
"name": "string",
"value": "object"
}
]
}
]
},
"version": "string"
}
401 (Unauthorized) This response is returned if the request is not authorized.
Body:
{
"message": "Unauthorized request",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": "string",
"version": "string"
}
404 (Not Found) This response is returned if the required resources are not found.
Body:
{
"message": "Not Found",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": "string",
"version": "string"
}
412 (Precondition Failed) This response is returned if a precondition is not met.
Body:
{
"message": "Precondition failed",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}
},
"version": "string"
}
500 (Internal Server Error) This response is returned if an unexpected internal server error occurs.
Body:
{
"message": "Internal Server Error",
"timestamp": "2023-09-28T15:37:14.223Z",
"data": "string",
"version": "string"
}