Deployment

Get a deployment resource

Replace ** by ResourceId

get/cmmn-repository/deployments/{deploymentId}/resources/**

Request

Path parameters

deploymentIdstring required

Response

Indicates both deployment and resource have been found and the resource has been returned.

idstring
urlstring

For a single resource contains the actual URL to use for retrieving the binary resource

contentUrlstring
mediaTypestring

Contains the media-type the resource has. This is resolved using a (pluggable) MediaTypeResolver and contains, by default, a limited number of mime-type mappings.

type'resource' | 'processDefinition' | 'processImage'

Type of resource

Example response

{
  "id": "diagrams/my-process.bpmn20.xml",
  "url": "http://localhost:8081/service/cmmn-repository/deployments/10/resources/diagrams%2Fmy-process.bpmn20.xml",
  "contentUrl": "http://localhost:8081/service/cmmn-repository/deployments/10/resourcedata/diagrams%2Fmy-process.bpmn20.xml",
  "mediaType": "text/xml",
  "type": "processDefinition"
}

Changes

No recorded changes to this operation across all 1 revision of this API.