Skip to main content
GET
/
workflow
/
v1beta1
/
libraries
/
{libraryId}
/
workbasket
/
count
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/workflow/v1beta1/libraries/{libraryId}/workbasket/count \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "countByWorkflows": [
    {
      "classId": "<string>",
      "count": 123,
      "countByStates": [
        {
          "count": 123,
          "id": "<string>",
          "kind": "<string>",
          "name": "<string>"
        }
      ],
      "id": "<string>",
      "kind": "<string>",
      "name": "<string>"
    }
  ],
  "id": "<string>",
  "kind": "<string>",
  "libraryType": "DMS",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libraryId
string
required

The ID of the library

Query Parameters

workflowId
string

The ID of the workflow

stateId
string

The ID of the workflow state

countLimit
integer<int32>
default:100

The maximum number of items to count. Defaults to 100, max 1000.

securityCode
string

The security code

domain
string

The G Suite domain

user
string

The email address of a user

Response

200 - application/json

A ApiWorkflowTasksCountByLibrary response

count
integer<int64>
countByWorkflows
object[]
id
string
kind
string
libraryType
enum<string>
Available options:
DMS,
SF,
TF
name
string