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.
...
Code Block |
---|
|
http://{host}/rds/api/catalog/{collection} |
Code Block |
---|
title | Data Sources Output |
---|
collapse | true |
---|
|
{
"id": "test",
"name": "Test Collection",
"description": "A collection used for testing RDS",
"datasources": [
{
"id": "datasource1",
"name": "An example data source.",
"description": "An example data source that is used for the Rich Data Services documentation.",
"publicprovenance": "Metadata Technology trueNorth America, 2016",
"public": true
},
{
"id": "datasource2",
"name": "A second example data source",
"public": true
}
],
"info": {
"limit": 10,
"offset": 0,
"more": false
}
} |
...
Code Block |
---|
title | Limit to One Data Source |
---|
|
http://{host}/rds/api/catalog/{collection}?limit=1 |
...
Code Block |
---|
title | Limit One Output |
---|
collapse | true |
---|
|
{
"id": "test",
"name": "Test Collection",
"description": "A collection used for testing RDS",
"datasources": [
{
"id": "datasource1",
"name": "An example data source.",
"description": "An example data source that is used for the Rich Data Services documentation.",
"publicprovenance": "Metadata Technology trueNorth America, 2016",
"public": true
}
],
"info": {
"limit": 1,
"offset": 0,
"more": falsetrue
}
} |
Code Block |
---|
title | Limit to One Data Source Offset One |
---|
|
http://{host}/rds/api/catalog/{collection}?limit=1&offset=1 |
...