[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot]
2024-10-15 10:42:30 +00:00
committed by kolaente
parent d50572c544
commit 5eebfb3371
3 changed files with 25 additions and 0 deletions

View File

@@ -1414,6 +1414,12 @@ const docTemplate = `{
"description": "If true, also returns all archived projects.",
"name": "is_archived",
"in": "query"
},
{
"type": "string",
"description": "If set to ` + "`" + `rights` + "`" + `, Vikunja will return the max right the current user has on this project. You can currently only set this to ` + "`" + `rights` + "`" + `.",
"name": "expand",
"in": "query"
}
],
"responses": {
@@ -8265,6 +8271,9 @@ const docTemplate = `{
"description": "True if a project is a favorite. Favorite projects show up in a separate parent project. This value depends on the user making the call to the api.",
"type": "boolean"
},
"max_right": {
"$ref": "#/definitions/models.Right"
},
"owner": {
"description": "The user who created this project.",
"allOf": [

View File

@@ -1406,6 +1406,12 @@
"description": "If true, also returns all archived projects.",
"name": "is_archived",
"in": "query"
},
{
"type": "string",
"description": "If set to `rights`, Vikunja will return the max right the current user has on this project. You can currently only set this to `rights`.",
"name": "expand",
"in": "query"
}
],
"responses": {
@@ -8257,6 +8263,9 @@
"description": "True if a project is a favorite. Favorite projects show up in a separate parent project. This value depends on the user making the call to the api.",
"type": "boolean"
},
"max_right": {
"$ref": "#/definitions/models.Right"
},
"owner": {
"description": "The user who created this project.",
"allOf": [

View File

@@ -445,6 +445,8 @@ definitions:
a separate parent project. This value depends on the user making the call
to the api.
type: boolean
max_right:
$ref: '#/definitions/models.Right'
owner:
allOf:
- $ref: '#/definitions/user.User'
@@ -2663,6 +2665,11 @@ paths:
in: query
name: is_archived
type: boolean
- description: If set to `rights`, Vikunja will return the max right the current
user has on this project. You can currently only set this to `rights`.
in: query
name: expand
type: string
produces:
- application/json
responses: