system

Read and the configuration anchor file and return the hash for a preview.

Changed on
<h3>Administrator wants to preview a configuration anchor file hash.</h3> <p>The instance of the anchor is also validated unless the <code>validate_instance</code> query parameter is explicitly set to false. The anchor will not be saved.</p>
post/system/anchor/previews

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/system/anchor/previews
  • Auth: API key in header Authorization

Query parameters

validate_instanceboolean

Whether or not to validate the owner instance of the anchor. Set this to false explicitly when previewing an anchor in the security server initialization phase. Default value is true if the parameter is omitted.

Response

configuration anchor uploaded

hashstring hash required

anchor hash

created_atstring date-time required

anchor created at

Example response

{
  "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",
  "created_at": "2018-12-15T00:00:00.001Z"
}

Changes

    • ▲

      removed the media type application/octet-stream from the request body

    • ○

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

    • ▲

      removed the media type multipart/form-data from the request body

    • ○

      added the media type application/octet-stream to the request body