mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
list referral for an accompanying period
This commit is contained in:
@@ -445,7 +445,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Return the description for an accompanying course (accompanying period)"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -532,7 +532,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/requestor.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a requestor to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -574,7 +574,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the requestor for the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -598,7 +598,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/participation.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a participant to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -627,7 +627,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the participant for the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -658,7 +658,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/resource.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a resource to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -703,7 +703,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the resource"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -734,7 +734,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/comment.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a comment to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -772,7 +772,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the comment"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -803,7 +803,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/scope.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a scope to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -837,7 +837,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the scope"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -868,7 +868,7 @@ paths:
|
||||
/1.0/person/accompanying-course/{id}/socialissue.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Add a social issue to the accompanying course"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -902,7 +902,7 @@ paths:
|
||||
description: "object with validation errors"
|
||||
delete:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course
|
||||
summary: "Remove the social issue"
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -929,11 +929,31 @@ paths:
|
||||
description: "OK"
|
||||
422:
|
||||
description: "object with validation errors"
|
||||
/1.0/person/accompanying-course/{id}/referral-availables.json:
|
||||
get:
|
||||
tags:
|
||||
- accompanying-course
|
||||
summary: "get a list of available referral for a given accompanying cours"
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
required: true
|
||||
description: The accompanying period's id
|
||||
schema:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
404:
|
||||
description: "Not found"
|
||||
200:
|
||||
description: "OK"
|
||||
|
||||
/1.0/person/accompanying-course/{id}/work.json:
|
||||
post:
|
||||
tags:
|
||||
- person
|
||||
- accompanying-course-work
|
||||
summary: "Add a work (AccompanyingPeriodwork) to the accompanying course"
|
||||
parameters:
|
||||
|
Reference in New Issue
Block a user