Created
March 1, 2014 03:45
-
-
Save subhashb/9284773 to your computer and use it in GitHub Desktop.
Course Updated_by Specs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Courses | |
POST /courses | |
when authorized | |
when publisher | |
does not set updated_by during creation | |
when ghost publisher | |
does not set updated_by during creation | |
PUT /courses/:id | |
when authorized | |
sets updated_by to publisher | |
when ghost publisher | |
sets updated_by to publisher when changed | |
sets updated_by to publisher when not changed from before | |
DELETE /courses/:id | |
when publisher | |
sets updated_by to publisher | |
when ghost publisher | |
does not set updated_by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment