> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promete.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Gabinete

> Endpoints para demandas, tarefas, ações e deliberações

## Endpoints do Gabinete

Base path: `/v1/cabinet`

<Note>
  Os endpoints abaixo representam a estrutura planejada. A implementação detalhada será gerada durante o desenvolvimento.
</Note>

## Demandas

| Método | Endpoint                          | Descrição                     |
| ------ | --------------------------------- | ----------------------------- |
| `GET`  | `/v1/cabinet/demands`             | Listar demandas (com filtros) |
| `POST` | `/v1/cabinet/demands`             | Registrar nova demanda        |
| `GET`  | `/v1/cabinet/demands/{id}`        | Detalhes de uma demanda       |
| `PUT`  | `/v1/cabinet/demands/{id}`        | Atualizar demanda             |
| `PUT`  | `/v1/cabinet/demands/{id}/status` | Atualizar status da demanda   |
| `POST` | `/v1/cabinet/demands/{id}/assign` | Atribuir responsável          |

## Tarefas

| Método | Endpoint                        | Descrição                  |
| ------ | ------------------------------- | -------------------------- |
| `GET`  | `/v1/cabinet/tasks`             | Listar tarefas             |
| `POST` | `/v1/cabinet/tasks`             | Criar tarefa               |
| `GET`  | `/v1/cabinet/tasks/{id}`        | Detalhes de uma tarefa     |
| `PUT`  | `/v1/cabinet/tasks/{id}`        | Atualizar tarefa           |
| `PUT`  | `/v1/cabinet/tasks/{id}/status` | Atualizar status da tarefa |

## Ações / Projetos

| Método | Endpoint                         | Descrição                     |
| ------ | -------------------------------- | ----------------------------- |
| `GET`  | `/v1/cabinet/actions`            | Listar ações/projetos         |
| `POST` | `/v1/cabinet/actions`            | Criar ação/projeto            |
| `GET`  | `/v1/cabinet/actions/{id}`       | Detalhes de uma ação          |
| `GET`  | `/v1/cabinet/actions/{id}/tasks` | Tarefas vinculadas a uma ação |

## Deliberações

| Método | Endpoint                         | Descrição                   |
| ------ | -------------------------------- | --------------------------- |
| `GET`  | `/v1/cabinet/deliberations`      | Listar deliberações         |
| `POST` | `/v1/cabinet/deliberations`      | Registrar deliberação       |
| `GET`  | `/v1/cabinet/deliberations/{id}` | Detalhes de uma deliberação |
