mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-12 10:04:48 -05:00
[skip ci] Updated swagger docs
This commit is contained in:
committed by
kolaente
parent
d50572c544
commit
5eebfb3371
@@ -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": [
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user