---
title: "GET /api/v1/target-assignments/{deploymentId}/change-requests"
method: GET
path: "/api/v1/target-assignments/{deploymentId}/change-requests"
tags: ["TargetAssignments"]
---

# GET /api/v1/target-assignments/{deploymentId}/change-requests

`GET /api/v1/target-assignments/{deploymentId}/change-requests`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/target-assignments/{deploymentId}/change-requests`
- Auth: none declared

## Path parameters

- `deploymentId` integer, required

## Response `200`

OK

- ChangeRequestResponse[]
  - `id` integer
  - `objectType` 'TargetAssignment' | 'Script': The string or integer value may be used. TargetAssignment = 1, Script = 2
  - `targetAssignmentId` integer, nullable
  - `scriptId` integer, nullable
  - `newValuesJson` unknown
  - `state` 'WaitingForApproval' | 'Denied' | 'ApprovedAndApplied' | 'NeedsAttention': The string or integer value may be used. WaitingForApproval = 1, Denied = 2, ApprovedAndApplied = 3, NeedsAttention = 4
  - `acknowledgedByUserId` integer, nullable
  - `acknowledgedByUserName` string, nullable
  - `createdDateUtc` string, date-time
  - `createdByUserName` string, nullable
  - `createdByUserId` integer, nullable
  - `updatedDateUtc` string, date-time
  - `comments` ChangeRequestCommentResponse[], nullable
    - `id` integer
    - `comment` string, nullable
    - `commentedByUsername` string, nullable
    - `changeRequestId` integer
    - `createdDateUtc` string, date-time

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
