Creating new Policy

Creates a new policy.

POST /policy

Creates a new policy by wizard. Only users with the Standard Registry role are allowed to make the request. security:

Request Body

Name
Type
Description

*

Object

Object that contains wizard configuration.

content:
            application/json:
              schema:
                type: object
                properties:
                  policyId:
                    type: string
                  wizardConfig:
                    $ref: "#/components/schemas/WizardConfig"

Creates a new policy. - Deprecated

POST /policy/push

Creates a new policy by wizard. Only users with the Standard Registry role are allowed to make the request.

Request Body

Name
Type
Description

*

Object

Object that contains wizard configuration.

content:
            application/json:
              schema:
                $ref: "#/components/schemas/Task"

Creates a new policy

POST /wizard/push/policy

Creates a new policy by wizard. Only users with the Standard Registry role are allowed to make the request.

Request Body

Name
Type
Description

saveState*

Boolean

policy name*

String

policy description*

String

topicDescription*

String

policyTag*

String

schemas name*

String

iri*

String

isApproveEnable*

Boolean

isMintSchema*

Boolean

mintOptions*

Object

dependencySchemaIri*

String

relationshipsSchemaIri*

String

initialRolesFor*

String

role*

String

isApprover*

Boolean

isCreator*

Boolean

field*

String

title*

String

role*

String

mintSchemaIri*

String

viewOnlyOwnDocuments*

Boolean

          content:
            application/json:
              schema:
                type: boolean