Sha256: 0c37e55c310edfa36df7083d33a796e4dc080dc008d9f1a0ed80742a3d2c3e8c
Contents?: true
Size: 853 Bytes
Versions: 1
Compression:
Stored size: 853 Bytes
Contents
## POST /recipes Creates a new recipe. ### parameters * `name` string (required, except: `["alice", "bob"]`) * `type` integer (only: `1..3`) ### request ``` POST /recipes ``` ``` name=name&type=1 ``` ### response ```ruby Status: 201 Location: http://www.example.com/recipes/1 response: { "id": 1, "name": "name", "type": 1, "created_at": "2013-11-30T18:15:08.928Z", "updated_at": "2013-11-30T18:15:08.928Z" } ``` ## POST /recipes Creates a new recipe. ### parameters * `name` string (required, except: `["alice", "bob"]`) * `type` integer (only: `1..3`) ### request ``` POST /recipes ``` ``` name=name&type=1 ``` ### response ```ruby Status: 201 Location: http://example.org/recipes/1 response: { "id": 1, "name": "name", "type": 1, "created_at": "2013-11-30T18:15:08.938Z", "updated_at": "2013-11-30T18:15:08.938Z" } ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
autodoc-0.2.5 | spec/dummy/doc/recipes.md |