Skip to end of metadata
Go to start of metadata

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

 

Data Sources
http://{host}/rds/catalog/{collection}
Data Sources Output
{
    "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
    }
}
Limit to One Data Source
http://{host}/rds/catalog/{collection}?limit=1
Limit One Output
{
    "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
    }
}
Limit to One Data Source Offset One
http://{host}/rds/catalog/{collection}?limit=1&offset=1
Limit and Offset Output
{
    "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
    }
}
  • No labels