system
Read and the configuration anchor file and return the hash for a preview.
Changed onpost/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
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-streamfrom the request body - ○
added the media type
multipart/form-datato the request body
- ▲
- ▲
removed the media type
multipart/form-datafrom the request body - ○
added the media type
application/octet-streamto the request body
- ▲