FORMAT: X-1A
The Example API for Dredd API Blueprint testing tool
-
Request (application/json)
{ "type": "bulldozer", "name": "willy" }
-
Response 202 (application/json)
{ "message": "Accepted" }
-
Response 200 (application/json)
[{ "_id": "52341870ed55224b15ff07ef", "type": "bulldozer", "name": "willy" }]
- Parameters
- name (required,
willy
)
- name (required,
-
Response 200 (application/json)
{ "type": "bulldozer", "name": "willy", "_id": "5229c6e8e4b0bd7dbb07e29c" }
- Response 204