profcomff / profcomff/modal-service-api
Ручка редактирования модалки
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
- 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.