Last active
April 23, 2016 06:36
-
-
Save yagays/af69766e1b1e6acb595bf4bfe528079d to your computer and use it in GitHub Desktop.
This file contains 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
FORMAT: 1A | |
# レシピサイトWebAPIドキュメント | |
http://gotofritz.net/blog/weekly-challenge/restful-python-api-bottle/ | |
## すべてのレシピのXMLを表示する [/recipes/] | |
### recipes_list [GET] | |
すべてのレシピのリストを返します。 | |
+ Response 200 (application/json) | |
+ Attributes | |
+ success: False (boolean) - ステータス | |
+ path (array) - XMLファイルパス | |
+ error: show not implemented yet (string) - エラーメッセージ | |
## 特定のレシピを表示する [/recipes/{name}] | |
+ Parameters | |
+ name (string, required, `name`) - レシピの識別子 | |
### recipe_show [GET] | |
+ Response 200 (application/json) | |
+ Attributes | |
+ error: show not implemented yet (string) | |
+ path: /PTH/TO/XML/name.xml (string) | |
+ success: False (boolean) | |
## レシピを削除する [/recipes/{name}] | |
+ Parameters | |
+ name (string, required, `name`) - レシピの識別子 | |
### recipe_delete [DELETE] | |
+ Response 200 (application/json) | |
+ Attributes | |
+ success: False (boolean) | |
+ error: delete not implemented yet (string) | |
## レシピのXMLを追加する [/recipes/{name}] | |
+ Parameters | |
+ name (string, required, `name`) - レシピの識別子 | |
### recipe_save [PUT] | |
+ Response 200 (application/json) | |
+ Attributes | |
+ success: False (boolean) | |
+ path: /PTH/TO/XML/name.xml (string) | |
+ error: save not implemented yet (string) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment