Skip to content

Commit

Permalink
API.md: Document print_label.
Browse files Browse the repository at this point in the history
  • Loading branch information
YtvwlD committed Oct 1, 2017
1 parent 9a25022 commit 68749b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ The API is REST-like (but not entirely).
* `PATCH /users/%uid%.json` - the same as above, but in JSON format (What's the difference?)
* `DELETE /users/%uid%` - deletes the user with the id `%uid%`
* `DELETE /users/%uid%.json` - the same as above, but in JSON format (What's the difference?)
* `POST /users/%uid%/print_label` - prints a label with the username and the current date
* `POST /users/%uid%/print_label.json` - the same as above, but in JSON format
* `GET /users/%uid%/deposit?amount=%amount%` - adds the amount `%amount%` (in €) to the balance of the user with the id `%uid%` (**This GET request modifys data!**)
* `GET /users/%uid%/deposit.json?amount%amount%` - the same as above, but in JSON format (What's the difference?) (**This GET request modifys data!**)
* `GET /users/%uid%/pay?amount=%amount%` - removes the amount `%amount%` (in €) from the balance of the user with the id `%uid%` (**This GET request modifys data!**)
Expand Down

0 comments on commit 68749b7

Please sign in to comment.