Get Deployment Resource (binary)
Retrieves the binary content of a deployment resource for the given deployment by id.
Method
GET /deployment/{id}/resources/{resourceId}/data
Parameters
Path Parameters
Name | Description |
---|---|
id | The id of the deployment. |
resourceId | The id of the deployment resource. |
Result
Byte Stream.
Response Codes
Code | Media type | Description |
---|---|---|
200 | * |
Request successful. The media type of the response depends on the filename. For example a process.bpmn resource will have
the media type application/xml . If the filetype is unknown it defaults to application/octet-stream .
|
404 | application/json | Deployment Resource with given resource id or deployment id does not exist. See the Introduction for the error response format. |
Example
Request
GET /deployments/someDeploymentId/resources/someResourceId/data
Response
Status 200.
Byte Stream.