Closed Gmanicus closed 1 year ago
The /bill/{congress}/{billType}/{billNumber}/... endpoints used to be case-insensitive for bill types such as HR, HRES, but now only accept them in lowercase.
/bill/{congress}/{billType}/{billNumber}/...
HR
HRES
They now return 404 Not Found. E.g:
404 Not Found
{ "error": "Unknown resource: bill/118/HR/4755/actions" }
The details endpoint is still case-insensitive.
This is intentional, see this change log entry: https://github.com/LibraryOfCongress/api.congress.gov/blob/main/ChangeLog.md#change-3-2
Ah, I see! Thanks for pointing that out @ryparker
The
/bill/{congress}/{billType}/{billNumber}/...
endpoints used to be case-insensitive for bill types such asHR
,HRES
, but now only accept them in lowercase.They now return
404 Not Found
. E.g:The details endpoint is still case-insensitive.