Skip to content

Don't require an API key for serving up already extant JSON files #490

Open

Description

@waldoj

Now that we're exporting JSON files to /downloads/code-json/, it's possible for us to serve responses to queries to the API's law method with virtually no hit to system resources. It seems to me that we ought to permit keyless API requests for such data. If somebody makes a request that requires any actual computing power (e.g., limiting the returned fields), at that point it makes sense to require a key.

The only catch here is that this is kind of weird. Some API calls work without a key, while others don't? After all, the dictionary method doesn't have cached files, so that will always require a key. Perhaps this actually isn't very helpful after all? It's worth considering, anyhow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions