{
"opencollection": "1.0.0",
"info": {
"name": "GovInfo Collections API",
"version": "2.0"
},
"items": [
{
"info": {
"name": "Collections",
"type": "folder"
},
"items": [
{
"info": {
"name": "Request list of collections. Response includes collectionCode,collectionName, package and granule counts",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.govinfo.gov/collections",
"auth": {
"type": "apikey",
"key": "api_key",
"value": "{{api_key}}",
"placement": "query"
}
},
"docs": "Request list of collections. Response includes collectionCode,collectionName, package and granule counts"
},
{
"info": {
"name": "Retrieve new or updated packages for a collection given a start date and time",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.govinfo.gov/collections/:collection/:lastModifiedStartDate",
"params": [
{
"name": "collection",
"value": "",
"type": "path",
"description": "The collectionCode that you want to retrieve (e.g. BILLS, CREC, FR, PLAW, USCOURTS)"
},
{
"name": "lastModifiedStartDate",
"value": "",
"type": "path",
"description": "This is the start date and time in ISO8601 format (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z"
},
{
"name": "offsetMark",
"value": "",
"type": "query",
"description": "Indicates starting record for a given request. Use in conjunction with pageSize to paginate through the results. For the first request, use * - for subsequent requests, this information will be provided in the nextPage field of the current response."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "This is the starting record you wish to retrieve-- 0 is the first record. This parameter is being deprecated and will be removed in the future. Please begin transitioning to use offsetMark instead. For more information see the deprecation warning announcement and discussion on this GitHub issue (usgpo/api #187) "
},
{
"name": "pageSize",
"value": "",
"type": "query",
"description": "The number of records to return for a given request. Max value is 1000"
},
{
"name": "congress",
"value": "",
"type": "query",
"description": "Filters results by Congress, where applicable. For example 113 or 114."
},
{
"name": "docClass",
"value": "",
"type": "query",
"description": "Filter the results by overarching collection-specific categories. The values vary from collection to collection. For example, docClass in BILLS corresponds with Bill Type --e.g. s, hr, hres, sconres."
},
{
"name": "billVersion",
"value": "",
"type": "query",
"description": "Filter the results by overarching collection-specific categories."
},
{
"name": "courtCode",
"value": "",
"type": "query"
},
{
"name": "courtType",
"value": "",
"type": "query"
},
{
"name": "state",
"value": "",
"type": "query"
},
{
"name": "topic",
"value": "",
"type": "query"
},
{
"name": "isGLP",
"value": "",
"type": "query"
},
{
"name": "natureSuitCode",
"value": "",
"type": "query"
},
{
"name": "natureSuit",
"value": "",
"type": "query"
}
],
"auth": {
"type": "apikey",
"key": "api_key",
"value": "{{api_key}}",
"placement": "query"
}
},
"docs": "Retrieve new or updated packages for a collection given a start date and time"
},
{
"info": {
"name": "Retrieve new or updated packages for a collection within a date range",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.govinfo.gov/collections/:collection/:lastModifiedStartDate/:lastModifiedEndDate",
"params": [
{
"name": "collection",
"value": "",
"type": "path",
"description": "The collectionCode that you want to retrieve (e.g. BILLS, CREC, FR, PLAW, USCOURTS)"
},
{
"name": "lastModifiedStartDate",
"value": "",
"type": "path",
"description": "This is the start date and time in ISO8601 format (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z"
},
{
"name": "lastModifiedEndDate",
"value": "",
"type": "path",
"description": "This is the end date and time in ISO8601 format (yyyy-MM-dd'T'HH:mm:ss'Z') Example: 2018-01-28T20:18:10Z"
},
{
"name": "offsetMark",
"value": "",
"type": "query",
"description": "Indicates starting record for a given request. Use in conjunction with pageSize to paginate through the results. For the first request, use * - for subsequent requests, this information will be provided in the nextPage field of the current response."
},
{
"name": "offset",
"value": "",
"type": "query",
"description": "This is the starting record you wish to retrieve-- 0 is the first record. This parameter is being deprecated and will be removed in the future. Please begin transitioning to use offsetMark instead. For more information see the deprecation warning announcement and discussion on this GitHub issue (usgpo/api #187) "
},
{
"name": "pageSize",
"value": "",
"type": "query",
"description": "The number of records to return for a given request. Max value is 1000"
},
{
"name": "docClass",
"value": "",
"type": "query",
"description": "Filter the results by overarching collection-specific categories. The values vary from collection to collection. For example, docClass in BILLS corresponds with Bill Type --e.g. s, hr, hres, sconres."
},
{
"name": "congress",
"value": "",
"type": "query",
"description": "Filters results by Congress, where applicable. For example 113 or 114."
},
{
"name": "billVersion",
"value": "",
"type": "query",
"description": "Filter the results by overarching collection-specific categories."
},
{
"name": "courtCode",
"value": "",
"type": "query"
},
{
"name": "courtType",
"value": "",
"type": "query"
},
{
"name": "state",
"value": "",
"type": "query"
},
{
"name": "topic",
"value": "",
"type": "query"
},
{
"name": "isGLP",
"value": "",
"type": "query"
},
{
"name": "natureSuitCode",
"value": "",
"type": "query"
},
{
"name": "natureSuit",
"value": "",
"type": "query"
}
],
"auth": {
"type": "apikey",
"key": "api_key",
"value": "{{api_key}}",
"placement": "query"
}
},
"docs": "Retrieve new or updated packages for a collection within a date range"
}
]
}
],
"bundled": true
}