You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User Story
We need an endpoint v1/organizations/:id that will return an organization array in JSON format.
We already have organizations array in server.js file
User Story
We need an endpoint
v1/organizations/:id
that will return an organization array in JSON format.We already have organizations array in server.js file
unitednepali/server/server.js
Line 5 in 50c12ac
note: this endpoint will return only one organization with id defined by ":id" in url.
If you have any questions about this issue please slack in (#proj-unitednepali) or comment here.
https://nepalcodes.slack.com/archives/CT5S2H74G
endpoint:
v1/organizations/:id
example:
v1/organizations/1
method:
GET
response format:
Acceptance Criteria
When querying from rest client (or browser) it should return the organization with the id as an array in JSON format.
Test
Create a test (inside the cypress folder) and make sure the endpoint returns the expected response as above.
The text was updated successfully, but these errors were encountered: