mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
patch request for accompanying period
This commit is contained in:
@@ -14,6 +14,13 @@ components:
|
||||
type: integer
|
||||
required:
|
||||
- thirdparty_id
|
||||
AccompanyingPeriod:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
requestorAnonymous:
|
||||
type: boolean
|
||||
|
||||
|
||||
paths:
|
||||
@@ -38,6 +45,33 @@ paths:
|
||||
description: "Not found"
|
||||
200:
|
||||
description: "OK"
|
||||
patch:
|
||||
tags:
|
||||
- person
|
||||
summary: "Return the description for an accompanying course (accompanying period)"
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
description: The accompanying period's id
|
||||
schema:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
requestBody:
|
||||
description: "An accompanying period"
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AccompanyingPeriod'
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
404:
|
||||
description: "Not found"
|
||||
200:
|
||||
description: "OK"
|
||||
/1.0/person/accompanying-course/{id}/requestor.json:
|
||||
post:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user