patch request for accompanying period

This commit is contained in:
2021-05-11 15:04:48 +02:00
parent 569679238c
commit 061a7dd537
5 changed files with 138 additions and 3 deletions

View File

@@ -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: