API ReferenceYour dataapproval_thresholds

List approval thresholds

Get a list of records

GET
/{appUid}/autocrud/approval_thresholds

Authorization

bearerAuth
AuthorizationBearer <token>

Authorization for API

In: header

Path Parameters

appUid*string

Your app's unique id. Find it in the console under the app's Settings, or in the URL of any app page.

Formatuuid

Query Parameters

where?string

A JSON filter tree, URL-encoded. {"status":"open"} matches equality and {"col":null} IS NULL. Compare with {"col":{"$gt"|"$gte"|"$lt"|"$lte"|"$ne":v}}, {"$in":[...]} (up to 100 values) or {"$between":[low,high]}; match text with {"$contains":"text"} or {"$startsWith":"text"} (literal text, following the column's collation). Combine with {"$and":[...]} / {"$or":[...]}. A reference is filtered by its <name>_uid column and uids; id, the scope columns, raw foreign-key columns and redacted columns are refused. At most 20 conditions, nested 3 deep.

order?string

Up to 3 sort columns, comma-separated, each column.asc or column.desc (asc by default). <name>_uid sorts by the reference. Not with after.

columns?string

Return only these columns, comma-separated (the row's uid always comes back). A redacted column comes back masked.

include?string

Up to 3 references to return the referenced row for, comma-separated, named without _uid (assignee for assignee_uid). Each is read as you, under that table's own permissions: a row you cannot read comes back null.

limit?integer

Rows per page: 50 by default, at most 1,000.

Range1 <= value <= 1000
offset?integer

Rows to skip. Pair with order. For a large table use after instead.

Range0 <= value
after?string

Keyset paging in creation order: empty for the first page, then the previous page's paging.nextCursor. A row added or removed between pages never shifts another onto two pages, and a deep page costs what the first does. Takes no order or offset.

total?string

1 to also count every matching row into paging.total (a second query). Otherwise paging.total is null.

Value in

  • "1"
  • "0"
filter?string

Older form of where for one equality, column:value. ANDed with where when both are given.

sort?string

Older form of order for one column, column [ASC|DESC]. Ignored when order is given.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/497f6eca-6276-4993-bfeb-53cbbbba6f08/autocrud/approval_thresholds"
{  "items": [    {      "category": "string",      "created_at": "2019-08-24T14:15:22Z",      "deleted_at": "2019-08-24T14:15:22Z",      "description": "string",      "max_auto_amount": 0.1,      "requires_second_approver": true,      "updated_at": "2019-08-24T14:15:22Z",      "uid": "07cc67f4-45d6-494b-adac-09b5cbc7e2b5"    }  ],  "paging": {    "limit": 0,    "offset": 0,    "count": 0,    "total": 0,    "hasMore": true,    "nextCursor": "string"  }}