GET/timestamp/v3/hash-algorithms/:hashAlgorithmId
Returns a hash algorithm identified by its ID.
Request
Path Parameters
Responses
- 200
- 400
- 404
- 500
Success
- application/json
- Schema
- Success
Schema
Hash algorithm output length in bits. 0 if the output length if variable.
Hash algorithm IANA name.
Object identifier.
Status of the algorithm (active, revoked).
Multihash name
{
"outputLengthBits": 256,
"ianaName": "sha-256",
"oid": "2.16.840.1.101.3.4.2.1",
"status": "active",
"multihash": "sha2-256"
}
Bad Request
- application/problem+json
- Schema
- Invalid {hashAlgorithmId} 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.
{
"title": "Bad Request",
"status": 400,
"detail": "The format of {hashAlgorithmId} parameter is not valid"
}
Not found
- application/problem+json
- Schema
- Hash algorithm 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.
{
"title": "Not found",
"status": 404,
"detail": "Not found"
}
Internal Server Error
- application/json
- 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.
{
"title": "Internal error",
"status": 500,
"detail": "Internal error"
}