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

This API is being released as part of an upcoming version.

The upcoming version is not backward compatible with the current stable version. You can find the details of the upcoming release and affected endpoints in the change log. Please contact eu-ebsi@ec.europa.eu if this upcoming release might cause a high impact on either an ongoing development or a piloting demonstration.

Get a policy

Last updated on
GET 

/trusted-policies-registry/v3/policies/:policyName

Returns a trusted policy identified by its name.

Request

Path Parameters

    policyName stringrequired
    Example: TSR:insertSchema

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...