Closed davitykale-zz closed 7 years ago
@davitykale Do we have a list of the proposed endpoints?
Does this mean we would have endpoints such as
/va // state data
/va/districts/1 // data for Virginia district 1, not district with database id of 1
@dbolson I don't think we have a list of the proposed endpoints yet. This issue is mostly about the routing structure of the client side app. We can have API endpoints that match that, but we certainly don't have to.
Current:
/state /district/:districtId
Proposed:
/:state /:state/district/:districtId