curl -i -X POST 'http://localhost:3080/v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings' -d '{"svg": "", "x": 10, "y": 20, "z": 0}'
POST /v2/projects/4636cb3b-b312-4e43-bfae-1c37ed9c447f/drawings HTTP/1.1
{
"svg": "",
"x": 10,
"y": 20,
"z": 0
}
HTTP/1.1 201
CONTENT-LENGTH: 323
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
X-ROUTE: /v2/projects/{project_id}/drawings
{
"drawing_id": "63d8eb18-ed0d-4618-b199-4c62f32c23b1",
"project_id": "4636cb3b-b312-4e43-bfae-1c37ed9c447f",
"rotation": 0,
"svg": "",
"x": 10,
"y": 20,
"z": 0
}