---
title: "Get a deployment resource"
method: GET
path: "/cmmn-repository/deployments/{deploymentId}/resources/**"
tags: ["Deployment"]
---

# Get a deployment resource

`GET /cmmn-repository/deployments/{deploymentId}/resources/**`

## Request

- Base URL: `https://developer-docs.flowable.com/cmmn-api`
- URL: `https://developer-docs.flowable.com/cmmn-api/cmmn-repository/deployments/{deploymentId}/resources/**`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/docs/cmmn-repository/deployments/:deploymentId/resources/**/get.ts> (a function with typed inputs; its response is checked against the schema)

Replace ** by ResourceId

## Path parameters

- `deploymentId` string, required

## Response `200`

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

- DeploymentResourceResponse
  - `id` string
  - `url` string: For a single resource contains the actual URL to use for retrieving the binary resource
  - `contentUrl` string
  - `mediaType` string: 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

## Other responses

- `404`: Indicates the requested deployment was not found or there is no resource with the given id present in the deployment. The status-description contains additional information.

---

[API](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api.md) - [All operations](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowable/apis/flowable-cmmn-rest-api/revisions/afdfa1fcacd0?raw)
