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
|
|
|
|
CONNECTION: close
|
|
|
|
CONTENT-LENGTH: 158
|
|
|
|
CONTENT-TYPE: application/json
|
|
|
|
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
|
|
|
SERVER: Python/3.4 aiohttp/0.13.1
|
|
|
|
X-ROUTE: /project/{uuid}
|
|
|
|
|
|
|
|
{
|
2015-01-26 08:40:48 +00:00
|
|
|
"location": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpivbrfsdh",
|
2015-01-23 15:21:26 +00:00
|
|
|
"temporary": false,
|
2015-01-26 08:40:48 +00:00
|
|
|
"uuid": "0442fdb6-fc77-4f1c-b996-675b98dc032e"
|
2015-01-23 15:21:26 +00:00
|
|
|
}
|