Importing Policy from a Zip file with Metadata
Imports new policy and all associated artifacts, such as schemas and VCs, from the provided zip file into the local DB. Only users with the Standard Registry role are allowed to make the request.
Authorizations
Query parameters
versionOfTopicIdstringRequired
Topic Id
Body
policyFilestring Β· binaryOptional
metadatastring Β· binaryOptional
Responses
200
Successful operation.
application/json
Responseobject
401
Unauthorized
403
Forbidden.
500
Internal server error.
application/json
post
POST /api/v1/policies/push/import/file-metadata?versionOfTopicId=text HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 43
{
"policyFile": "binary",
"metadata": "binary"
}
{}
Last updated