Client

April 17, 2019 ยท View on GitHub

Protocols

Client requests are sent over HTTP.

RPC

Any of the following RPC systems can be used: REST, GraphQL and JSON-RPC.

Request

Client requests are regular CRUD commands. Advanced patch commands can be performed.

Nested collections can be manipulated on both read and write requests.

If anything went wrong, an error response will be sent.

Arguments

The following arguments are available:

The following query variable is also available: compress.

Client (summary)

The following commands and arguments are available.

Only the data argument is required (for create, upsert and patch).

find_collection({ id|filter, order, populate, pagesize, before|after|page,
select, rename, silent, params })
create_collection({ data|data, select, rename, silent, dryrun, params })
upsert_collection({ data|data, select, rename, silent, dryrun, params })
patch_collection({ data, id|filter, pagesize, after, select, rename, silent,
dryrun, params })
delete_collection({ id|filter, cascade, select, rename, silent, dryrun,
params })

Client (table of contents)

Protocols

RPC

Request

Arguments