code-gov-api icon indicating copy to clipboard operation
code-gov-api copied to clipboard

Wrong default version alias

Open Nosferican opened this issue 4 years ago • 0 comments

Describe the bug The documentation states the default version is v2, but using default alias takes you to old version (v1)

To Reproduce Steps to reproduce the behavior:

  1. Use alias https://api.code.gov/endpoint
  2. Examine header: X-API-VERSION: v1 (behavior confirmed to be pre v2)

Expected behavior Using https://api.code.gov/endpoint should be equivalent to https://api.code.gov/v2/endpoint

Nosferican avatar Oct 18 '19 00:10 Nosferican