profcomff / profcomff/modal-service-api

Ручка редактирования модалки

Open
#33 0 comments 0 reactions 1 assignee View on GitHub

@ArtemBratyashin is already working on this.

Since Aug 18, 2026.

  • #43 by @ArtemBratyashin — open
Dominant language
Python
Stars
2
Forks
0
Avg merge
18d 7h
Merged PRs (30d)
2

Description

Делаем пять ручек
PATCH /notification/info/{id}
PATCH /notification/rating/{id}
PATCH /notification/text/{id}
PATCH /notification/choice/{id}
PATCH /notification/image/{id}

Каждая принимает общие поля плюс свои, все опциональные. Ручка проверяет, что note.type_id совпадает с типом ручки, иначе 403.

редактировать можно для статуса archived: нельзя менять type_id + логика проверки новых данных (например start_ts<end_ts)

для статуса active: нельзя менять type_id + валидация как у archived + основной контент не менять (иначе статистика будет неактуальной)

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.