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
ygokirmak edited this page May 1, 2018
·
4 revisions
All our REST APIs should follow the rules below;
All resources should provide 5 standard methods as List, Get, Create, Update, and Delete. ( this is same as Google APIs). List and Get should be implemented with HTTP Get, Create should be HTTP.POST, Update should be HTTP.PUT and HTTP.Delete for delete
Filtering should be implemented with GET parameters.
Use subresource queries for getting relational resources like activities of a person(12), so instead of /api/activities/person/12 or /api/activities?person=12 use api/persons/12/activities.