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

# List resources in a deployment

`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)

The dataUrl property in the resulting JSON for a single resource contains the actual URL to use for retrieving the binary resource.

## Path parameters

- `deploymentId` string, required

## Response `200`

Indicates the deployment was found and the resource list 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.

---

[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)
