mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
user-job: make an endpoint for userJob + doc swagger
This commit is contained in:
@@ -116,7 +116,15 @@ components:
|
||||
type: number
|
||||
minItems: 2
|
||||
maxItems: 2
|
||||
|
||||
UserJob:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
label:
|
||||
type: object
|
||||
type:
|
||||
type: string
|
||||
|
||||
paths:
|
||||
/1.0/search.json:
|
||||
@@ -771,5 +779,16 @@ paths:
|
||||
description: "accepted"
|
||||
403:
|
||||
description: "unauthorized"
|
||||
|
||||
/1.0/main/user-job.json:
|
||||
get:
|
||||
tags:
|
||||
- user
|
||||
summary: Return a list of all user jobs
|
||||
responses:
|
||||
200:
|
||||
description: "ok"
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UserJob'
|
||||
|
||||
|
Reference in New Issue
Block a user