-
Notifications
You must be signed in to change notification settings - Fork 4
REST Conventions
Kosala Tennakoon edited this page Nov 12, 2019
·
1 revision
Catalyst follows following conventions when creating and maintaining REST endpoints. These are not hard written rules, rather the summary of best practices that will enable building of cleaner, concise and more maintainable REST APIs.
Get All
[GET] /samplesGet by Id
[GET] /samples/{id}Get by Filter
[GET] /samples?filters={"field1":"value1", "field2": "value2", ...}The
filteris a serialized JSON object that can be mapped to a filter object in the service
Create
[POST] /samplesEdit
[PUT] /samples/{id}Delete
[DELETE] /samples/{id}