profcomff / profcomff/modal-service-api

Разделить архивацию модалки и восстановление

Open
#34 1 comment 0 reactions 1 assignee View on GitHub

@Georgon is already working on this.

Since Aug 14, 2026.

Dominant language
Python
Stars
2
Forks
0
Avg merge
18d 7h
Merged PRs (30d)
2

Description

Убрать PATCH /notification/{id}/status, вместо него:

POST /notification/{id}/archive — ACTIVE → ARCHIVED. Если уже в архиве → 409
POST /notification/{id}/restore — ARCHIVED → ACTIVE с чисткой пропавших групп/сервисов и проверкой срока. Если уже активна → 409

возможно подумать над тем, чтобы возвращать в ответе инфу о удаленных группах и сервисах при ARCHIVED → ACTIVE

Надо просто текущую реализацию заменить, плюс исправить ошибку в текущем коде (см фото комментом ниже)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.