mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
add initial comment to accompanying period
This commit is contained in:
@@ -202,7 +202,7 @@ paths:
|
||||
patch:
|
||||
tags:
|
||||
- person
|
||||
summary: "Return the description for an accompanying course (accompanying period)"
|
||||
summary: "Alter an accompanying course (accompanying period)"
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
@@ -219,6 +219,22 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AccompanyingPeriod'
|
||||
examples:
|
||||
Set the requestor as anonymous:
|
||||
value:
|
||||
type: accompanying_period
|
||||
id: 12345
|
||||
requestorAnonymous: true
|
||||
Adding an initial comment:
|
||||
value:
|
||||
type: accompanying_period
|
||||
id: 2668,
|
||||
initialComment:
|
||||
type: accompanying_period_comment
|
||||
content: >
|
||||
This is my an initial comment.
|
||||
|
||||
Say hello to the new "parcours"!
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
|
Reference in New Issue
Block a user