Data Requests
Get Dataset Data Requests
Data Requests
Get Dataset Data Requests
Get data requests by dataset ID
GET
/
team
/
{team_id}
/
datasets
/
{dataset_id}
/
dataRequests
curl --request GET \
--url https://api.chartbrew.com/team/{team_id}/datasets/{dataset_id}/dataRequests \
--header 'Authorization: Bearer <token>'
[
{
"id": 123,
"dataset_id": 123,
"connection_id": 123,
"method": "GET",
"route": "<string>",
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"body": "<string>",
"useGlobalHeaders": true,
"query": "<string>",
"pagination": false,
"items": "items",
"itemsLimit": 0,
"offset": "offset",
"paginationField": "<string>",
"template": "<string>",
"conditions": [
{
"field": "<string>",
"value": "<string>",
"operator": "="
}
],
"configuration": {},
"variables": {},
"Connection": {
"id": 123,
"name": "<string>",
"type": "<string>",
"subType": "<string>",
"host": "<string>"
}
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
List of data requests
The response is of type object[]
.
curl --request GET \
--url https://api.chartbrew.com/team/{team_id}/datasets/{dataset_id}/dataRequests \
--header 'Authorization: Bearer <token>'
[
{
"id": 123,
"dataset_id": 123,
"connection_id": 123,
"method": "GET",
"route": "<string>",
"headers": [
{
"key": "<string>",
"value": "<string>"
}
],
"body": "<string>",
"useGlobalHeaders": true,
"query": "<string>",
"pagination": false,
"items": "items",
"itemsLimit": 0,
"offset": "offset",
"paginationField": "<string>",
"template": "<string>",
"conditions": [
{
"field": "<string>",
"value": "<string>",
"operator": "="
}
],
"configuration": {},
"variables": {},
"Connection": {
"id": 123,
"name": "<string>",
"type": "<string>",
"subType": "<string>",
"host": "<string>"
}
}
]