profcomff / profcomff/modal-service-api
Разделить архивацию модалки и восстановление
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.