REST Queries for Retrieving Data Samples
This topic provides REST queries that you can use to retrieve data samples. You can limit the number of samples, retrieve them in a specific order or for a specific duration, and so on.
Parameter | Value |
---|---|
Method | POST |
URI | http://<Public IP address of the REST Query service>:8989/v1/datapoints?query= |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | POST |
URI | http://<Public IP address of the REST Query service>:8989/v1/datapoints?query= |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | GET |
URI | http://<Public IP address of the REST Query service>:8989/v1/tags |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Parameter | Value |
---|---|
Method | GET |
URI | http://<Public IP address of the REST Query service>:8989/v1/tags |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | GET |
URI | http://<Public IP address of the REST Query service>:8989/v1/tags |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | GET |
URI | http://<Public IP address of the REST Query service>:8989/v1/tags |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example | Output:
|
Parameter | Value |
---|---|
Method | GET |
URI | http://<Public IP address of the REST Query service>:8989/v1/tags |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | POST |
URI | http://<Public IP address of the REST Query service>:8989/v1/datapoints/latest |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|
Parameter | Value |
---|---|
Method | POST |
URI | http://<Public IP address of the REST Query service>:8989/v1/datapoints/latest |
Authorization | Bearer <token> |
Content-Type | application/json |
Predix-Zone-Id | uaa |
Body |
|
Example |
|