GSA / datagov-wptheme

Data.gov WordPress Theme (obsolete)
https://www.data.gov
Other
1.88k stars 411 forks source link

Employ api.data.gov for API keys and analytics for the CKAN API #823

Open gbinal opened 6 years ago

gbinal commented 6 years ago

The api.data.gov shared service is set up for use here at GSA and there's a general push to try and get all of our agency's APIs using it. The main functionalities to using it are:

We already have https://api.gsa.gov/set up for agency-wide use, so there's technical changes needed to set this up, it'd just be a matter of changing what's on https://www.data.gov/developers/apis. Right now, that lists the http://catalog.data.gov/api/3/ endpoint, but that means that we don't have the functional benefits I listed above.

Given that GSA already has the api.gsa.gov domain set up and a standard for URL design, I took the liberty of going ahead and setting up api.gsa.gov/systems/datagov/ as a proxy to catalog.data.gov/api/. You can see it in action here (vs. the original here)

If you're game, here's all that we'd need to do.

However, one option that might work better would be to instead make it easier on all involved and let me spin up another instance of GSA's API documentation template and it'd just be a matter of linking off to that once I got it all ready.

gbinal commented 6 years ago

P.S. Here's the issue suggesting the option I mention at the end, of creating a fresh API docs for the CKAN API.