Importing a Policy from file

Imports new policy and all associated artifacts, such as schemas and VCs, from the provided zip file into the local DB.

POST /policies/push/import/file

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.

Request Body

NameTypeDescription

*

String

A zip file that contains the policy and associated schemas and VCs to be imported.

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
}

Last updated