trusted-anchors

CS administrator uploads a new additional trusted anchor

Changed on
<h3>Administrator uploads a new additional trusted anchor.</h3>
post/trusted-anchors

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
  • Auth: API key in header Authorization

Response

the new trusted anchor resource

instance_identifierstring text required

instance identifier

generated_atstring date-time

timestamp

hashstring hash required

anchor hash

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-stream from the request body

    • ○

      added the media type multipart/form-data to the request body