GET/trusted-policies-registry/v2/users/:address
Returns a user identified by its address.
Request
Path Parameters
- address
Description: Valid Pilot address
Example: 0x69e48d89bf5e09588E858D757323b4abBBB3f814
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
- Success
Schema
User address
Set of attributes and values
{
"address": "string",
"attributes": {}
}
{
"address": "0x69e48d89bf5e09588E858D757323b4abBBB3f814",
"attributes": {
"TIR:insertIssuer": "0x0000000000000000000000000000000000000000000000000000000000000001",
"TIR:updateIssuer": "0x0000000000000000000000000000000000000000000000000000000000000001"
}
}
Bad Request
- application/problem+json
- Schema
- Example (from schema)
- Invalid {policyId} Parameter
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {policyId} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- Example (from schema)
- Policy Not Found
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Error
- application/problem+json
- Schema
- Example (from schema)
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Internal Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to process your request."
}