2015-01-23 15:21:26 +00:00
|
|
|
curl -i -X PUT 'http://localhost:8000/project/{uuid}' -d '{"temporary": false}'
|
|
|
|
|
|
|
|
PUT /project/{uuid} HTTP/1.1
|
|
|
|
{
|
|
|
|
"temporary": false
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HTTP/1.1 200
|
2015-01-27 14:06:55 +00:00
|
|
|
CONNECTION: keep-alive
|
2015-01-23 15:21:26 +00:00
|
|
|
CONTENT-LENGTH: 158
|
|
|
|
CONTENT-TYPE: application/json
|
|
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
2015-01-27 14:06:55 +00:00
|
|
|
SERVER: Python/3.4 GNS3/1.3.dev1
|
2015-01-23 15:21:26 +00:00
|
|
|
X-ROUTE: /project/{uuid}
|
|
|
|
|
|
|
|
{
|
2015-01-27 14:06:55 +00:00
|
|
|
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf9hmfoxi",
|
2015-01-23 15:21:26 +00:00
|
|
|
"temporary": false,
|
2015-01-27 14:06:55 +00:00
|
|
|
"uuid": "6cc80657-e8f3-445b-8c1a-e2081ac7d042"
|
2015-01-23 15:21:26 +00:00
|
|
|
}
|