api.congress.gov
api.congress.gov copied to clipboard
Deterministic Routing
trafficstars
Any way we can look to update the API to support deterministic routing? My specific use case requires each specific route to have a distiguishable (deterministic) path
Specified swagger definition has the following errors - any change we could update "details to be at
/member/{guidId}/details -- so each route is unique?
## Error : paths/~1member~1{stateCode} : The operations 'MemberListByState' and 'MemberDetails' have the path templates '/member/{stateCode}' and '/member/{bioguideId}' which are duplicate and indistinguishable.
They need to have a difference in static path segments for a deterministic routing.
## Error : paths/~1committee~1{congress} :
The operations 'CommitteeListByCongress' and 'CommitteeListByChamber' have the path templates '/committee/{congress}' and '/committee/{chamber}' which are duplicate and indistinguishable.
They need to have a difference in static path segments for a deterministic routing.
## Error : paths/~1committee~1{chamber}~1{committeeCode} :
The operations 'CommitteeDetails' and 'CommitteeByCongressAndChamber' have the path templates '/committee/{chamber}/{committeeCode}' and '/committee/{congress}/{chamber}' which are duplicate and indistinguishable. They need to have a difference in static path segments for a deterministic routing. '