---
title: "Visibility of project actions"
method: GET
path: "/api/v1/projects/visibility/{projectId}"
tags: ["Projects"]
---

# Visibility of project actions

`GET /api/v1/projects/visibility/{projectId}`

## Path parameters

- `projectId` integer, required

## Response `200`

OK

- ProjectActionVisibilityDto
  - `commit` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `repair` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `upgrade` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableMonitoring` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableMonitoring` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableBackup` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableBackup` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableOpa` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableOpa` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableAutoscaler` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableAutoscaler` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `vmRepair` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `vmCommit` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `lock` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `unlock` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableSpotWorker` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableSpotWorker` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableFullSpot` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableFullSpot` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableSpotVm` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableSpotVm` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `attachAlertingProfile` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `detachAlertingProfile` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `enableAi` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `disableAi` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `aiAssistant` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `projectMaintenanceMode` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `addServer` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean
  - `addVm` ButtonStatusDto, required
    - `enable` boolean
    - `reasons` string[], nullable
    - `hidden` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
