You have Slovak selected as language but this page has not been translated yet. Translate the page or view the content in the default space language below.
Shows detailed information about the data set with the specified ID.
Resource URL
https://service.belladati.com/api/dataSets/:id
HTTP Method
GET
Parameters
Detail
id
ID of the data set to fetch. You can find the ID in the response to /api/dataSets.
/api/dataSets
JSON response contains one JSON object with following elements:
Array of attributes
Array of indicators
Array of reports
Using curl:
curl
curl -H "Authorization: OAuth realm=\"https://service.belladati.com/\", oauth_consumer_key=\"myConsumer\", oauth_token=\"mh7an9dkrg59\", oauth_timestamp=\"135131231\", oauth_nonce=\"randomString\"" https://service.belladati.com/api/dataSets/123
The JSON format response:
{ "id" : 123, "name" : "My test data set", "code" : "DATASET_CODE", "localization" : { "de" : "Deutsch Name" }, "description" : "This is a sample data set.", "owner" : "John Smith", "lastChange" : "Tue, 22 May 2012 17:16:31 GMT", "attributes" : [ { "id" : "123.FO8j1HfdDz", "name" : "City", "code" : "L_CITY", "type" : "String" } ], "indicators" : [ { "id" : "123.8RnLDOwZnY", "name" : "Count", "type" : "DATA_INDICATOR", "code" : "M_COUNT" }, { "id" : "123.Jiq7Cuyai1", "name" : "Calculated indicator", "type" : "FORMULA_INDICATOR", "formula" : "M_COUNT * 1000" }, { "id" : "123.MrrmQgYyyo", "name" : "Indicator group", "type" : "INDICATOR_GROUP" } ], "reports" : [ { "id" : 7497, "name" : "My Report", "description" : "This is a sample report.", "owner" : "John Smith", "lastChange" : "Mon, 16 Apr 2012 10:17:26 GMT" } ], "parameters": [ { "param1": "value1" }, { "param2": "value2" } ] }