Get a Package
GET /v3/packages/:guid
Request
Route
GET /v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142
Headers
cURL
curl "https://api.[your-domain.com]/v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwNSIsImVtYWlsIjoiZW1haWwtMTM2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDk1MzE1MjN9.FQNWNm1_xIwnZtoVBUdL85zpjPMK2j9wtsoCAD6_I5w" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"guid": "guid-ebe70b4f-c6e6-4d63-8084-76774d174142",
"type": "bits",
"data": {
"hash": {
"type": "sha1",
"value": null
},
"error": null
},
"state": "AWAITING_UPLOAD",
"created_at": "2015-11-30T23:38:43Z",
"updated_at": null,
"links": {
"self": {
"href": "/v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142"
},
"upload": {
"href": "/v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142/upload",
"method": "POST"
},
"download": {
"href": "/v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142/download",
"method": "GET"
},
"stage": {
"href": "/v3/packages/guid-ebe70b4f-c6e6-4d63-8084-76774d174142/droplets",
"method": "POST"
},
"app": {
"href": "/v3/apps/guid-47d19ab5-f773-4ab8-858e-d3cc69873b58"
}
}
}
Headers