git_brcal/docs/ApiValidationRules.md

23 lines
407 B
Markdown

# Rest-API validation rules for the backend
___
* Rules defined here only apply to calls that change data (POST / PUT /DELETE requests)
* Violation of these rules should result in 400 bad request
* These are not high-level rules that change color of a data entry in the app
## /shipcall POST
## /shipcall PUT
## /times POST
## /times PUT
## /times DELETE
## /ship POST
## /ship PUT
## /ship DELETE