-
Notifications
You must be signed in to change notification settings - Fork 13
Detail API
Ling-Xiao Yang edited this page Mar 24, 2016
·
2 revisions
Detail API requires the specific UUID of the object, and its endpoint uses singular noun, such as /job/7938a064-736a-491b-9c96-20fe49e3b6c6/
. We use UUID in order to reduce the possibility of collisions and avoid serial database keys.
Detail API supports the following HTTP verbs:
-
GET
: retrieves all the fields of the object. -
PATCH
: updates selected fields of the object (if the object is editable).PUT
method has similar functionalities but Rodan favoursPATCH
method asPUT
requires all fields whilePATCH
simply requires the fields that need to be updated. (Note: the browsable API only allowsPUT
, notPATCH
.) -
DELETE
: destroys the object (if the object is deletable). It returns 204 (NO CONTENT) if successful.
The PATCH
request may return 400 (BAD REQUEST) if there are validation errors (see List API).
- Repository Structure
- Working on Rodan
- Testing Production Locally
- Working on Interactive Classifier
- Job Queues
- Testing New Docker Images
- Set up Environment Variables
- Set up SSL with Certbot
- Set up SSH with GitHub
- Deploying on Staging
- Deploying on Production
- Import Previous Data