Data Item
Get Data Items By Key
Returns all data items in the specified collection whose field values match the values specified in a Data Item By Key Find JSON Object. If necessary, you can paginate this endpoint's results using query parameters. Note: For more complex data item search queries, consider using the filter parameter with Get All Data Items.
post/collections/{collectionId}/items/{dataItemId}
Request
- Base URLhttps://data.lucid.app
- URLhttps://data.lucid.app/collections/{collectionId}/items/{dataItemId}
- AuthOAuth 2Authorization code: https://lucid.app/oauth2/authorizeToken URL: https://api.lucid.co/oauth2/token scopes: data-service.admin
Path parameters
collectionIdinteger required
ID of collection to get data items from
dataItemIdinteger required
ID of data item to get
Query parameters
startinteger
Example:1
Starting 1-based index of the data items to return. Defaults to 1.
endinteger
Example:100
Ending 1-based index of the data items to return. Defaults to 10000.
Request body
Example request
{
"targetValues": [
{
"fieldValues": [
"Ontario"
]
}
],
"keySchemaFields": [
"Province"
]
}Response
OK with paginated list of Data Items
Example response
{
"items": [
{
"uri": "https://data.lucid.app/collections/2/items/4",
"collection": "https://data.lucid.app/collections/2",
"fields": {
"Co1B": "value1",
"Co2B": "value2"
}
}
],
"total": 175,
"prev": "https://data.lucid.app/collections/2/items?start=1&end=100",
"next": "https://data.lucid.app/collections/2/items?start=201&end=300"
}Changes
No recorded changes to this operation across all 1 revision of this API.