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
*
Object
Object that contains wizard configuration.
content:
application/json:
schema:
type: object
properties:
policyId:
type: string
wizardConfig:
$ref: "#/components/schemas/WizardConfig"content:
application/json:
schema:
$ref: "#/components/schemas/Error"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
*
Object
Object that contains wizard configuration.
content:
application/json:
schema:
$ref: "#/components/schemas/Task"content:
application/json:
schema:
$ref: "#/components/schemas/Error"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
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: booleancontent:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorDTO'