Created
December 25, 2014 13:55
-
-
Save aeneasr/d374ec3041d9d2080118 to your computer and use it in GitHub Desktop.
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
# i18n Group | |
The i18n api mock. | |
## The translation API [/i18n/{id}{?locale}] | |
+ Parameters | |
+ locale (required, string, `de_DE`) | |
+ id (required, int, 1) | |
### Retrieves a translation [GET] | |
+ Request Volkswagen | |
+ Parameters | |
+ locale: de_DE | |
+ id: 1 | |
+ Response 200 (application/json) | |
{ "message": "Volkswagen" } | |
+ Request Ford | |
+ Parameters | |
+ locale: de_DE | |
+ id: 2 | |
+ Response 200 (application/json) | |
{ "message": "Ford" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment