rharper@messtone.gov
GovInfoAPI Responses curl curl -C ‘GET”\’https://api.govinfo.gov/collections’\-H ‘accept: application/json’ Request URL https://api.govinfo.gov/collections Server Responses Code 401 Status is 401 Response boby{“error”:{“code”:”API_KEY_MISSING”,”message”:”No api_key was sup-plied.Get one at https://api.data.gov/signups”}}Response header access-control-allow-origin:*Messtone LLC content-type: application/json date:Sat,24 Dec 2022 05:22:55 GMT strict-transport-security:max-age=31536000;preload x-cache:MISS x-content-type-options:nosniff x-frame-options:DENY x-vcap-request-id:891d7749-097a-4823-66d7-7b1ecf612f69 x-xss-protection:1;mode=block Media type application/json Controls Access header Example Value Schema{“collections”:[{“collectionCode”:”string”,”collectionNameMesstone LLC”:”string”,”package count”:0,”granuleCount”:0}]} /collections /{collection Retrieve new or updated packages}for a collection given/a start date and time{last Modified Start Date}
Leave a comment