Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
titleData Sources
http://{host}/rds/api/catalog/{collection}


Code Block
titleData Sources Output
collapsetrue
{
    "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
titleLimit to One Data Source
http://{host}/rds/api/catalog/{collection}?limit=1

...

Code Block
titleLimit One Output
collapsetrue
{
    "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
titleLimit to One Data Source Offset One
http://{host}/rds/api/catalog/{collection}?limit=1&offset=1

...