You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 4
Next »
Overview
Views for a specific collection can be selected by specifying the specific collection id that is desired. This list of collections is paginated and can be adjusted using the limit and offset parameters.
List the Data Sources
http://{host}/rds/catalog/{collection}
{
"id": "test",
"name": "Test Collection",
"description": "A collection used for testing RDS",
"datasources": [
{
"id": "datasource1",
"name": "An example data source",
"public": true
},
{
"id": "datasource2",
"name": "A second example data source",
"public": true
}
],
"info": {
"limit": 10,
"offset": 0,
"more": false
}
}
http://{host}/rds/catalog/{collection}?limit=1
{
"id": "test",
"name": "Test Collection",
"description": "A collection used for testing RDS",
"datasources": [
{
"id": "datasource1",
"name": "An example data source",
"public": true
}
],
"info": {
"limit": 1,
"offset": 0,
"more": false
}
}
http://{host}/rds/catalog/{collection}?limit=1&offset=1
{
"id": "test",
"name": "Test Collection",
"description": "A collection used for testing RDS",
"datasources": [
{
"id": "datasource2",
"name": "A second data source",
"public": true
}
],
"info": {
"limit": 1,
"offset": 1,
"more": false
}
}