๐งช API Reference
This page includes all of the API endpoints available in Port.
Here you can learn how to interact with different Port components: blueprints, entities, relations, actions and more
Port API (1.0)
Download OpenAPI specification:Download
/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}/permissions
Authorizations:
bearer
path Parameters
action_identifier required | string |
blueprint_identifier required | string |
Request Body schema: application/json
object | |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "execute": {
- "users": [
- "string"
], - "roles": [
- "string"
], - "teams": [
- "string"
], - "ownedByTeam": true
}, - "approve": {
- "users": [
- "string"
], - "roles": [
- "string"
]
}
}
/v1/blueprints/{blueprint_identifier}/actions
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
Request Body schema: application/json
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string |
icon | string |
description | string |
trigger required | string Enum: "CREATE" "DELETE" "DAY-2" |
requiredApproval | boolean |
required | object or object or object or object |
required | object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "icon": "string",
- "description": "string",
- "trigger": "CREATE",
- "requiredApproval": true,
- "invocationMethod": {
- "type": "GITHUB",
- "org": "string",
- "repo": "string",
- "workflow": "string",
- "omitPayload": true,
- "omitUserInputs": true,
- "reportWorkflowStatus": true
}, - "userInputs": {
- "properties": {
- "property1": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}, - "property2": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}
}, - "required": [
- "string"
]
}
}
/v1/blueprints/{blueprint_identifier}/actions
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
Request Body schema: application/json
Array
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string |
icon | string |
description | string |
trigger required | string Enum: "CREATE" "DELETE" "DAY-2" |
requiredApproval | boolean |
required | object or object or object or object |
required | object |
id | string |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "identifier": "string",
- "title": "string",
- "icon": "string",
- "description": "string",
- "trigger": "CREATE",
- "requiredApproval": true,
- "invocationMethod": {
- "type": "GITHUB",
- "org": "string",
- "repo": "string",
- "workflow": "string",
- "omitPayload": true,
- "omitUserInputs": true,
- "reportWorkflowStatus": true
}, - "userInputs": {
- "properties": {
- "property1": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}, - "property2": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}
}, - "required": [
- "string"
]
}, - "id": "string"
}
]
/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}
Authorizations:
bearer
path Parameters
action_identifier required | string |
blueprint_identifier required | string |
Request Body schema: application/json
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string |
icon | string |
description | string |
trigger required | string Enum: "CREATE" "DELETE" "DAY-2" |
requiredApproval | boolean |
required | object or object or object or object |
required | object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "icon": "string",
- "description": "string",
- "trigger": "CREATE",
- "requiredApproval": true,
- "invocationMethod": {
- "type": "GITHUB",
- "org": "string",
- "repo": "string",
- "workflow": "string",
- "omitPayload": true,
- "omitUserInputs": true,
- "reportWorkflowStatus": true
}, - "userInputs": {
- "properties": {
- "property1": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}, - "property2": {
- "type": "string",
- "format": "date-time",
- "blueprint": "string",
- "icon": "string"
}
}, - "required": [
- "string"
]
}
}
/v1/blueprints/{blueprint_identifier}/permissions
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
Request Body schema: application/json
object | |
additionalProperties | any |
Responses
Request samples
- Payload
Content type
application/json
{- "entities": {
- "register": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}, - "update": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}, - "unregister": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}, - "updateProperties": {
- "property1": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}, - "property2": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}
}, - "updateRelations": {
- "property1": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}, - "property2": {
- "users": [
- "string"
], - "teams": [
- "string"
], - "roles": [
- "string"
], - "ownedByTeam": true
}
}
}, - "additionalProperties": null
}
/v1/blueprints
Authorizations:
bearer
Request Body schema: application/json
identifier required | string <= 30 characters ^[A-Za-z0-9@_\\.\\=-]*$ |
title required | string <= 30 characters |
description | string <= 200 characters |
icon | string |
object | |
required | object |
object Default: {} | |
object | |
object | |
object or object | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "teamInheritance": {
- "path": "string"
}, - "schema": {
- "properties": {
- "property1": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "embedded-url",
- "specAuthentication": {
- "clientId": "string",
- "authorizationUrl": "string",
- "tokenUrl": "string"
}
}, - "property2": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "embedded-url",
- "specAuthentication": {
- "clientId": "string",
- "authorizationUrl": "string",
- "tokenUrl": "string"
}
}
}, - "required": [
- "string"
]
}, - "calculationProperties": { },
- "mirrorProperties": {
- "property1": {
- "path": "string",
- "title": "string"
}, - "property2": {
- "path": "string",
- "title": "string"
}
}, - "relations": {
- "property1": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}, - "property2": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}
},
}
/v1/blueprints/{identifier}
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
identifier | string <= 30 characters ^[A-Za-z0-9@_\\.\\=-]*$ |
title required | string <= 30 characters |
description | string <= 200 characters |
icon | string |
object | |
required | object |
object Default: {} | |
object | |
object | |
object or object | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "teamInheritance": {
- "path": "string"
}, - "schema": {
- "properties": {
- "property1": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "embedded-url",
- "specAuthentication": {
- "clientId": "string",
- "authorizationUrl": "string",
- "tokenUrl": "string"
}
}, - "property2": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "embedded-url",
- "specAuthentication": {
- "clientId": "string",
- "authorizationUrl": "string",
- "tokenUrl": "string"
}
}
}, - "required": [
- "string"
]
}, - "calculationProperties": { },
- "mirrorProperties": {
- "property1": {
- "path": "string",
- "title": "string"
}, - "property2": {
- "path": "string",
- "title": "string"
}
}, - "relations": {
- "property1": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}, - "property2": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}
},
}
/v1/blueprints/{identifier}
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
identifier | string <= 30 characters ^[A-Za-z0-9@_\\.\\=-]*$ |
title | string <= 30 characters |
description | string <= 200 characters |
icon | string |
object | |
object | |
object Default: {} | |
object | |
object | |
object or object | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "teamInheritance": {
- "path": "string"
}, - "schema": {
- "properties": {
- "property1": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "open-api"
}, - "property2": {
- "title": "string",
- "description": "string",
- "icon": "string",
- "type": "string",
- "format": "date-time",
- "spec": "open-api"
}
}, - "required": [
- "string"
]
}, - "calculationProperties": { },
- "mirrorProperties": {
- "property1": {
- "path": "string",
- "title": "string"
}, - "property2": {
- "path": "string",
- "title": "string"
}
}, - "relations": {
- "property1": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}, - "property2": {
- "title": "string",
- "target": "string",
- "required": false,
- "many": false,
- "description": "string"
}
},
}
/v1/blueprints/{identifier}/properties/{property_name}/rename
Authorizations:
bearer
path Parameters
identifier required | string |
property_name required | string |
Request Body schema: application/json
newPropertyName | string |
Responses
Request samples
- Payload
Content type
application/json
{- "newPropertyName": "string"
}
/v1/blueprints/{identifier}/relations/{relation_identifier}/rename
Authorizations:
bearer
path Parameters
identifier required | string |
relation_identifier required | string |
Request Body schema: application/json
newRelationIdentifier | string |
Responses
Request samples
- Payload
Content type
application/json
{- "newRelationIdentifier": "string"
}
/v1/pages/{page_identifier}/permissions
Authorizations:
bearer
path Parameters
page_identifier required | string |
Request Body schema: application/json
object | |||||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "read": {
- "users": [
- "string"
], - "roles": [
- "string"
], - "teams": [
- "string"
]
}
}
/v1/pages
Authorizations:
bearer
Request Body schema: application/json
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
blueprint required | string |
title | string |
icon | string |
showInSidebar | boolean Default: true |
section | string Default: "software_catalog" Enum: "software_catalog" "organization" |
locked | boolean |
requiredQueryParams | Array of strings |
Array of objects or objects or objects or objects or objects or objects or objects or objects or objects or objects or objects or /schemas/grouperWidget (object) or objects non-empty |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "blueprint": "string",
- "title": "string",
- "icon": "string",
- "showInSidebar": true,
- "section": "software_catalog",
- "locked": true,
- "requiredQueryParams": [
- "string"
], - "widgets": [
- {
- "type": "entity-info",
- "title": "string",
- "entity": "string",
- "hiddenQuery": [
- "string"
], - "blueprint": "string"
}
]
}
/v1/pages/{identifier}
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
locked required | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "locked": true
}
Response samples
- 200
Content type
application/json
{- "ok": true,
- "identifier": "string"
}
/v1/auth/access_token
Request Body schema: application/json
clientId required | string |
clientSecret required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "clientId": "string",
- "clientSecret": "string"
}
Response samples
- 200
Content type
application/json
{- "ok": true,
- "accessToken": "string",
- "expiresIn": 0,
- "tokenType": "string"
}
/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}/actions/{action_identifier}/runs
Authorizations:
bearer
path Parameters
action_identifier required | string |
blueprint_identifier required | string |
entity_identifier required | string |
query Parameters
run_id | string |
Request Body schema: application/json
properties required | object |
Responses
Request samples
- Payload
Content type
application/json
{- "properties": { }
}
/v1/blueprints/{blueprint_identifier}/actions/{action_identifier}/runs
Authorizations:
bearer
path Parameters
action_identifier required | string |
blueprint_identifier required | string |
query Parameters
run_id | string |
Request Body schema: application/json
properties required | object |
Responses
Request samples
- Payload
Content type
application/json
{- "properties": { }
}
/v1/actions/runs/{run_id}
Authorizations:
bearer
path Parameters
run_id required | string |
Request Body schema: application/json
status | string Enum: "SUCCESS" "FAILURE" |
string or Array of strings | |
message | object Deprecated |
summary | string |
externalRunId | string |
Responses
Request samples
- Payload
Content type
application/json
{- "status": "SUCCESS",
- "link": "string",
- "message": { },
- "summary": "string",
- "externalRunId": "string"
}
/v1/actions/runs/{run_id}/approval
Authorizations:
bearer
path Parameters
run_id required | string |
Request Body schema: application/json
status required | string Enum: "APPROVE" "DECLINE" |
description | string |
Responses
Request samples
- Payload
Content type
application/json
{- "status": "APPROVE",
- "description": "string"
}
/v1/actions/runs/{run_id}/logs
Authorizations:
bearer
path Parameters
run_id required | string |
Request Body schema: application/json
terminationStatus | string Enum: "SUCCESS" "FAILURE" |
message required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "terminationStatus": "SUCCESS",
- "message": "string"
}
/v1/blueprints/{blueprint_identifier}/entities
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
query Parameters
upsert required | boolean Default: false |
validation_only | boolean Default: false |
merge | boolean Default: false |
run_id | string |
Request Body schema: application/json
identifier | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string |
icon | string |
string or Array of strings | |
properties required | object |
object | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": {
- "property1": "string",
- "property2": "string"
}
}
/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}
Authorizations:
bearer
path Parameters
entity_identifier required | string |
blueprint_identifier required | string |
query Parameters
run_id | string |
Request Body schema: application/json
identifier | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string or null |
icon | string or null |
(string or null) or Array of strings | |
properties | object |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": {
- "property1": "string",
- "property2": "string"
}
}
/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}
Authorizations:
bearer
path Parameters
entity_identifier required | string |
blueprint_identifier required | string |
query Parameters
run_id | string |
Request Body schema: application/json
identifier | string^[A-Za-z0-9@_\\.\\=-]*$ |
title | string |
icon | string |
string or Array of strings | |
properties required | object |
object | |
property name* additional property | any |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": {
- "property1": "string",
- "property2": "string"
}
}
/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}
Authorizations:
bearer
path Parameters
entity_identifier required | string |
blueprint_identifier required | string |
query Parameters
exclude_calculated_properties | boolean Default: false |
include | Array of strings |
attach_title_to_relation | boolean Default: false |
Responses
/v1/blueprints/{blueprint_identifier}/entities/{entity_identifier}
Authorizations:
bearer
path Parameters
entity_identifier required | string |
blueprint_identifier required | string |
query Parameters
delete_dependents required | boolean Default: false |
run_id | string |
Responses
Response samples
- 200
Content type
application/json
{- "ok": true
}
/v1/entities/search
Authorizations:
bearer
query Parameters
exclude_calculated_properties | boolean Default: false |
include | Array of strings |
attach_title_to_relation | boolean Default: false |
Request Body schema: application/json
combinator required | any Enum: "and" "or" |
required | Array of objects or objects or objects or objects or objects or any |
Responses
Request samples
- Payload
Content type
application/json
{- "combinator": "and",
- "rules": [
- {
- "property": "string",
- "operator": ">",
- "value": 0
}
]
}
/v1/organization
Authorizations:
bearer
Request Body schema: application/json
name required | string |
defaultPage required | string |
pageOrder required | Array of strings |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "defaultPage": "string",
- "pageOrder": [
- "string"
]
}
Response samples
- 200
Content type
application/json
{- "ok": true
}
/v1/organization
Authorizations:
bearer
Request Body schema: application/json
name required | string [ 3 .. 30 ] characters ^[A-Za-z0-9-]*$ |
phoneNumber required | string [ 3 .. 30 ] characters ^(\+|00)[1-9][0-9 \-\\(\\)\\.]{7,32}$ |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "phoneNumber": "string"
}
/v1/integration/{identifier}/config
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
required | object or null | ||||||||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "config": {
- "resources": [
- {
- "kind": "string",
- "selector": {
- "query": "string"
}, - "port": {
- "entity": {
- "mappings": {
- "identifier": "string",
- "title": "string",
- "blueprint": "string",
- "properties": { },
- "relations": { }
}
}
}
}
]
}
}
/v1/webhooks
Authorizations:
bearer
Request Body schema: application/json
identifier | string <= 30 characters |
title required | string <= 30 characters |
description | string <= 200 characters |
icon | string |
Array of objects | |
enabled required | boolean Default: true |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "mappings": [
- {
- "blueprint": "string",
- "filter": "string",
- "entity": {
- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": { }
}
}
], - "enabled": true,
- "security": {
- "secret": "string",
- "signatureHeaderName": "string",
- "signatureAlgorithem": "sha1",
- "signaturePrefix": "string",
- "requestIdentifierPath": "string"
}
}
/v1/webhooks/{identifier}
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
identifier | string <= 30 characters |
title | string <= 30 characters |
description | string <= 200 characters |
icon | string |
Array of objects | |
enabled | boolean Default: true |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "mappings": [
- {
- "blueprint": "string",
- "filter": "string",
- "entity": {
- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": { }
}
}
], - "enabled": true,
- "security": {
- "secret": "string",
- "signatureHeaderName": "string",
- "signatureAlgorithem": "sha1",
- "signaturePrefix": "string",
- "requestIdentifierPath": "string"
}
}
/v1/webhooks/{identifier}
Authorizations:
bearer
path Parameters
identifier required | string |
Request Body schema: application/json
identifier | string <= 30 characters |
title required | string <= 30 characters |
description | string <= 200 characters |
icon | string |
Array of objects | |
enabled required | boolean Default: true |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "description": "string",
- "icon": "string",
- "mappings": [
- {
- "blueprint": "string",
- "filter": "string",
- "entity": {
- "identifier": "string",
- "title": "string",
- "icon": "string",
- "team": "string",
- "properties": { },
- "relations": { }
}
}
], - "enabled": true,
- "security": {
- "secret": "string",
- "signatureHeaderName": "string",
- "signatureAlgorithem": "sha1",
- "signaturePrefix": "string",
- "requestIdentifierPath": "string"
}
}
/v1/audit-log
Authorizations:
bearer
query Parameters
identifier | string |
entity | string |
blueprint | string |
run_id | string |
webhookId | string |
webhookEventId | string |
Array of any or string | |
includes | Array of any Items Enum: "action" "context" "diff" "identifier" "resourceType" "status" "trigger" "additionalData" "message" |
from | string <date-time> ISO format IE 2022-04-23T18:25:43.511Z |
to | string <date-time> ISO format 2022-04-23T18:25:43.511Z |
action | string |
status | string Enum: "SUCCESS" "FAILURE" "TRIGGERED" |
limit | number |
Responses
/v1/users
Authorizations:
bearer
query Parameters
fields | Array of strings Items Enum: "id" "email" "firstName" "lastName" "phoneNumber" "picture" "status" "providers" "createdAt" "updatedAt" "teams.name" "teams.provider" "teams.createdAt" "teams.updatedAt" "roles.name" "roles.description" "roles.isAdmin" "roles.protected" "roles.createdAt" "roles.updatedAt" |
Responses
/v1/users/invite
Authorizations:
bearer
Request Body schema: application/json
required | object | ||||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "invitee": {
- "email": "string",
- "roles": [
- "string"
], - "teams": [
- "string"
]
}
}
/v1/blueprints/{blueprint_identifier}/scorecards
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
Request Body schema: application/json
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title required | string |
object | |
required | Array of objects |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "filter": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}, - "rules": [
- {
- "identifier": "string",
- "title": "string",
- "level": "Gold",
- "query": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}
}
]
}
/v1/blueprints/{blueprint_identifier}/scorecards
Authorizations:
bearer
path Parameters
blueprint_identifier required | string |
Request Body schema: application/json
Array
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title required | string |
object | |
required | Array of objects |
id | string |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "identifier": "string",
- "title": "string",
- "filter": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}, - "rules": [
- {
- "identifier": "string",
- "title": "string",
- "level": "Gold",
- "query": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}
}
], - "id": "string"
}
]
/v1/blueprints/{blueprint_identifier}/scorecards/{scorecard_identifier}
Authorizations:
bearer
path Parameters
scorecard_identifier required | string |
blueprint_identifier required | string |
Request Body schema: application/json
identifier required | string^[A-Za-z0-9@_\\.\\=-]*$ |
title required | string |
object | |
required | Array of objects |
Responses
Request samples
- Payload
Content type
application/json
{- "identifier": "string",
- "title": "string",
- "filter": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}, - "rules": [
- {
- "identifier": "string",
- "title": "string",
- "level": "Gold",
- "query": {
- "combinator": "and",
- "conditions": [
- {
- "property": "string",
- "operator": "=",
- "value": "string"
}
]
}
}
]
}