trusted-anchors
CS administrator uploads a trusted anchor file for preview
Changed onpost/trusted-anchors/preview
Request
- Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/trusted-anchors/preview
- Auth: API key in header Authorization
Response
the trusted anchor
Example response
{
"instance_identifier": "CS",
"generated_at": "2023-03-17T00:00:00.001Z",
"hash": "42:34:C3:22:55:42:34:C3:22:55:42:34:C3:22:55:42:34:C3:22:55:42:34:C3:22:55:42:34:C3"
}Changes
- ▲
removed the media type
application/octet-streamfrom the request body - ○
added the media type
multipart/form-datato the request body
- ▲