mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
add endpoint for listing evaluation
This commit is contained in:
@@ -217,7 +217,7 @@ components:
|
||||
type: integer
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
enum:
|
||||
- 'accompanying_period_work'
|
||||
note:
|
||||
type: string
|
||||
@@ -296,7 +296,7 @@ paths:
|
||||
$ref: "#/components/schemas/Person"
|
||||
403:
|
||||
description: "Unauthorized"
|
||||
|
||||
|
||||
/1.0/person/person.json:
|
||||
post:
|
||||
tags:
|
||||
@@ -1035,7 +1035,7 @@ paths:
|
||||
get:
|
||||
tags:
|
||||
- person
|
||||
summary: Return a list of all origins
|
||||
summary: Return a list of all origins
|
||||
responses:
|
||||
200:
|
||||
description: "ok"
|
||||
@@ -1043,7 +1043,7 @@ paths:
|
||||
/1.0/person/accompanying-period/origin/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
- person
|
||||
- person
|
||||
summary: Return an origin by id
|
||||
parameters:
|
||||
- name: id
|
||||
@@ -1257,7 +1257,7 @@ paths:
|
||||
/1.0/person/social/social-action.json:
|
||||
get:
|
||||
tags:
|
||||
- accompanying-course-work
|
||||
- social-work-social-action
|
||||
summary: get a list of social action
|
||||
responses:
|
||||
401:
|
||||
@@ -1268,7 +1268,7 @@ paths:
|
||||
/1.0/person/social/social-action/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
- accompanying-course-work
|
||||
- social-work-social-action
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
@@ -1291,7 +1291,7 @@ paths:
|
||||
/1.0/person/social/social-action/by-social-issue/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
- accompanying-course-work
|
||||
- social-work-social-action
|
||||
parameters:
|
||||
- name: id
|
||||
in: path
|
||||
@@ -1311,6 +1311,25 @@ paths:
|
||||
400:
|
||||
description: "Bad Request"
|
||||
|
||||
/1.0/person/social-work/evaluation/by-social-action/{social_action_id}.json:
|
||||
get:
|
||||
tags:
|
||||
- social-work-evaluation
|
||||
summary: return a list of evaluation which are available for a given social action
|
||||
parameters:
|
||||
- name: social_action_id
|
||||
in: path
|
||||
required: true
|
||||
description: The social action's id
|
||||
schema:
|
||||
type: integer
|
||||
format: integer
|
||||
minimum: 1
|
||||
responses:
|
||||
200:
|
||||
description: ok
|
||||
404:
|
||||
description: not found
|
||||
|
||||
|
||||
/1.0/person/social-work/social-issue.json:
|
||||
@@ -1321,7 +1340,7 @@ paths:
|
||||
responses:
|
||||
200:
|
||||
description: "ok"
|
||||
|
||||
|
||||
/1.0/person/social-work/social-issue/{id}.json:
|
||||
get:
|
||||
tags:
|
||||
@@ -1347,7 +1366,7 @@ paths:
|
||||
description: "not found"
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
|
||||
|
||||
/1.0/person/social-work/result.json:
|
||||
get:
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user