getByUID()
Description
Get data from the database table by UID
Request
Parameters
Field | Required | Data Type | Description |
---|---|---|---|
uid | string | UID of the object to get | |
options | Object | Options Object describing filtering, sorting, and other options |
Options Object Parameters
Field | Required | Data Type | Description |
---|---|---|---|
includes | Array of string | An array of columns with |
Examples
Get by UID
Get by UID with includes
Response
Parameters
Field | Data Type | Description |
---|---|---|
data | Object | Object containing all database item values |
meta | Object | Object containing metadata |
Metadata Parameters
Field | Data Type | Description |
---|---|---|
total | number | Total number of items in with the given UID Always equal to 1 |
page | number | Current page number Always equal to 1 |
limit | number | Current limit per page Always equal to 1 |
includesCount | number | Number of additional requests for the includes operations |
Example
This is an example response to the Get by UID with includes request example above.
Last updated