The API for working with Concord JSON Stores, the data in stores and named queries.
Creates or updates a JSON Store with the specified parameters.
/api/v1/org/{orgName}/jsonstore
POST
Authorization
, Content-Type: application/json
All parameters except name
are optional.
Returns a previously created JSON store configuration.
/api/v1/org/${orgName}/jsonstore/${storeName}
GET
Authorization
Removes an existing JSON store and all its data and associated queries.
Warning: the operation is irreversible.
/api/v1/org/${orgName}/jsonstore/${storeName}
DELETE
Authorization
Lists all existing JSON stores for the specified organization.
/api/v1/org/${orgName}/jsonstore
GET
Returns the current capacity for a specified JSON store. The size
parameter
is the size of all items in the store and the maxSize
is the maximum allowed
size of the store (-1
if unbounded).
/api/v1/org/${orgName}/jsonstore/${storeName}/capacity
GET
Returns store’s current access rules.
/api/v1/org/${orgName}/jsonstore/${storeName}/access
GET
Authorization
Updates stores’s access rules for a specific team.
/api/v1/org/${orgName}/jsonstore/${storeName}/access
POST
Authorization
, Content-Type: application/json
Creates or updates a JSON store items.
/api/v1/org/${orgName}/jsonstore/${storeName}/item/${itemPath}
itemPath
: a unique value to identify the data and can contain path
separators (e.g. dir1/dir2/item
)PUT
Authorization
, Content-Type: application/json
Body any valid JSON object:
Returns a previously created JSON store item.
/api/v1/org/${orgName}/jsonstore/${storeName}/item/${itemPath}
itemPath
: item’s identifier.GET
Authorization
a valid JSON.
Lists items in the specified JSON store.
/api/v1/org/${orgName}/jsonstore/${storeName}/item?offset=${offset}&limit=${limit}&filter=${filter}
limit
: maximum number of records to return;offset
: starting index from which to return;filter
: filters items by name (substring match, case-insensitive).GET
Removes an item from the specified JSON store.
/api/v1/org/${orgName}/jsonstore/${storeName}/item/${itemPath}
itemPath
: item’s identifier.DELETE
Authorization
Creates a new or updates an existing named query.
/api/v1/org/${orgName}/jsonstore/${storeName}/query
POST
Authorization
, Content-Type: application/json
Returns a previously created named query.
/api/v1/org/${orgName}/jsonstore/${storeName}/query/${queryName}
GET
Authorization
Lists named queries in the specified JSON store.
/api/v1/org/${orgName}/jsonstore/${storeName}/query?offset=${offset}&limit=${limit}&filter=${filter}
limit
: maximum number of records to return;offset
: starting index from which to return;filter
: filters queries by name (substring match, case-insensitive).GET
Removes a named query from the specified JSON store.
/api/v1/org/${orgName}/jsonstore/${storeName}/query/${queryName}
DELETE
Authorization
Executes a previously created query using the submitted body as the query’s parameter. Returns a list of rows.
/api/v1/org/${orgName}/jsonstore/${storeName}/query/${queryName}/exec
POST
Authorization
, Content-Type: application/json