---
title: "🔓 Системный эндпоинт CI/CD для перевода статуса задач после деплоя."
method: POST
path: "/ci/deployed"
tags: ["CI/CD Utilities"]
---

# 🔓 Системный эндпоинт CI/CD для перевода статуса задач после деплоя.

`POST /ci/deployed`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/ci/deployed`
- Auth: none required

Системный эндпоинт CI/CD для перевода статуса задач после деплоя.

**Access:** `unauthorized` (0 ) · **Scope:** `write`

### TypeScript (copy-paste)

**`POST /ci/deployed`**

<details open><summary><b>Params</b></summary>

```typescript
export interface CiDeployedParams {
  cID: string
}
```

</details>

<details open><summary><b>Body</b></summary>

```typescript
export interface CiDeployedBody {
  issues: Array<any>
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type CiDeployedResponse = IServerResponse<Resp_ci_deployed>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `cID` string, uuid, required

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Request body

- CiDeployedBody: JSON body for `ci/deployed`
  - `issues` unknown[], required
    - unknown

## Response `200`

OK — `IServerResponse<Resp_ci_deployed>`

- object
  - `code` integer, required
  - `data` RespCiDeployed, required: ResponseData for ci/deployed
    - `deployed` object[], required
      - `ID` string, uuid, required
      - `key` unknown, required
      - `title` string, required
      - `type` integer, required
      - `category` integer, required
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Authorize: CI token required - header X-CI-Token missing or wrong, or CI_TOKEN is not set on the stage (params are validated first: invalid params - 400)
- `404`: NotFound: Target company with specified cID does not exist

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
