Skip to content
Bpanda
English
Esc
↑↓navigate↵open⌘Jpreview

Publish all elements matching a query.

Publish all elements matching a query. Publishes all architecture elements matching the query in the body. BusinessProcess elements are excluded automatically. listMode “blacklist” (the default) excludes the provided element IDs, “whitelist” publishes only those IDs. The ids in elementIds are logical ElementIds (the elementId an element keeps across all its versions), not the instance id of one version. The query’s publicationStatus has no effect - publishing always works on drafts.

Security: Manager or Designer of the process space.

POST/v1/warehouses/{warehouseId}/architectureElements/publishFiltered
Authorization
AuthorizationBearer token (JWT) · headerrequired
BpmLicenseAPI key · headerrequired
Path parameters
warehouseIdstringrequired

Warehouse-Id

Request body
requiredapplication/json

The query deciding the set, the element list narrowing it, and how that list acts

elementIdsstring[]
listModeListMode
Allowed:BlacklistWhitelist
queryArchitectureElementQuery
Show properties
conceptualClassModeListMode
Allowed:BlacklistWhitelist
conceptualClassesArchitectureElementType[]
createdAfterstring<date-time>
createdBeforestring<date-time>
elementIdsToIgnorestring[]
filterstring
filterByArchitectureFilter
Allowed:createdelementIdidlayermodifiedname
idsToIgnorestring[]
includeDeactivatedboolean
includeInvalidboolean
layerModeListMode
Allowed:BlacklistWhitelist
layersArchitectureElementLayer[]
manifestModeListMode
Allowed:BlacklistWhitelist
onlyOwnedboolean
orderArchitectureSortingOrder[]
publicationStatusPublicationStatus
Allowed:DraftPublished
sortByArchitectureSorting[]
Responses
200

successfulElements and failedElements with error message

failedElementsArchitecturePublishFail[]required
Show properties
Array of ArchitecturePublishFail
elementArchitectureElementrequired
Show properties
conceptualClassArchitectureElementTyperequired
Allowed:ApplicationCollaborationApplicationComponentApplicationEventApplicationFunctionApplicationInteractionApplicationInterfaceApplicationProcessApplicationServiceArchitectureElementArtifactAssessmentBusinessActorBusinessCollaborationBusinessEventBusinessFunctionBusinessInteractionBusinessInterfaceBusinessObjectBusinessProcessBusinessRoleBusinessServiceCapabilityCommunicationNetworkCommunicationPathConstraintContractCourseOfActionDataObjectDeliverableDeviceDistributionNetworkDriverEquipmentFacilityGapGoalGroupingImplementationEventLocationMaterialMeaningNodeOutcomePlateauPrincipleProductRepresentationRequirementResourceStakeholderSystemSoftwareTechnologyCollaborationTechnologyEventTechnologyFunctionTechnologyInteractionTechnologyInterfaceTechnologyProcessTechnologyServiceValueValueStreamWorkPackage
createdHistoryrequired
elementIdstringrequired
groupsArchitectureGroup[]required
hasPredecessorbooleanrequired
idstringrequired
lastValidationHistory
layerArchitectureElementLayerrequired
Allowed:ApplicationLayerBusinessLayerGenericLayerImplementationAndMigrationLayerMotivationElementsStrategyLayerTechnologyLayer
modifiedHistory
ownersEntityId[]required
principalIsOwnerbooleanrequired
propertiesArchitectureProperty[]required
publishedHistory
referencesArchitectureReference[]required
representationRefId
specializationstring
validityStateArchitectureValidityStaterequired
Allowed:DraftInvalidNextUpcomingValid
visibilityVisibilityrequired
messagestringrequired
successfulElementsArchitectureElement[]required
Show properties
Array of ArchitectureElement
conceptualClassArchitectureElementTyperequired
Allowed:ApplicationCollaborationApplicationComponentApplicationEventApplicationFunctionApplicationInteractionApplicationInterfaceApplicationProcessApplicationServiceArchitectureElementArtifactAssessmentBusinessActorBusinessCollaborationBusinessEventBusinessFunctionBusinessInteractionBusinessInterfaceBusinessObjectBusinessProcessBusinessRoleBusinessServiceCapabilityCommunicationNetworkCommunicationPathConstraintContractCourseOfActionDataObjectDeliverableDeviceDistributionNetworkDriverEquipmentFacilityGapGoalGroupingImplementationEventLocationMaterialMeaningNodeOutcomePlateauPrincipleProductRepresentationRequirementResourceStakeholderSystemSoftwareTechnologyCollaborationTechnologyEventTechnologyFunctionTechnologyInteractionTechnologyInterfaceTechnologyProcessTechnologyServiceValueValueStreamWorkPackage
createdHistoryrequired
Show properties
atstringrequired
bystringrequired
elementIdstringrequired
groupsArchitectureGroup[]required
Show properties
Array of ArchitectureGroup
corebooleanrequired
descriptionTranslatedString
Show properties
defaultLanguagestringrequired
translationsTranslation[]required
Show properties
Array of Translation
languagestringrequired
valuestringrequired
keystringrequired
labelTranslatedString
hasPredecessorbooleanrequired
idstringrequired
lastValidationHistory
Show properties
atstringrequired
bystringrequired
layerArchitectureElementLayerrequired
Allowed:ApplicationLayerBusinessLayerGenericLayerImplementationAndMigrationLayerMotivationElementsStrategyLayerTechnologyLayer
modifiedHistory
Show properties
atstringrequired
bystringrequired
ownersEntityId[]required
Show properties
Array of EntityId
typeEntityIdTyperequired
Allowed:GroupIdOrgRoleIdOrgUnitIdUserId
valuestringrequired
principalIsOwnerbooleanrequired
propertiesArchitectureProperty[]required
Show properties
Array of ArchitectureProperty
metaArchitectureMetaPropertyrequired
Show properties
corebooleanrequired
descriptionTranslatedString
groupstring
keystringrequired
labelTranslatedString
typeArchitecturePropertyTyperequired
Allowed:BBCodeBooleanDateDateTimeDecimalEnumIntegerStringTime
validationArchitecturePropertyValidation
Show properties
literalsTranslatedString[]
lowerBoundstring
mandatorybooleanrequired
upperBoundstring
valueTranslatedString
publishedHistory
Show properties
atstringrequired
bystringrequired
referencesArchitectureReference[]required
Show properties
Array of ArchitectureReference
metaArchitectureMetaReferencerequired
Show properties
corebooleanrequired
descriptionTranslatedString
groupstring
keystringrequired
labelTranslatedString
multiplicityArchitectureReferenceMultiplicityrequired
Allowed:ExactlyOneOneOrMoreZeroOrMoreZeroOrOne
targetClassesstring[]required
targetReference
Show properties
assignedArchitectureElementRefsArchitectureElementRef[]required
Show properties
Array of ArchitectureElementRef
conceptualClassArchitectureElementTyperequired
Allowed:ApplicationCollaborationApplicationComponentApplicationEventApplicationFunctionApplicationInteractionApplicationInterfaceApplicationProcessApplicationServiceArchitectureElementArtifactAssessmentBusinessActorBusinessCollaborationBusinessEventBusinessFunctionBusinessInteractionBusinessInterfaceBusinessObjectBusinessProcessBusinessRoleBusinessServiceCapabilityCommunicationNetworkCommunicationPathConstraintContractCourseOfActionDataObjectDeliverableDeviceDistributionNetworkDriverEquipmentFacilityGapGoalGroupingImplementationEventLocationMaterialMeaningNodeOutcomePlateauPrincipleProductRepresentationRequirementResourceStakeholderSystemSoftwareTechnologyCollaborationTechnologyEventTechnologyFunctionTechnologyInteractionTechnologyInterfaceTechnologyProcessTechnologyServiceValueValueStreamWorkPackage
elementIdstringrequired
referenceDirectionReferenceDirectionrequired
Allowed:BidirectionalNoneSourceTarget
referenceKindReferenceKindrequired
Allowed:AccessAggregationArchitectureReferenceAssignmentAssociationCompositionFlowInfluenceRealizationServingSpecializationTriggering
specializationstring
createdHistoryrequired
linkedElementsRefId[]required
modifiedHistory
propertiesArchitectureProperty[]required
relationshipIdstringrequired
representationRefId
Show properties
typestringrequired
specializationstring
validityStateArchitectureValidityStaterequired
Allowed:DraftInvalidNextUpcomingValid
visibilityVisibilityrequired
Show properties
lastChangeHistoryrequired
visiblebooleanrequired
403

Forbidden: insufficient permissions

string
404

Warehouse not found

string
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://publicapi.goto.bpanda.com/bpm/api/v1/warehouses/string/architectureElements/publishFiltered' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'BpmLicense: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "elementIds": [
    "string"
  ],
  "listMode": "Blacklist",
  "query": {
    "conceptualClassMode": "Blacklist",
    "conceptualClasses": [
      "ApplicationCollaboration"
    ],
    "createdAfter": "2019-08-24T14:15:22Z",
    "createdBefore": "2019-08-24T14:15:22Z",
    "elementIdsToIgnore": [
      "string"
    ],
    "filter": "string",
    "filterBy": "created",
    "idsToIgnore": [
      "string"
    ],
    "includeDeactivated": true,
    "includeInvalid": true,
    "layerMode": "Blacklist",
    "layers": [
      "ApplicationLayer"
    ],
    "manifestMode": "Blacklist",
    "onlyOwned": true,
    "order": [
      "ascending"
    ],
    "publicationStatus": "Draft",
    "sortBy": [
      "conceptualClass"
    ]
  }
}'
Response
{
  "failedElements": [
    {
      "element": {
        "conceptualClass": "ApplicationCollaboration",
        "created": {
          "at": "string",
          "by": "string"
        },
        "elementId": "string",
        "groups": [
          {
            "core": true,
            "description": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "key": "string",
            "label": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            }
          }
        ],
        "hasPredecessor": true,
        "id": "string",
        "lastValidation": {
          "at": "string",
          "by": "string"
        },
        "layer": "ApplicationLayer",
        "modified": {
          "at": "string",
          "by": "string"
        },
        "owners": [
          {
            "type": "GroupId",
            "value": "string"
          }
        ],
        "principalIsOwner": true,
        "properties": [
          {
            "meta": {
              "core": true,
              "description": {
                "defaultLanguage": "string",
                "translations": [
                  {
                    "language": "string",
                    "value": "string"
                  }
                ]
              },
              "group": "string",
              "key": "string",
              "label": {
                "defaultLanguage": "string",
                "translations": [
                  {
                    "language": "string",
                    "value": "string"
                  }
                ]
              },
              "type": "BBCode",
              "validation": {
                "literals": [
                  {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  }
                ],
                "lowerBound": "string",
                "mandatory": true,
                "upperBound": "string"
              }
            },
            "value": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            }
          }
        ],
        "published": {
          "at": "string",
          "by": "string"
        },
        "references": [
          {
            "meta": {
              "core": true,
              "description": {
                "defaultLanguage": "string",
                "translations": [
                  {
                    "language": "string",
                    "value": "string"
                  }
                ]
              },
              "group": "string",
              "key": "string",
              "label": {
                "defaultLanguage": "string",
                "translations": [
                  {
                    "language": "string",
                    "value": "string"
                  }
                ]
              },
              "multiplicity": "ExactlyOne",
              "targetClasses": [
                "string"
              ]
            },
            "target": {
              "assignedArchitectureElementRefs": [
                {
                  "conceptualClass": "ApplicationCollaboration",
                  "elementId": "string",
                  "referenceDirection": "Bidirectional",
                  "referenceKind": "Access",
                  "specialization": "string"
                }
              ],
              "created": {
                "at": "string",
                "by": "string"
              },
              "linkedElements": [
                {
                  "type": "string"
                }
              ],
              "modified": {
                "at": "string",
                "by": "string"
              },
              "properties": [
                {
                  "meta": {
                    "core": true,
                    "description": {
                      "defaultLanguage": "string",
                      "translations": [
                        {
                          "language": "string",
                          "value": "string"
                        }
                      ]
                    },
                    "group": "string",
                    "key": "string",
                    "label": {
                      "defaultLanguage": "string",
                      "translations": [
                        {
                          "language": "string",
                          "value": "string"
                        }
                      ]
                    },
                    "type": "BBCode",
                    "validation": {
                      "literals": [
                        {
                          "defaultLanguage": "string",
                          "translations": [
                            {}
                          ]
                        }
                      ],
                      "lowerBound": "string",
                      "mandatory": true,
                      "upperBound": "string"
                    }
                  },
                  "value": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  }
                }
              ],
              "relationshipId": "string"
            }
          }
        ],
        "representation": {
          "type": "string"
        },
        "specialization": "string",
        "validityState": "Draft",
        "visibility": {
          "lastChange": {
            "at": "string",
            "by": "string"
          },
          "visible": true
        }
      },
      "message": "string"
    }
  ],
  "successfulElements": [
    {
      "conceptualClass": "ApplicationCollaboration",
      "created": {
        "at": "string",
        "by": "string"
      },
      "elementId": "string",
      "groups": [
        {
          "core": true,
          "description": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          },
          "key": "string",
          "label": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          }
        }
      ],
      "hasPredecessor": true,
      "id": "string",
      "lastValidation": {
        "at": "string",
        "by": "string"
      },
      "layer": "ApplicationLayer",
      "modified": {
        "at": "string",
        "by": "string"
      },
      "owners": [
        {
          "type": "GroupId",
          "value": "string"
        }
      ],
      "principalIsOwner": true,
      "properties": [
        {
          "meta": {
            "core": true,
            "description": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "group": "string",
            "key": "string",
            "label": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "type": "BBCode",
            "validation": {
              "literals": [
                {
                  "defaultLanguage": "string",
                  "translations": [
                    {
                      "language": "string",
                      "value": "string"
                    }
                  ]
                }
              ],
              "lowerBound": "string",
              "mandatory": true,
              "upperBound": "string"
            }
          },
          "value": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          }
        }
      ],
      "published": {
        "at": "string",
        "by": "string"
      },
      "references": [
        {
          "meta": {
            "core": true,
            "description": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "group": "string",
            "key": "string",
            "label": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "multiplicity": "ExactlyOne",
            "targetClasses": [
              "string"
            ]
          },
          "target": {
            "assignedArchitectureElementRefs": [
              {
                "conceptualClass": "ApplicationCollaboration",
                "elementId": "string",
                "referenceDirection": "Bidirectional",
                "referenceKind": "Access",
                "specialization": "string"
              }
            ],
            "created": {
              "at": "string",
              "by": "string"
            },
            "linkedElements": [
              {
                "type": "string"
              }
            ],
            "modified": {
              "at": "string",
              "by": "string"
            },
            "properties": [
              {
                "meta": {
                  "core": true,
                  "description": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  },
                  "group": "string",
                  "key": "string",
                  "label": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  },
                  "type": "BBCode",
                  "validation": {
                    "literals": [
                      {
                        "defaultLanguage": "string",
                        "translations": [
                          {
                            "language": "string",
                            "value": "string"
                          }
                        ]
                      }
                    ],
                    "lowerBound": "string",
                    "mandatory": true,
                    "upperBound": "string"
                  }
                },
                "value": {
                  "defaultLanguage": "string",
                  "translations": [
                    {
                      "language": "string",
                      "value": "string"
                    }
                  ]
                }
              }
            ],
            "relationshipId": "string"
          }
        }
      ],
      "representation": {
        "type": "string"
      },
      "specialization": "string",
      "validityState": "Draft",
      "visibility": {
        "lastChange": {
          "at": "string",
          "by": "string"
        },
        "visible": true
      }
    }
  ]
}