Skip to main content
European CommissionEBSI European Blockchain
Select the Environment you want to work withEnvironment:

Get a policy

Last updated on
GET 

/trusted-policies-registry/v2/policies/:policyName

Returns a trusted policy identified by its name.

Request

Path Parameters

    policyName stringrequired
    Example: TIR:insertIssuer

Responses

Success

Schema
    policyId string

    Unique policy ID

    description string

    policy description

    policyName string

    Name of the policy

    operationType string

    Possible values: [AND, OR]

    Type of the operation the policy performs ("AND", "OR")

    status boolean

    Status of the policy (false = inactive, true = active)

    policyConditions object[]

    List of policy conditions

  • Array [
  • name string

    Name of the condition

    attributeName string

    Name of the attribute to validate

    typeOfValue string

    Possible values: [UINT256, BYTES, ADDRESS, BYTES32, STRING, BOOLEAN]

    Expected attribute type. Valid types include: "UINT256", "BYTES", "ADDRESS", "BYTES32", "STRING", "BOOLEAN".

    attributeOperation string

    Possible values: [EQUAL]

    Operation to apply ("EQUAL" only)

    value object

    Value to compare the attribute to

    oneOf
    string
  • ]
Loading...