GET
/
trustpoints
/
{type}
/
{id}
curl --request GET \
  --url https://lab.trustos.telefonicatech.com/cert/v2/trustpoints/{type}/{id} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 200,
  "message": "Trustpoint found",
  "data": {
    "trustpointHash": "a2ac9343a3d94e41bbc5c152fb8382c5233a47cee23cf765c7e6d67d9e61a142",
    "trustpointType": "Evidence"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

type
enum<string>
required

Type of the certificate identifier.

Available options:
certID,
externalId,
fileHash,
hash
id
string
required

Identifier of the certificate.

Example:

"did:local:certid:123124"

Query Parameters

timestamp
number
required

Timestamp of the trustpoint.

Example:

1234567890

networkId
string
required

Network identifier where the trustpoint was registered.

Example:

10004

Response

200
application/json

Successful trustpoint retrieval.

The response is of type object.