Skip to main content
Version: 8.6

Query decision definitions (alpha)

POST 

http://localhost:8080/v2/decision-definitions/search

Search for decision definitions based on given criteria.

note

This endpoint is an alpha feature and not enabled on Camunda clusters out of the box. See the Camunda 8 REST API overview for further details.

Request​

Body

    sort object[]
  • Array [
  • fieldstringrequired
    orderstring
    Default value: asc
  • ]
  • page object
    fromint32
    limitint32
    searchAfterobject[]
    searchBeforeobject[]
    filter objectdeprecated

    Base properties for DecisionDefinitionFilterRequest

    decisionDefinitionIdstring

    The DMN id of the decision definition.

    decisionDefinitionNamestring

    The DMN name of the decision definition.

    versionint32

    The assigned version of the decision definition.

    decisionRequirementsIdstring

    the DMN id of the decision requirements graph that the decision definition is part of.

    tenantIdstring

    The tenant id of the decision definition.

    decisionDefinitionKeyint64

    The assigned key, which acts as a unique identifier for this decision definition.

    decisionRequirementsKeyint64

    The assigned key of the decision requirements graph that the decision definition is part of.

Responses​

The Decision Definition Search successful response.

Schema
    page object
    totalItemsint64
    firstSortValuesobject[]
    lastSortValuesobject[]
    items object[]
  • Array [
  • decisionDefinitionIdstring

    The DMN id of the decision definition.

    decisionDefinitionNamestring

    The DMN name of the decision definition.

    versionint32

    The assigned version of the decision definition.

    decisionRequirementsIdstring

    the DMN id of the decision requirements graph that the decision definition is part of.

    tenantIdstring

    The tenant id of the decision definition.

    decisionDefinitionKeyint64

    The assigned key, which acts as a unique identifier for this decision definition.

    decisionRequirementsKeyint64

    The assigned key of the decision requirements graph that the decision definition is part of.

  • ]
curl -L 'http://localhost:8080/v2/decision-definitions/search' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"filter": {
"decisionDefinitionId": "string",
"decisionDefinitionName": "string",
"version": 0,
"decisionRequirementsId": "string",
"tenantId": "string",
"decisionDefinitionKey": 0,
"decisionRequirementsKey": 0
},
"sort": [
{
"field": "string",
"order": "asc"
}
],
"page": {
"from": 0,
"limit": 0,
"searchAfter": [
{}
],
"searchBefore": [
{}
]
}
}'
Request Collapse all
Base URL
http://localhost:8080/v2
Body
{
"filter": {
"decisionDefinitionId": "string",
"decisionDefinitionName": "string",
"version": 0,
"decisionRequirementsId": "string",
"tenantId": "string",
"decisionDefinitionKey": 0,
"decisionRequirementsKey": 0
},
"sort": [
{
"field": "string",
"order": "asc"
}
],
"page": {
"from": 0,
"limit": 0,
"searchAfter": [
{}
],
"searchBefore": [
{}
]
}
}