Skip to content

List all entities

Request

Lists entities.

Security
oauth2_client_credentials or oauth2_authorization_code
Query
pageSizeinteger, (int32)(page_size)

Optional. The maximum number of entities to return. The service may return fewer than this value. If unspecified, at most 50 entities will be returned. The maximum value is 100; values above 100 will be coerced to 100.

Example:pageSize=25
pageTokenstring(page_token)

Optional. A page token, received from a previous ListEntities call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListEntities must match the call that provided the page token.

Example:pageToken=ChAIAhABGAE
showDeletedboolean(show_deleted)

Optional. If true, soft-deleted entities will be included in the response. See AIP-164.

skipinteger, (int32)(skip)

Optional. The number of entities to skip before starting to collect the result set.

Example:skip=50
filterstring(filter)

Optional. A filter expression that filters the results listed in the response. Filter only currently supports a fuzzy search on display name. See AIP-160 for more details.

Example:filter=John Smith
orderBystring(order_by)

(OPTIONAL) string.order_by = true // order_by must be at most 256 characters

Example:orderBy=displayName desc
curl -i -X GET \
  https://docs.bndry.net/_mock/apis/openapi/v1alpha/entities \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
entitiesArray of objects(entities)

The list of entities.

nextPageTokenstring(next_page_token)

A token to retrieve the next page of results, or empty if there are no more results in the list. string.page_token = true // page_token must be at most 2048 characters

Example:"ChAIAhABGAE"
totalSizeinteger, (int32)(total_size)

The total number of entities matching the request. int32.total_size = true // total_size must be non-negative

Example:127
Response
{ "entities": [ { … } ], "nextPageToken": "ChAIAhABGAE", "totalSize": 127 }