fix(deps): update module github.com/swaggo/swag to v1.8.9 #1327

Merged
konrad merged 2 commits from renovate/github.com-swaggo-swag-1.x into main 2022-12-18 16:43:35 +00:00
5 changed files with 651 additions and 477 deletions

2
go.mod
View File

@ -56,7 +56,7 @@ require (
github.com/spf13/cobra v1.6.1 github.com/spf13/cobra v1.6.1
github.com/spf13/viper v1.14.0 github.com/spf13/viper v1.14.0
github.com/stretchr/testify v1.8.1 github.com/stretchr/testify v1.8.1
github.com/swaggo/swag v1.8.7 github.com/swaggo/swag v1.8.9
github.com/tkuchiki/go-timezone v0.2.2 github.com/tkuchiki/go-timezone v0.2.2
github.com/ulule/limiter/v3 v3.10.0 github.com/ulule/limiter/v3 v3.10.0
github.com/vectordotdev/go-datemath v0.1.1-0.20211214182920-0a4ac8742b93 github.com/vectordotdev/go-datemath v0.1.1-0.20211214182920-0a4ac8742b93

2
go.sum
View File

@ -764,6 +764,8 @@ github.com/subosito/gotenv v1.4.1 h1:jyEFiXpy21Wm81FBN71l9VoMMV8H8jG+qIK3GCpY6Qs
github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
github.com/swaggo/swag v1.8.7 h1:2K9ivTD3teEO+2fXV6zrZKDqk5IuU2aJtBDo8U7omWU= github.com/swaggo/swag v1.8.7 h1:2K9ivTD3teEO+2fXV6zrZKDqk5IuU2aJtBDo8U7omWU=
github.com/swaggo/swag v1.8.7/go.mod h1:ezQVUUhly8dludpVk+/PuwJWvLLanB13ygV5Pr9enSk= github.com/swaggo/swag v1.8.7/go.mod h1:ezQVUUhly8dludpVk+/PuwJWvLLanB13ygV5Pr9enSk=
github.com/swaggo/swag v1.8.9 h1:kHtaBe/Ob9AZzAANfcn5c6RyCke9gG9QpH0jky0I/sA=
github.com/swaggo/swag v1.8.9/go.mod h1:ezQVUUhly8dludpVk+/PuwJWvLLanB13ygV5Pr9enSk=
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE= github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
github.com/tkuchiki/go-timezone v0.2.2 h1:MdHR65KwgVTwWFQrota4SKzc4L5EfuH5SdZZGtk/P2Q= github.com/tkuchiki/go-timezone v0.2.2 h1:MdHR65KwgVTwWFQrota4SKzc4L5EfuH5SdZZGtk/P2Q=

View File

@ -7727,36 +7727,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who initially created the bucket.", "description": "The user who initially created the bucket.",
"$ref": "#/definitions/user.User" "allOf": [
}, {
"filter_by": { "$ref": "#/definitions/user.User"
"description": "The field name of the field to filter by", }
"type": "array", ]
"items": {
"type": "string"
}
},
"filter_comparator": {
"description": "The comparator for field and value",
"type": "array",
"items": {
"type": "string"
}
},
"filter_concat": {
"description": "The way all filter conditions are concatenated together, can be either \"and\" or \"or\".,",
"type": "string"
},
"filter_include_nulls": {
"description": "If set to true, the result will also include null values",
"type": "boolean"
},
"filter_value": {
"description": "The value of the field name to filter by",
"type": "array",
"items": {
"type": "string"
}
}, },
"id": { "id": {
"description": "The unique, numeric id of this bucket.", "description": "The unique, numeric id of this bucket.",
@ -7775,24 +7750,10 @@ const docTemplate = `{
"description": "The list this bucket belongs to.", "description": "The list this bucket belongs to.",
"type": "integer" "type": "integer"
}, },
"order_by": {
"description": "The query parameter to order the items by. This can be either asc or desc, with asc being the default.",
"type": "array",
"items": {
"type": "string"
}
},
"position": { "position": {
"description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.", "description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.",
"type": "number" "type": "number"
}, },
"sort_by": {
"description": "The query parameter to sort by. This is for ex. done, priority, etc.",
"type": "array",
"items": {
"type": "string"
}
},
"tasks": { "tasks": {
"description": "All tasks which belong to this bucket.", "description": "All tasks which belong to this bucket.",
"type": "array", "type": "array",
@ -7808,9 +7769,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.", "description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkAssignees": { "models.BulkAssignees": {
@ -7822,9 +7781,7 @@ const docTemplate = `{
"items": { "items": {
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkTask": { "models.BulkTask": {
@ -7858,7 +7815,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who initially created the task.", "description": "The user who initially created the task.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The task description.", "description": "The task description.",
@ -7930,7 +7891,11 @@ const docTemplate = `{
}, },
"related_tasks": { "related_tasks": {
"description": "All related tasks, grouped by their relation kind", "description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap" "allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
}, },
"reminder_dates": { "reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.", "description": "An array of datetimes when the user wants to be reminded of the task.",
@ -7945,7 +7910,11 @@ const docTemplate = `{
}, },
"repeat_mode": { "repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.", "description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer" "allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
}, },
"start_date": { "start_date": {
"description": "When this task starts.", "description": "When this task starts.",
@ -7953,7 +7922,11 @@ const docTemplate = `{
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.", "description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"task_ids": { "task_ids": {
"description": "A list of task ids to update", "description": "A list of task ids to update",
@ -7970,9 +7943,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.DatabaseNotifications": { "models.DatabaseNotifications": {
@ -8000,9 +7971,7 @@ const docTemplate = `{
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Label": { "models.Label": {
@ -8014,7 +7983,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who created this label", "description": "The user who created this label",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The label description.", "description": "The label description.",
@ -8038,9 +8011,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.", "description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTask": { "models.LabelTask": {
@ -8053,9 +8024,7 @@ const docTemplate = `{
"label_id": { "label_id": {
"description": "The label id you want to associate with a task.", "description": "The label id you want to associate with a task.",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTaskBulk": { "models.LabelTaskBulk": {
@ -8067,9 +8036,7 @@ const docTemplate = `{
"items": { "items": {
"$ref": "#/definitions/models.Label" "$ref": "#/definitions/models.Label"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LinkSharing": { "models.LinkSharing": {
@ -8097,26 +8064,36 @@ const docTemplate = `{
}, },
"right": { "right": {
"description": "The right this list is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this list is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"shared_by": { "shared_by": {
"description": "The user who shared this list", "description": "The user who shared this list",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"sharing_type": { "sharing_type": {
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.", "description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.SharingType"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.", "description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.List": { "models.List": {
@ -8165,7 +8142,11 @@ const docTemplate = `{
}, },
"owner": { "owner": {
"description": "The user who created this list.", "description": "The user who created this list.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"position": { "position": {
"description": "The position this list has when querying all lists. See the tasks.position property on how to use this.", "description": "The position this list has when querying all lists. See the tasks.position property on how to use this.",
@ -8173,7 +8154,11 @@ const docTemplate = `{
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.", "description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The title of the list. You'll see this in the namespace overview.", "description": "The title of the list. You'll see this in the namespace overview.",
@ -8184,9 +8169,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this list was last updated. You cannot change this value.", "description": "A timestamp when this list was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListDuplicate": { "models.ListDuplicate": {
@ -8194,14 +8177,16 @@ const docTemplate = `{
"properties": { "properties": {
"list": { "list": {
"description": "The copied list", "description": "The copied list",
"$ref": "#/definitions/models.List" "allOf": [
{
"$ref": "#/definitions/models.List"
}
]
}, },
"namespace_id": { "namespace_id": {
"description": "The target namespace ID", "description": "The target namespace ID",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListUser": { "models.ListUser": {
@ -8217,9 +8202,13 @@ const docTemplate = `{
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8228,9 +8217,7 @@ const docTemplate = `{
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Message": { "models.Message": {
@ -8268,11 +8255,19 @@ const docTemplate = `{
}, },
"owner": { "owner": {
"description": "The user who owns this namespace", "description": "The user who owns this namespace",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.", "description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The name of this namespace.", "description": "The name of this namespace.",
@ -8283,9 +8278,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceUser": { "models.NamespaceUser": {
@ -8301,9 +8294,13 @@ const docTemplate = `{
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8312,9 +8309,7 @@ const docTemplate = `{
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceWithLists": { "models.NamespaceWithLists": {
@ -8349,11 +8344,19 @@ const docTemplate = `{
}, },
"owner": { "owner": {
"description": "The user who owns this namespace", "description": "The user who owns this namespace",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.", "description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The name of this namespace.", "description": "The name of this namespace.",
@ -8364,9 +8367,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.RelatedTaskMap": { "models.RelatedTaskMap": {
@ -8378,6 +8379,50 @@ const docTemplate = `{
} }
} }
}, },
"models.RelationKind": {
"type": "string",
"enum": [
"unknown",
"subtask",
"parenttask",
"related",
"duplicateof",
"duplicates",
"blocking",
"blocked",
"precedes",
"follows",
"copiedfrom",
"copiedto"
],
"x-enum-varnames": [
"RelationKindUnknown",
"RelationKindSubtask",
"RelationKindParenttask",
"RelationKindRelated",
"RelationKindDuplicateOf",
"RelationKindDuplicates",
"RelationKindBlocking",
"RelationKindBlocked",
"RelationKindPreceeds",
"RelationKindFollows",
"RelationKindCopiedFrom",
"RelationKindCopiedTo"
]
},
"models.Right": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"RightRead",
"RightWrite",
"RightAdmin"
]
},
"models.SavedFilter": { "models.SavedFilter": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8391,7 +8436,11 @@ const docTemplate = `{
}, },
"filters": { "filters": {
"description": "The actual filters this filter contains", "description": "The actual filters this filter contains",
"$ref": "#/definitions/models.TaskCollection" "allOf": [
{
"$ref": "#/definitions/models.TaskCollection"
}
]
}, },
"id": { "id": {
"description": "The unique numeric id of this saved filter", "description": "The unique numeric id of this saved filter",
@ -8403,7 +8452,11 @@ const docTemplate = `{
}, },
"owner": { "owner": {
"description": "The user who owns this filter", "description": "The user who owns this filter",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"title": { "title": {
"description": "The title of the filter.", "description": "The title of the filter.",
@ -8414,11 +8467,22 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.", "description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.SharingType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"SharingTypeUnknown",
"SharingTypeWithoutPassword",
"SharingTypeWithPassword"
]
},
"models.Subscription": { "models.Subscription": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8439,10 +8503,12 @@ const docTemplate = `{
}, },
"user": { "user": {
"description": "The user who made this subscription", "description": "The user who made this subscription",
"$ref": "#/definitions/user.User" "allOf": [
}, {
"web.CRUDable": {}, "$ref": "#/definitions/user.User"
"web.Rights": {} }
]
}
} }
}, },
"models.Task": { "models.Task": {
@ -8476,7 +8542,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who initially created the task.", "description": "The user who initially created the task.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The task description.", "description": "The task description.",
@ -8548,7 +8618,11 @@ const docTemplate = `{
}, },
"related_tasks": { "related_tasks": {
"description": "All related tasks, grouped by their relation kind", "description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap" "allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
}, },
"reminder_dates": { "reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.", "description": "An array of datetimes when the user wants to be reminded of the task.",
@ -8563,7 +8637,11 @@ const docTemplate = `{
}, },
"repeat_mode": { "repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.", "description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer" "allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
}, },
"start_date": { "start_date": {
"description": "When this task starts.", "description": "When this task starts.",
@ -8571,7 +8649,11 @@ const docTemplate = `{
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.", "description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The task text. This is what you'll see in the list.", "description": "The task text. This is what you'll see in the list.",
@ -8581,9 +8663,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAssginee": { "models.TaskAssginee": {
@ -8594,9 +8674,7 @@ const docTemplate = `{
}, },
"user_id": { "user_id": {
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAttachment": { "models.TaskAttachment": {
@ -8616,9 +8694,7 @@ const docTemplate = `{
}, },
"task_id": { "task_id": {
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskCollection": { "models.TaskCollection": {
@ -8666,9 +8742,7 @@ const docTemplate = `{
"items": { "items": {
"type": "string" "type": "string"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskComment": { "models.TaskComment": {
@ -8688,9 +8762,7 @@ const docTemplate = `{
}, },
"updated": { "updated": {
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRelation": { "models.TaskRelation": {
@ -8702,7 +8774,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who created this relation", "description": "The user who created this relation",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"other_task_id": { "other_task_id": {
"description": "The ID of the other task, the task which is being related.", "description": "The ID of the other task, the task which is being related.",
@ -8710,16 +8786,31 @@ const docTemplate = `{
}, },
"relation_kind": { "relation_kind": {
"description": "The kind of the relation.", "description": "The kind of the relation.",
"type": "string" "allOf": [
{
"$ref": "#/definitions/models.RelationKind"
}
]
}, },
"task_id": { "task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.", "description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRepeatMode": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"TaskRepeatModeDefault",
"TaskRepeatModeMonth",
"TaskRepeatModeFromCurrentDate"
]
},
"models.Team": { "models.Team": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8729,7 +8820,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who created this team.", "description": "The user who created this team.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The team's description.", "description": "The team's description.",
@ -8755,9 +8850,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamList": { "models.TeamList": {
@ -8773,9 +8866,13 @@ const docTemplate = `{
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"team_id": { "team_id": {
"description": "The team id.", "description": "The team id.",
@ -8784,9 +8881,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamMember": { "models.TeamMember": {
@ -8807,9 +8902,7 @@ const docTemplate = `{
"username": { "username": {
"description": "The username of the member. We use this to prevent automated user id entering.", "description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamNamespace": { "models.TeamNamespace": {
@ -8825,9 +8918,13 @@ const docTemplate = `{
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"team_id": { "team_id": {
"description": "The team id.", "description": "The team id.",
@ -8836,9 +8933,7 @@ const docTemplate = `{
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamUser": { "models.TeamUser": {
@ -8874,8 +8969,7 @@ const docTemplate = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"models.TeamWithRight": { "models.TeamWithRight": {
@ -8887,7 +8981,11 @@ const docTemplate = `{
}, },
"created_by": { "created_by": {
"description": "The user who created this team.", "description": "The user who created this team.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The team's description.", "description": "The team's description.",
@ -8911,16 +9009,12 @@ const docTemplate = `{
"minLength": 1 "minLength": 1
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "$ref": "#/definitions/models.Right"
"type": "integer",
"default": 0
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.UserWithRight": { "models.UserWithRight": {
@ -8944,9 +9038,7 @@ const docTemplate = `{
"type": "string" "type": "string"
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "$ref": "#/definitions/models.Right"
"type": "integer",
"default": 0
}, },
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
@ -8957,8 +9049,7 @@ const docTemplate = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"notifications.DatabaseNotification": { "notifications.DatabaseNotification": {
@ -9187,8 +9278,7 @@ const docTemplate = `{
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"v1.LinkShareAuth": { "v1.LinkShareAuth": {

View File

@ -7718,36 +7718,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who initially created the bucket.", "description": "The user who initially created the bucket.",
"$ref": "#/definitions/user.User" "allOf": [
}, {
"filter_by": { "$ref": "#/definitions/user.User"
"description": "The field name of the field to filter by", }
"type": "array", ]
"items": {
"type": "string"
}
},
"filter_comparator": {
"description": "The comparator for field and value",
"type": "array",
"items": {
"type": "string"
}
},
"filter_concat": {
"description": "The way all filter conditions are concatenated together, can be either \"and\" or \"or\".,",
"type": "string"
},
"filter_include_nulls": {
"description": "If set to true, the result will also include null values",
"type": "boolean"
},
"filter_value": {
"description": "The value of the field name to filter by",
"type": "array",
"items": {
"type": "string"
}
}, },
"id": { "id": {
"description": "The unique, numeric id of this bucket.", "description": "The unique, numeric id of this bucket.",
@ -7766,24 +7741,10 @@
"description": "The list this bucket belongs to.", "description": "The list this bucket belongs to.",
"type": "integer" "type": "integer"
}, },
"order_by": {
"description": "The query parameter to order the items by. This can be either asc or desc, with asc being the default.",
"type": "array",
"items": {
"type": "string"
}
},
"position": { "position": {
"description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.", "description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.",
"type": "number" "type": "number"
}, },
"sort_by": {
"description": "The query parameter to sort by. This is for ex. done, priority, etc.",
"type": "array",
"items": {
"type": "string"
}
},
"tasks": { "tasks": {
"description": "All tasks which belong to this bucket.", "description": "All tasks which belong to this bucket.",
"type": "array", "type": "array",
@ -7799,9 +7760,7 @@
"updated": { "updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.", "description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkAssignees": { "models.BulkAssignees": {
@ -7813,9 +7772,7 @@
"items": { "items": {
"$ref": "#/definitions/user.User" "$ref": "#/definitions/user.User"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.BulkTask": { "models.BulkTask": {
@ -7849,7 +7806,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who initially created the task.", "description": "The user who initially created the task.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The task description.", "description": "The task description.",
@ -7921,7 +7882,11 @@
}, },
"related_tasks": { "related_tasks": {
"description": "All related tasks, grouped by their relation kind", "description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap" "allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
}, },
"reminder_dates": { "reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.", "description": "An array of datetimes when the user wants to be reminded of the task.",
@ -7936,7 +7901,11 @@
}, },
"repeat_mode": { "repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.", "description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer" "allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
}, },
"start_date": { "start_date": {
"description": "When this task starts.", "description": "When this task starts.",
@ -7944,7 +7913,11 @@
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.", "description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"task_ids": { "task_ids": {
"description": "A list of task ids to update", "description": "A list of task ids to update",
@ -7961,9 +7934,7 @@
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.DatabaseNotifications": { "models.DatabaseNotifications": {
@ -7991,9 +7962,7 @@
"read_at": { "read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.", "description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Label": { "models.Label": {
@ -8005,7 +7974,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who created this label", "description": "The user who created this label",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The label description.", "description": "The label description.",
@ -8029,9 +8002,7 @@
"updated": { "updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.", "description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTask": { "models.LabelTask": {
@ -8044,9 +8015,7 @@
"label_id": { "label_id": {
"description": "The label id you want to associate with a task.", "description": "The label id you want to associate with a task.",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LabelTaskBulk": { "models.LabelTaskBulk": {
@ -8058,9 +8027,7 @@
"items": { "items": {
"$ref": "#/definitions/models.Label" "$ref": "#/definitions/models.Label"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.LinkSharing": { "models.LinkSharing": {
@ -8088,26 +8055,36 @@
}, },
"right": { "right": {
"description": "The right this list is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this list is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"shared_by": { "shared_by": {
"description": "The user who shared this list", "description": "The user who shared this list",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"sharing_type": { "sharing_type": {
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.", "description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.SharingType"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.", "description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.List": { "models.List": {
@ -8156,7 +8133,11 @@
}, },
"owner": { "owner": {
"description": "The user who created this list.", "description": "The user who created this list.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"position": { "position": {
"description": "The position this list has when querying all lists. See the tasks.position property on how to use this.", "description": "The position this list has when querying all lists. See the tasks.position property on how to use this.",
@ -8164,7 +8145,11 @@
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.", "description": "The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one list.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The title of the list. You'll see this in the namespace overview.", "description": "The title of the list. You'll see this in the namespace overview.",
@ -8175,9 +8160,7 @@
"updated": { "updated": {
"description": "A timestamp when this list was last updated. You cannot change this value.", "description": "A timestamp when this list was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListDuplicate": { "models.ListDuplicate": {
@ -8185,14 +8168,16 @@
"properties": { "properties": {
"list": { "list": {
"description": "The copied list", "description": "The copied list",
"$ref": "#/definitions/models.List" "allOf": [
{
"$ref": "#/definitions/models.List"
}
]
}, },
"namespace_id": { "namespace_id": {
"description": "The target namespace ID", "description": "The target namespace ID",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.ListUser": { "models.ListUser": {
@ -8208,9 +8193,13 @@
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8219,9 +8208,7 @@
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.Message": { "models.Message": {
@ -8259,11 +8246,19 @@
}, },
"owner": { "owner": {
"description": "The user who owns this namespace", "description": "The user who owns this namespace",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.", "description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The name of this namespace.", "description": "The name of this namespace.",
@ -8274,9 +8269,7 @@
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceUser": { "models.NamespaceUser": {
@ -8292,9 +8285,13 @@
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -8303,9 +8300,7 @@
"user_id": { "user_id": {
"description": "The username.", "description": "The username.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.NamespaceWithLists": { "models.NamespaceWithLists": {
@ -8340,11 +8335,19 @@
}, },
"owner": { "owner": {
"description": "The user who owns this namespace", "description": "The user who owns this namespace",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.", "description": "The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one namespace.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The name of this namespace.", "description": "The name of this namespace.",
@ -8355,9 +8358,7 @@
"updated": { "updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.", "description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.RelatedTaskMap": { "models.RelatedTaskMap": {
@ -8369,6 +8370,50 @@
} }
} }
}, },
"models.RelationKind": {
"type": "string",
"enum": [
"unknown",
"subtask",
"parenttask",
"related",
"duplicateof",
"duplicates",
"blocking",
"blocked",
"precedes",
"follows",
"copiedfrom",
"copiedto"
],
"x-enum-varnames": [
"RelationKindUnknown",
"RelationKindSubtask",
"RelationKindParenttask",
"RelationKindRelated",
"RelationKindDuplicateOf",
"RelationKindDuplicates",
"RelationKindBlocking",
"RelationKindBlocked",
"RelationKindPreceeds",
"RelationKindFollows",
"RelationKindCopiedFrom",
"RelationKindCopiedTo"
]
},
"models.Right": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"RightRead",
"RightWrite",
"RightAdmin"
]
},
"models.SavedFilter": { "models.SavedFilter": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8382,7 +8427,11 @@
}, },
"filters": { "filters": {
"description": "The actual filters this filter contains", "description": "The actual filters this filter contains",
"$ref": "#/definitions/models.TaskCollection" "allOf": [
{
"$ref": "#/definitions/models.TaskCollection"
}
]
}, },
"id": { "id": {
"description": "The unique numeric id of this saved filter", "description": "The unique numeric id of this saved filter",
@ -8394,7 +8443,11 @@
}, },
"owner": { "owner": {
"description": "The user who owns this filter", "description": "The user who owns this filter",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"title": { "title": {
"description": "The title of the filter.", "description": "The title of the filter.",
@ -8405,11 +8458,22 @@
"updated": { "updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.", "description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.SharingType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"SharingTypeUnknown",
"SharingTypeWithoutPassword",
"SharingTypeWithPassword"
]
},
"models.Subscription": { "models.Subscription": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8430,10 +8494,12 @@
}, },
"user": { "user": {
"description": "The user who made this subscription", "description": "The user who made this subscription",
"$ref": "#/definitions/user.User" "allOf": [
}, {
"web.CRUDable": {}, "$ref": "#/definitions/user.User"
"web.Rights": {} }
]
}
} }
}, },
"models.Task": { "models.Task": {
@ -8467,7 +8533,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who initially created the task.", "description": "The user who initially created the task.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The task description.", "description": "The task description.",
@ -8539,7 +8609,11 @@
}, },
"related_tasks": { "related_tasks": {
"description": "All related tasks, grouped by their relation kind", "description": "All related tasks, grouped by their relation kind",
"$ref": "#/definitions/models.RelatedTaskMap" "allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
}, },
"reminder_dates": { "reminder_dates": {
"description": "An array of datetimes when the user wants to be reminded of the task.", "description": "An array of datetimes when the user wants to be reminded of the task.",
@ -8554,7 +8628,11 @@
}, },
"repeat_mode": { "repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.", "description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer" "allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
}, },
"start_date": { "start_date": {
"description": "When this task starts.", "description": "When this task starts.",
@ -8562,7 +8640,11 @@
}, },
"subscription": { "subscription": {
"description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.", "description": "The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one task.",
"$ref": "#/definitions/models.Subscription" "allOf": [
{
"$ref": "#/definitions/models.Subscription"
}
]
}, },
"title": { "title": {
"description": "The task text. This is what you'll see in the list.", "description": "The task text. This is what you'll see in the list.",
@ -8572,9 +8654,7 @@
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAssginee": { "models.TaskAssginee": {
@ -8585,9 +8665,7 @@
}, },
"user_id": { "user_id": {
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskAttachment": { "models.TaskAttachment": {
@ -8607,9 +8685,7 @@
}, },
"task_id": { "task_id": {
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskCollection": { "models.TaskCollection": {
@ -8657,9 +8733,7 @@
"items": { "items": {
"type": "string" "type": "string"
} }
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskComment": { "models.TaskComment": {
@ -8679,9 +8753,7 @@
}, },
"updated": { "updated": {
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRelation": { "models.TaskRelation": {
@ -8693,7 +8765,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who created this relation", "description": "The user who created this relation",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"other_task_id": { "other_task_id": {
"description": "The ID of the other task, the task which is being related.", "description": "The ID of the other task, the task which is being related.",
@ -8701,16 +8777,31 @@
}, },
"relation_kind": { "relation_kind": {
"description": "The kind of the relation.", "description": "The kind of the relation.",
"type": "string" "allOf": [
{
"$ref": "#/definitions/models.RelationKind"
}
]
}, },
"task_id": { "task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.", "description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer" "type": "integer"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TaskRepeatMode": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"TaskRepeatModeDefault",
"TaskRepeatModeMonth",
"TaskRepeatModeFromCurrentDate"
]
},
"models.Team": { "models.Team": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -8720,7 +8811,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who created this team.", "description": "The user who created this team.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The team's description.", "description": "The team's description.",
@ -8746,9 +8841,7 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamList": { "models.TeamList": {
@ -8764,9 +8857,13 @@
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"team_id": { "team_id": {
"description": "The team id.", "description": "The team id.",
@ -8775,9 +8872,7 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamMember": { "models.TeamMember": {
@ -8798,9 +8893,7 @@
"username": { "username": {
"description": "The username of the member. We use this to prevent automated user id entering.", "description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamNamespace": { "models.TeamNamespace": {
@ -8816,9 +8909,13 @@
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
"type": "integer",
"default": 0, "default": 0,
"maximum": 2 "maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
}, },
"team_id": { "team_id": {
"description": "The team id.", "description": "The team id.",
@ -8827,9 +8924,7 @@
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.TeamUser": { "models.TeamUser": {
@ -8865,8 +8960,7 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"models.TeamWithRight": { "models.TeamWithRight": {
@ -8878,7 +8972,11 @@
}, },
"created_by": { "created_by": {
"description": "The user who created this team.", "description": "The user who created this team.",
"$ref": "#/definitions/user.User" "allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}, },
"description": { "description": {
"description": "The team's description.", "description": "The team's description.",
@ -8902,16 +9000,12 @@
"minLength": 1 "minLength": 1
}, },
"right": { "right": {
"description": "The right this team has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "$ref": "#/definitions/models.Right"
"type": "integer",
"default": 0
}, },
"updated": { "updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.", "description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string" "type": "string"
}, }
"web.CRUDable": {},
"web.Rights": {}
} }
}, },
"models.UserWithRight": { "models.UserWithRight": {
@ -8935,9 +9029,7 @@
"type": "string" "type": "string"
}, },
"right": { "right": {
"description": "The right this user has. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.", "$ref": "#/definitions/models.Right"
"type": "integer",
"default": 0
}, },
"updated": { "updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.", "description": "A timestamp when this task was last updated. You cannot change this value.",
@ -8948,8 +9040,7 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"notifications.DatabaseNotification": { "notifications.DatabaseNotification": {
@ -9178,8 +9269,7 @@
"type": "string", "type": "string",
"maxLength": 250, "maxLength": 250,
"minLength": 1 "minLength": 1
}, }
"web.Auth": {}
} }
}, },
"v1.LinkShareAuth": { "v1.LinkShareAuth": {

View File

@ -58,30 +58,9 @@ definitions:
value. value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who initially created the bucket. description: The user who initially created the bucket.
filter_by:
description: The field name of the field to filter by
items:
type: string
type: array
filter_comparator:
description: The comparator for field and value
items:
type: string
type: array
filter_concat:
description: The way all filter conditions are concatenated together, can
be either "and" or "or".,
type: string
filter_include_nulls:
description: If set to true, the result will also include null values
type: boolean
filter_value:
description: The value of the field name to filter by
items:
type: string
type: array
id: id:
description: The unique, numeric id of this bucket. description: The unique, numeric id of this bucket.
type: integer type: integer
@ -97,22 +76,10 @@ definitions:
list_id: list_id:
description: The list this bucket belongs to. description: The list this bucket belongs to.
type: integer type: integer
order_by:
description: The query parameter to order the items by. This can be either
asc or desc, with asc being the default.
items:
type: string
type: array
position: position:
description: The position this bucket has when querying all buckets. See the description: The position this bucket has when querying all buckets. See the
tasks.position property on how to use this. tasks.position property on how to use this.
type: number type: number
sort_by:
description: The query parameter to sort by. This is for ex. done, priority,
etc.
items:
type: string
type: array
tasks: tasks:
description: All tasks which belong to this bucket. description: All tasks which belong to this bucket.
items: items:
@ -126,8 +93,6 @@ definitions:
description: A timestamp when this bucket was last updated. You cannot change description: A timestamp when this bucket was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.BulkAssignees: models.BulkAssignees:
properties: properties:
@ -136,8 +101,6 @@ definitions:
items: items:
$ref: '#/definitions/user.User' $ref: '#/definitions/user.User'
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.BulkTask: models.BulkTask:
properties: properties:
@ -163,7 +126,8 @@ definitions:
value. value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who initially created the task. description: The user who initially created the task.
description: description:
description: The task description. description: The task description.
@ -228,7 +192,8 @@ definitions:
sort by this later. sort by this later.
type: integer type: integer
related_tasks: related_tasks:
$ref: '#/definitions/models.RelatedTaskMap' allOf:
- $ref: '#/definitions/models.RelatedTaskMap'
description: All related tasks, grouped by their relation kind description: All related tasks, grouped by their relation kind
reminder_dates: reminder_dates:
description: An array of datetimes when the user wants to be reminded of the description: An array of datetimes when the user wants to be reminded of the
@ -242,16 +207,18 @@ definitions:
increase all remindes and the due date by its amount. increase all remindes and the due date by its amount.
type: integer type: integer
repeat_mode: repeat_mode:
allOf:
- $ref: '#/definitions/models.TaskRepeatMode'
description: 'Can have three possible values which will trigger when the task description: 'Can have three possible values which will trigger when the task
is marked as done: 0 = repeats after the amount specified in repeat_after, is marked as done: 0 = repeats after the amount specified in repeat_after,
1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from
the current date rather than the last set date.' the current date rather than the last set date.'
type: integer
start_date: start_date:
description: When this task starts. description: When this task starts.
type: string type: string
subscription: subscription:
$ref: '#/definitions/models.Subscription' allOf:
- $ref: '#/definitions/models.Subscription'
description: |- description: |-
The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it. The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one task. Will only returned when retreiving one task.
@ -268,8 +235,6 @@ definitions:
description: A timestamp when this task was last updated. You cannot change description: A timestamp when this task was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.DatabaseNotifications: models.DatabaseNotifications:
properties: properties:
@ -294,8 +259,6 @@ definitions:
description: When this notification is marked as read, this will be updated description: When this notification is marked as read, this will be updated
with the current timestamp. with the current timestamp.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Label: models.Label:
properties: properties:
@ -304,7 +267,8 @@ definitions:
value. value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who created this label description: The user who created this label
description: description:
description: The label description. description: The label description.
@ -326,8 +290,6 @@ definitions:
description: A timestamp when this label was last updated. You cannot change description: A timestamp when this label was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LabelTask: models.LabelTask:
properties: properties:
@ -338,8 +300,6 @@ definitions:
label_id: label_id:
description: The label id you want to associate with a task. description: The label id you want to associate with a task.
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LabelTaskBulk: models.LabelTaskBulk:
properties: properties:
@ -348,8 +308,6 @@ definitions:
items: items:
$ref: '#/definitions/models.Label' $ref: '#/definitions/models.Label'
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.LinkSharing: models.LinkSharing:
properties: properties:
@ -372,26 +330,27 @@ definitions:
it after the link share has been created. it after the link share has been created.
type: string type: string
right: right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0 default: 0
description: The right this list is shared with. 0 = Read only, 1 = Read & description: The right this list is shared with. 0 = Read only, 1 = Read &
Write, 2 = Admin. See the docs for more details. Write, 2 = Admin. See the docs for more details.
maximum: 2 maximum: 2
type: integer
shared_by: shared_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who shared this list description: The user who shared this list
sharing_type: sharing_type:
allOf:
- $ref: '#/definitions/models.SharingType'
default: 0 default: 0
description: The kind of this link. 0 = undefined, 1 = without password, 2 description: The kind of this link. 0 = undefined, 1 = without password, 2
= with password. = with password.
maximum: 2 maximum: 2
type: integer
updated: updated:
description: A timestamp when this share was last updated. You cannot change description: A timestamp when this share was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.List: models.List:
properties: properties:
@ -433,14 +392,16 @@ definitions:
namespace_id: namespace_id:
type: integer type: integer
owner: owner:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who created this list. description: The user who created this list.
position: position:
description: The position this list has when querying all lists. See the tasks.position description: The position this list has when querying all lists. See the tasks.position
property on how to use this. property on how to use this.
type: number type: number
subscription: subscription:
$ref: '#/definitions/models.Subscription' allOf:
- $ref: '#/definitions/models.Subscription'
description: |- description: |-
The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it. The subscription status for the user reading this list. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one list. Will only returned when retreiving one list.
@ -453,19 +414,16 @@ definitions:
description: A timestamp when this list was last updated. You cannot change description: A timestamp when this list was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.ListDuplicate: models.ListDuplicate:
properties: properties:
list: list:
$ref: '#/definitions/models.List' allOf:
- $ref: '#/definitions/models.List'
description: The copied list description: The copied list
namespace_id: namespace_id:
description: The target namespace ID description: The target namespace ID
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.ListUser: models.ListUser:
properties: properties:
@ -477,11 +435,12 @@ definitions:
description: The unique, numeric id of this list <-> user relation. description: The unique, numeric id of this list <-> user relation.
type: integer type: integer
right: right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0 default: 0
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 = description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details. Admin. See the docs for more details.
maximum: 2 maximum: 2
type: integer
updated: updated:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
@ -489,8 +448,6 @@ definitions:
user_id: user_id:
description: The username. description: The username.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Message: models.Message:
properties: properties:
@ -518,10 +475,12 @@ definitions:
description: Whether or not a namespace is archived. description: Whether or not a namespace is archived.
type: boolean type: boolean
owner: owner:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who owns this namespace description: The user who owns this namespace
subscription: subscription:
$ref: '#/definitions/models.Subscription' allOf:
- $ref: '#/definitions/models.Subscription'
description: |- description: |-
The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it. The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one namespace. Will only returned when retreiving one namespace.
@ -534,8 +493,6 @@ definitions:
description: A timestamp when this namespace was last updated. You cannot description: A timestamp when this namespace was last updated. You cannot
change this value. change this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.NamespaceUser: models.NamespaceUser:
properties: properties:
@ -547,11 +504,12 @@ definitions:
description: The unique, numeric id of this namespace <-> user relation. description: The unique, numeric id of this namespace <-> user relation.
type: integer type: integer
right: right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0 default: 0
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 = description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details. Admin. See the docs for more details.
maximum: 2 maximum: 2
type: integer
updated: updated:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
@ -559,8 +517,6 @@ definitions:
user_id: user_id:
description: The username. description: The username.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.NamespaceWithLists: models.NamespaceWithLists:
properties: properties:
@ -586,10 +542,12 @@ definitions:
$ref: '#/definitions/models.List' $ref: '#/definitions/models.List'
type: array type: array
owner: owner:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who owns this namespace description: The user who owns this namespace
subscription: subscription:
$ref: '#/definitions/models.Subscription' allOf:
- $ref: '#/definitions/models.Subscription'
description: |- description: |-
The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it. The subscription status for the user reading this namespace. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one namespace. Will only returned when retreiving one namespace.
@ -602,8 +560,6 @@ definitions:
description: A timestamp when this namespace was last updated. You cannot description: A timestamp when this namespace was last updated. You cannot
change this value. change this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.RelatedTaskMap: models.RelatedTaskMap:
additionalProperties: additionalProperties:
@ -611,6 +567,44 @@ definitions:
$ref: '#/definitions/models.Task' $ref: '#/definitions/models.Task'
type: array type: array
type: object type: object
models.RelationKind:
enum:
- unknown
- subtask
- parenttask
- related
- duplicateof
- duplicates
- blocking
- blocked
- precedes
- follows
- copiedfrom
- copiedto
type: string
x-enum-varnames:
- RelationKindUnknown
- RelationKindSubtask
- RelationKindParenttask
- RelationKindRelated
- RelationKindDuplicateOf
- RelationKindDuplicates
- RelationKindBlocking
- RelationKindBlocked
- RelationKindPreceeds
- RelationKindFollows
- RelationKindCopiedFrom
- RelationKindCopiedTo
models.Right:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- RightRead
- RightWrite
- RightAdmin
models.SavedFilter: models.SavedFilter:
properties: properties:
created: created:
@ -621,7 +615,8 @@ definitions:
description: The description of the filter description: The description of the filter
type: string type: string
filters: filters:
$ref: '#/definitions/models.TaskCollection' allOf:
- $ref: '#/definitions/models.TaskCollection'
description: The actual filters this filter contains description: The actual filters this filter contains
id: id:
description: The unique numeric id of this saved filter description: The unique numeric id of this saved filter
@ -631,7 +626,8 @@ definitions:
a separate namespace together with favorite lists. a separate namespace together with favorite lists.
type: boolean type: boolean
owner: owner:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who owns this filter description: The user who owns this filter
title: title:
description: The title of the filter. description: The title of the filter.
@ -642,9 +638,17 @@ definitions:
description: A timestamp when this filter was last updated. You cannot change description: A timestamp when this filter was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.SharingType:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- SharingTypeUnknown
- SharingTypeWithoutPassword
- SharingTypeWithPassword
models.Subscription: models.Subscription:
properties: properties:
created: created:
@ -660,10 +664,9 @@ definitions:
description: The numeric ID of the subscription description: The numeric ID of the subscription
type: integer type: integer
user: user:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who made this subscription description: The user who made this subscription
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.Task: models.Task:
properties: properties:
@ -689,7 +692,8 @@ definitions:
value. value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who initially created the task. description: The user who initially created the task.
description: description:
description: The task description. description: The task description.
@ -754,7 +758,8 @@ definitions:
sort by this later. sort by this later.
type: integer type: integer
related_tasks: related_tasks:
$ref: '#/definitions/models.RelatedTaskMap' allOf:
- $ref: '#/definitions/models.RelatedTaskMap'
description: All related tasks, grouped by their relation kind description: All related tasks, grouped by their relation kind
reminder_dates: reminder_dates:
description: An array of datetimes when the user wants to be reminded of the description: An array of datetimes when the user wants to be reminded of the
@ -768,16 +773,18 @@ definitions:
increase all remindes and the due date by its amount. increase all remindes and the due date by its amount.
type: integer type: integer
repeat_mode: repeat_mode:
allOf:
- $ref: '#/definitions/models.TaskRepeatMode'
description: 'Can have three possible values which will trigger when the task description: 'Can have three possible values which will trigger when the task
is marked as done: 0 = repeats after the amount specified in repeat_after, is marked as done: 0 = repeats after the amount specified in repeat_after,
1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from
the current date rather than the last set date.' the current date rather than the last set date.'
type: integer
start_date: start_date:
description: When this task starts. description: When this task starts.
type: string type: string
subscription: subscription:
$ref: '#/definitions/models.Subscription' allOf:
- $ref: '#/definitions/models.Subscription'
description: |- description: |-
The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it. The subscription status for the user reading this task. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one task. Will only returned when retreiving one task.
@ -789,8 +796,6 @@ definitions:
description: A timestamp when this task was last updated. You cannot change description: A timestamp when this task was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskAssginee: models.TaskAssginee:
properties: properties:
@ -798,8 +803,6 @@ definitions:
type: string type: string
user_id: user_id:
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskAttachment: models.TaskAttachment:
properties: properties:
@ -813,8 +816,6 @@ definitions:
type: integer type: integer
task_id: task_id:
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskCollection: models.TaskCollection:
properties: properties:
@ -852,8 +853,6 @@ definitions:
items: items:
type: string type: string
type: array type: array
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskComment: models.TaskComment:
properties: properties:
@ -867,8 +866,6 @@ definitions:
type: integer type: integer
updated: updated:
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskRelation: models.TaskRelation:
properties: properties:
@ -877,20 +874,30 @@ definitions:
value. value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who created this relation description: The user who created this relation
other_task_id: other_task_id:
description: The ID of the other task, the task which is being related. description: The ID of the other task, the task which is being related.
type: integer type: integer
relation_kind: relation_kind:
allOf:
- $ref: '#/definitions/models.RelationKind'
description: The kind of the relation. description: The kind of the relation.
type: string
task_id: task_id:
description: The ID of the "base" task, the task which has a relation to another. description: The ID of the "base" task, the task which has a relation to another.
type: integer type: integer
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TaskRepeatMode:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- TaskRepeatModeDefault
- TaskRepeatModeMonth
- TaskRepeatModeFromCurrentDate
models.Team: models.Team:
properties: properties:
created: created:
@ -898,7 +905,8 @@ definitions:
this value. this value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who created this team. description: The user who created this team.
description: description:
description: The team's description. description: The team's description.
@ -920,8 +928,6 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamList: models.TeamList:
properties: properties:
@ -933,11 +939,12 @@ definitions:
description: The unique, numeric id of this list <-> team relation. description: The unique, numeric id of this list <-> team relation.
type: integer type: integer
right: right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0 default: 0
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 = description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details. Admin. See the docs for more details.
maximum: 2 maximum: 2
type: integer
team_id: team_id:
description: The team id. description: The team id.
type: integer type: integer
@ -945,8 +952,6 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamMember: models.TeamMember:
properties: properties:
@ -965,8 +970,6 @@ definitions:
description: The username of the member. We use this to prevent automated description: The username of the member. We use this to prevent automated
user id entering. user id entering.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamNamespace: models.TeamNamespace:
properties: properties:
@ -978,11 +981,12 @@ definitions:
description: The unique, numeric id of this namespace <-> team relation. description: The unique, numeric id of this namespace <-> team relation.
type: integer type: integer
right: right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0 default: 0
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 = description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details. Admin. See the docs for more details.
maximum: 2 maximum: 2
type: integer
team_id: team_id:
description: The team id. description: The team id.
type: integer type: integer
@ -990,8 +994,6 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.TeamUser: models.TeamUser:
properties: properties:
@ -1022,7 +1024,6 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
models.TeamWithRight: models.TeamWithRight:
properties: properties:
@ -1031,7 +1032,8 @@ definitions:
this value. this value.
type: string type: string
created_by: created_by:
$ref: '#/definitions/user.User' allOf:
- $ref: '#/definitions/user.User'
description: The user who created this team. description: The user who created this team.
description: description:
description: The team's description. description: The team's description.
@ -1050,16 +1052,11 @@ definitions:
minLength: 1 minLength: 1
type: string type: string
right: right:
default: 0 $ref: '#/definitions/models.Right'
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
type: integer
updated: updated:
description: A timestamp when this relation was last updated. You cannot change description: A timestamp when this relation was last updated. You cannot change
this value. this value.
type: string type: string
web.CRUDable: {}
web.Rights: {}
type: object type: object
models.UserWithRight: models.UserWithRight:
properties: properties:
@ -1078,10 +1075,7 @@ definitions:
description: The full name of the user. description: The full name of the user.
type: string type: string
right: right:
default: 0 $ref: '#/definitions/models.Right'
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
type: integer
updated: updated:
description: A timestamp when this task was last updated. You cannot change description: A timestamp when this task was last updated. You cannot change
this value. this value.
@ -1091,7 +1085,6 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
notifications.DatabaseNotification: notifications.DatabaseNotification:
properties: properties:
@ -1258,7 +1251,6 @@ definitions:
maxLength: 250 maxLength: 250
minLength: 1 minLength: 1
type: string type: string
web.Auth: {}
type: object type: object
v1.LinkShareAuth: v1.LinkShareAuth:
properties: properties: