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

Count the element drafts visible to the caller.

Count the element drafts visible to the caller. Counts the architecture element drafts the caller may see: Managers and Designers see every draft, everyone else only the drafts they are responsible for and the BusinessProcess drafts of the processes they own or review.

Security: Any user holding a Bpanda licence for the process space.

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

Warehouse-Id

Responses
200

Number of drafts the caller may see

countinteger<int32>required
404

Warehouse not found

string
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://publicapi.goto.bpanda.com/bpm/api/v1/warehouses/string/architectureElements/drafts/count' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'BpmLicense: YOUR_API_KEY'
Response
{
  "count": 0
}