feat: assign users to teams via OIDC claims #1393

Merged
konrad merged 93 commits from viehlieb/api:950_reworked_assign_teams_via_oidc into main 2024-03-02 08:47:12 +00:00
3 changed files with 966 additions and 584 deletions
Showing only changes of commit e9d6992567 - Show all commits

View File

@ -7272,11 +7272,36 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the bucket.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"filter_by": {
"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": {
"description": "The unique, numeric id of this bucket.",
@ -7287,13 +7312,36 @@ const docTemplate = `{
"type": "integer",
"minimum": 0
},
<<<<<<< HEAD
=======
"list_id": {
"description": "The list this bucket belongs to.",
"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"
}
},
>>>>>>> 4567a680... do the swag
"position": {
"description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.",
"type": "number"
},
<<<<<<< HEAD
"project_id": {
"description": "The project this bucket belongs to.",
"type": "integer"
=======
"sort_by": {
"description": "The query parameter to sort by. This is for ex. done, priority, etc.",
"type": "array",
"items": {
"type": "string"
}
>>>>>>> 4567a680... do the swag
},
"tasks": {
"description": "All tasks which belong to this bucket.",
@ -7310,7 +7358,9 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.BulkAssignees": {
@ -7322,7 +7372,9 @@ const docTemplate = `{
"items": {
"$ref": "#/definitions/user.User"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.BulkTask": {
@ -7356,11 +7408,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the task.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The task description.",
@ -7432,11 +7480,7 @@ const docTemplate = `{
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
"$ref": "#/definitions/models.RelatedTaskMap"
},
"reminders": {
"description": "An array of reminders that are associated with this task.",
@ -7451,23 +7495,24 @@ const docTemplate = `{
},
"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.",
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
"type": "string"
},
"subscription": {
<<<<<<< HEAD
"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 retrieving one task.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
>>>>>>> 4567a680... do the swag
},
"task_ids": {
"description": "A project of task ids to update",
@ -7484,7 +7529,9 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.DatabaseNotifications": {
@ -7512,7 +7559,9 @@ const docTemplate = `{
"read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Label": {
@ -7524,11 +7573,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this label",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The label description.",
@ -7552,7 +7597,9 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LabelTask": {
@ -7565,7 +7612,9 @@ const docTemplate = `{
"label_id": {
"description": "The label id you want to associate with a task.",
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LabelTaskBulk": {
@ -7577,7 +7626,9 @@ const docTemplate = `{
"items": {
"$ref": "#/definitions/models.Label"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LinkSharing": {
@ -7604,37 +7655,40 @@ const docTemplate = `{
"type": "string"
},
"right": {
<<<<<<< HEAD
"description": "The right this project 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",
>>>>>>> 4567a680... do the swag
"default": 0,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"shared_by": {
<<<<<<< HEAD
"description": "The user who shared this project",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
=======
"description": "The user who shared this list",
"$ref": "#/definitions/user.User"
>>>>>>> 4567a680... do the swag
},
"sharing_type": {
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
"type": "integer",
"default": 0,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.SharingType"
}
]
"maximum": 2
},
"updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Message": {
@ -7696,12 +7750,17 @@ const docTemplate = `{
"type": "boolean"
},
"owner": {
<<<<<<< HEAD
"description": "The user who created this project.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
=======
"description": "The user who created this list.",
"$ref": "#/definitions/user.User"
>>>>>>> 4567a680... do the swag
},
"parent_project_id": {
"type": "integer"
@ -7711,12 +7770,17 @@ const docTemplate = `{
"type": "number"
},
"subscription": {
<<<<<<< HEAD
"description": "The subscription status for the user reading this project. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one project.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
>>>>>>> 4567a680... do the swag
},
"title": {
"description": "The title of the project. You'll see this in the overview.",
@ -7727,9 +7791,12 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this project was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
<<<<<<< HEAD
"models.ProjectDuplicate": {
"type": "object",
"properties": {
@ -7745,6 +7812,105 @@ const docTemplate = `{
"description": "The target parent project",
"type": "integer"
}
=======
"models.ListDuplicate": {
"type": "object",
"properties": {
"list": {
"description": "The copied list",
"$ref": "#/definitions/models.List"
},
"namespace_id": {
"description": "The target namespace ID",
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.ListUser": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this relation was created. You cannot change this value.",
"type": "string"
},
"id": {
"description": "The unique, numeric id of this list \u003c-\u003e user relation.",
"type": "integer"
},
"right": {
"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,
"maximum": 2
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"user_id": {
"description": "The username.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Message": {
"type": "object",
"properties": {
"message": {
"description": "A standard message.",
"type": "string"
}
}
},
"models.Namespace": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this namespace was created. You cannot change this value.",
"type": "string"
},
"description": {
"description": "The description of the namespace",
"type": "string"
},
"hex_color": {
"description": "The hex color of this namespace",
"type": "string",
"maxLength": 6
},
"id": {
"description": "The unique, numeric id of this namespace.",
"type": "integer"
},
"is_archived": {
"description": "Whether or not a namespace is archived.",
"type": "boolean"
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
},
"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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The name of this namespace.",
"type": "string",
"maxLength": 250,
"minLength": 1
},
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
>>>>>>> 4567a680... do the swag
}
},
"models.ProjectUser": {
@ -7760,13 +7926,9 @@ const docTemplate = `{
},
"right": {
"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,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -7775,9 +7937,66 @@ const docTemplate = `{
"user_id": {
"description": "The username.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
<<<<<<< HEAD
=======
"models.NamespaceWithLists": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this namespace was created. You cannot change this value.",
"type": "string"
},
"description": {
"description": "The description of the namespace",
"type": "string"
},
"hex_color": {
"description": "The hex color of this namespace",
"type": "string",
"maxLength": 6
},
"id": {
"description": "The unique, numeric id of this namespace.",
"type": "integer"
},
"is_archived": {
"description": "Whether or not a namespace is archived.",
"type": "boolean"
},
"lists": {
"type": "array",
"items": {
"$ref": "#/definitions/models.List"
}
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
},
"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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The name of this namespace.",
"type": "string",
"maxLength": 250,
"minLength": 1
},
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
>>>>>>> 4567a680... do the swag
"models.RelatedTaskMap": {
"type": "object",
"additionalProperties": {
@ -7787,6 +8006,7 @@ const docTemplate = `{
}
}
},
<<<<<<< HEAD
"models.RelationKind": {
"type": "string",
"enum": [
@ -7855,6 +8075,8 @@ const docTemplate = `{
}
}
},
=======
>>>>>>> 4567a680... do the swag
"models.SavedFilter": {
"type": "object",
"properties": {
@ -7868,11 +8090,7 @@ const docTemplate = `{
},
"filters": {
"description": "The actual filters this filter contains",
"allOf": [
{
"$ref": "#/definitions/models.TaskCollection"
}
]
"$ref": "#/definitions/models.TaskCollection"
},
"id": {
"description": "The unique numeric id of this saved filter",
@ -7884,11 +8102,7 @@ const docTemplate = `{
},
"owner": {
"description": "The user who owns this filter",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"title": {
"description": "The title of the filter.",
@ -7899,22 +8113,11 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.SharingType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"SharingTypeUnknown",
"SharingTypeWithoutPassword",
"SharingTypeWithPassword"
]
},
"models.Subscription": {
"type": "object",
"properties": {
@ -7935,12 +8138,10 @@ const docTemplate = `{
},
"user": {
"description": "The user who made this subscription",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}
"$ref": "#/definitions/user.User"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Task": {
@ -7974,11 +8175,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who initially created the task.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The task description.",
@ -8050,11 +8247,7 @@ const docTemplate = `{
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
"$ref": "#/definitions/models.RelatedTaskMap"
},
"reminders": {
"description": "An array of reminders that are associated with this task.",
@ -8069,23 +8262,15 @@ const docTemplate = `{
},
"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.",
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
"type": "string"
},
"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 retrieving one task.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The task text. This is what you'll see in the project.",
@ -8095,7 +8280,9 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskAssginee": {
@ -8106,7 +8293,9 @@ const docTemplate = `{
},
"user_id": {
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskAttachment": {
@ -8126,7 +8315,9 @@ const docTemplate = `{
},
"task_id": {
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskCollection": {
@ -8174,7 +8365,9 @@ const docTemplate = `{
"items": {
"type": "string"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskComment": {
@ -8194,7 +8387,9 @@ const docTemplate = `{
},
"updated": {
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskRelation": {
@ -8206,11 +8401,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this relation",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"other_task_id": {
"description": "The ID of the other task, the task which is being related.",
@ -8218,18 +8409,17 @@ const docTemplate = `{
},
"relation_kind": {
"description": "The kind of the relation.",
"allOf": [
{
"$ref": "#/definitions/models.RelationKind"
}
]
"type": "string"
},
"task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
<<<<<<< HEAD
"models.TaskReminder": {
"type": "object",
"properties": {
@ -8264,6 +8454,8 @@ const docTemplate = `{
"TaskRepeatModeFromCurrentDate"
]
},
=======
>>>>>>> 4567a680... do the swag
"models.Team": {
"type": "object",
"properties": {
@ -8273,11 +8465,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this team.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The team's description.",
@ -8308,9 +8496,43 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
<<<<<<< HEAD
=======
"models.TeamList": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this relation was created. You cannot change this value.",
"type": "string"
},
"id": {
"description": "The unique, numeric id of this list \u003c-\u003e team relation.",
"type": "integer"
},
"right": {
"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,
"maximum": 2
},
"team_id": {
"description": "The team id.",
"type": "integer"
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
>>>>>>> 4567a680... do the swag
"models.TeamMember": {
"type": "object",
"properties": {
@ -8329,7 +8551,9 @@ const docTemplate = `{
"username": {
"description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamProject": {
@ -8345,13 +8569,9 @@ const docTemplate = `{
},
"right": {
"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,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"team_id": {
"description": "The team id.",
@ -8360,7 +8580,9 @@ const docTemplate = `{
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamUser": {
@ -8396,7 +8618,8 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"models.TeamWithRight": {
@ -8408,11 +8631,7 @@ const docTemplate = `{
},
"created_by": {
"description": "The user who created this team.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The team's description.",
@ -8441,12 +8660,16 @@ const docTemplate = `{
"maxLength": 250
},
"right": {
"$ref": "#/definitions/models.Right"
"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
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.UserWithRight": {
@ -8470,7 +8693,9 @@ const docTemplate = `{
"type": "string"
},
"right": {
"$ref": "#/definitions/models.Right"
"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
},
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
@ -8481,7 +8706,8 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"models.Webhook": {
@ -8763,7 +8989,8 @@ const docTemplate = `{
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"v1.LinkShareAuth": {

View File

@ -7264,11 +7264,36 @@
},
"created_by": {
"description": "The user who initially created the bucket.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"filter_by": {
"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": {
"description": "The unique, numeric id of this bucket.",
@ -7279,13 +7304,27 @@
"type": "integer",
"minimum": 0
},
"list_id": {
"description": "The list this bucket belongs to.",
"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": {
"description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.",
"type": "number"
},
"project_id": {
"description": "The project this bucket belongs to.",
"type": "integer"
"sort_by": {
"description": "The query parameter to sort by. This is for ex. done, priority, etc.",
"type": "array",
"items": {
"type": "string"
}
},
"tasks": {
"description": "All tasks which belong to this bucket.",
@ -7302,7 +7341,9 @@
"updated": {
"description": "A timestamp when this bucket was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.BulkAssignees": {
@ -7314,7 +7355,9 @@
"items": {
"$ref": "#/definitions/user.User"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.BulkTask": {
@ -7348,11 +7391,7 @@
},
"created_by": {
"description": "The user who initially created the task.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The task description.",
@ -7424,11 +7463,7 @@
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
"$ref": "#/definitions/models.RelatedTaskMap"
},
"reminders": {
"description": "An array of reminders that are associated with this task.",
@ -7443,23 +7478,15 @@
},
"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.",
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
"type": "string"
},
"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 retrieving one task.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
},
"task_ids": {
"description": "A project of task ids to update",
@ -7476,7 +7503,9 @@
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.DatabaseNotifications": {
@ -7504,7 +7533,9 @@
"read_at": {
"description": "When this notification is marked as read, this will be updated with the current timestamp.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Label": {
@ -7516,11 +7547,7 @@
},
"created_by": {
"description": "The user who created this label",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The label description.",
@ -7544,7 +7571,9 @@
"updated": {
"description": "A timestamp when this label was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LabelTask": {
@ -7557,7 +7586,9 @@
"label_id": {
"description": "The label id you want to associate with a task.",
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LabelTaskBulk": {
@ -7569,7 +7600,9 @@
"items": {
"$ref": "#/definitions/models.Label"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.LinkSharing": {
@ -7596,37 +7629,27 @@
"type": "string"
},
"right": {
"description": "The right this project 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,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"shared_by": {
"description": "The user who shared this project",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"description": "The user who shared this list",
"$ref": "#/definitions/user.User"
},
"sharing_type": {
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
"type": "integer",
"default": 0,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.SharingType"
}
]
"maximum": 2
},
"updated": {
"description": "A timestamp when this share was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Message": {
@ -7688,12 +7711,8 @@
"type": "boolean"
},
"owner": {
"description": "The user who created this project.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"description": "The user who created this list.",
"$ref": "#/definitions/user.User"
},
"parent_project_id": {
"type": "integer"
@ -7703,12 +7722,8 @@
"type": "number"
},
"subscription": {
"description": "The subscription status for the user reading this project. You can only read this property, use the subscription endpoints to modify it.\nWill only returned when retreiving one project.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The title of the project. You'll see this in the overview.",
@ -7719,24 +7734,108 @@
"updated": {
"description": "A timestamp when this project was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.ListDuplicate": {
"type": "object",
"properties": {
"list": {
"description": "The copied list",
"$ref": "#/definitions/models.List"
},
"namespace_id": {
"description": "The target namespace ID",
"type": "integer"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.ListUser": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this relation was created. You cannot change this value.",
"type": "string"
},
"id": {
"description": "The unique, numeric id of this list \u003c-\u003e user relation.",
"type": "integer"
},
"right": {
"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,
"maximum": 2
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"user_id": {
"description": "The username.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Message": {
"type": "object",
"properties": {
"message": {
"description": "A standard message.",
"type": "string"
}
}
},
"models.ProjectDuplicate": {
"models.Namespace": {
"type": "object",
"properties": {
"duplicated_project": {
"description": "The copied project",
"allOf": [
{
"$ref": "#/definitions/models.Project"
}
]
"created": {
"description": "A timestamp when this namespace was created. You cannot change this value.",
"type": "string"
},
"parent_project_id": {
"description": "The target parent project",
"description": {
"description": "The description of the namespace",
"type": "string"
},
"hex_color": {
"description": "The hex color of this namespace",
"type": "string",
"maxLength": 6
},
"id": {
"description": "The unique, numeric id of this namespace.",
"type": "integer"
}
},
"is_archived": {
"description": "Whether or not a namespace is archived.",
"type": "boolean"
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
},
"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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The name of this namespace.",
"type": "string",
"maxLength": 250,
"minLength": 1
},
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.ProjectUser": {
@ -7752,13 +7851,9 @@
},
"right": {
"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,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
@ -7767,7 +7862,61 @@
"user_id": {
"description": "The username.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.NamespaceWithLists": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this namespace was created. You cannot change this value.",
"type": "string"
},
"description": {
"description": "The description of the namespace",
"type": "string"
},
"hex_color": {
"description": "The hex color of this namespace",
"type": "string",
"maxLength": 6
},
"id": {
"description": "The unique, numeric id of this namespace.",
"type": "integer"
},
"is_archived": {
"description": "Whether or not a namespace is archived.",
"type": "boolean"
},
"lists": {
"type": "array",
"items": {
"$ref": "#/definitions/models.List"
}
},
"owner": {
"description": "The user who owns this namespace",
"$ref": "#/definitions/user.User"
},
"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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The name of this namespace.",
"type": "string",
"maxLength": 250,
"minLength": 1
},
"updated": {
"description": "A timestamp when this namespace was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.RelatedTaskMap": {
@ -7779,74 +7928,6 @@
}
}
},
"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.ReminderRelation": {
"type": "string",
"enum": [
"due_date",
"start_date",
"end_date"
],
"x-enum-varnames": [
"ReminderRelationDueDate",
"ReminderRelationStartDate",
"ReminderRelationEndDate"
]
},
"models.Right": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"RightRead",
"RightWrite",
"RightAdmin"
]
},
"models.RouteDetail": {
"type": "object",
"properties": {
"method": {
"type": "string"
},
"path": {
"type": "string"
}
}
},
"models.SavedFilter": {
"type": "object",
"properties": {
@ -7860,11 +7941,7 @@
},
"filters": {
"description": "The actual filters this filter contains",
"allOf": [
{
"$ref": "#/definitions/models.TaskCollection"
}
]
"$ref": "#/definitions/models.TaskCollection"
},
"id": {
"description": "The unique numeric id of this saved filter",
@ -7876,11 +7953,7 @@
},
"owner": {
"description": "The user who owns this filter",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"title": {
"description": "The title of the filter.",
@ -7891,22 +7964,11 @@
"updated": {
"description": "A timestamp when this filter was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.SharingType": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"SharingTypeUnknown",
"SharingTypeWithoutPassword",
"SharingTypeWithPassword"
]
},
"models.Subscription": {
"type": "object",
"properties": {
@ -7927,12 +7989,10 @@
},
"user": {
"description": "The user who made this subscription",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}
"$ref": "#/definitions/user.User"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.Task": {
@ -7966,11 +8026,7 @@
},
"created_by": {
"description": "The user who initially created the task.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The task description.",
@ -8042,11 +8098,7 @@
},
"related_tasks": {
"description": "All related tasks, grouped by their relation kind",
"allOf": [
{
"$ref": "#/definitions/models.RelatedTaskMap"
}
]
"$ref": "#/definitions/models.RelatedTaskMap"
},
"reminders": {
"description": "An array of reminders that are associated with this task.",
@ -8061,23 +8113,15 @@
},
"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.",
"allOf": [
{
"$ref": "#/definitions/models.TaskRepeatMode"
}
]
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
"type": "string"
},
"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 retrieving one task.",
"allOf": [
{
"$ref": "#/definitions/models.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.",
"$ref": "#/definitions/models.Subscription"
},
"title": {
"description": "The task text. This is what you'll see in the project.",
@ -8087,7 +8131,9 @@
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskAssginee": {
@ -8098,7 +8144,9 @@
},
"user_id": {
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskAttachment": {
@ -8118,7 +8166,9 @@
},
"task_id": {
"type": "integer"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskCollection": {
@ -8166,7 +8216,9 @@
"items": {
"type": "string"
}
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskComment": {
@ -8186,7 +8238,9 @@
},
"updated": {
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskRelation": {
@ -8198,11 +8252,7 @@
},
"created_by": {
"description": "The user who created this relation",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"other_task_id": {
"description": "The ID of the other task, the task which is being related.",
@ -8210,52 +8260,16 @@
},
"relation_kind": {
"description": "The kind of the relation.",
"allOf": [
{
"$ref": "#/definitions/models.RelationKind"
}
]
"type": "string"
},
"task_id": {
"description": "The ID of the \"base\" task, the task which has a relation to another.",
"type": "integer"
}
}
},
"models.TaskReminder": {
"type": "object",
"properties": {
"relative_period": {
"description": "A period in seconds relative to another date argument. Negative values mean the reminder triggers before the date. Default: 0, tiggers when RelativeTo is due.",
"type": "integer"
},
"relative_to": {
"description": "The name of the date field to which the relative period refers to.",
"allOf": [
{
"$ref": "#/definitions/models.ReminderRelation"
}
]
},
"reminder": {
"description": "The absolute time when the user wants to be reminded of the task.",
"type": "string"
}
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TaskRepeatMode": {
"type": "integer",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"TaskRepeatModeDefault",
"TaskRepeatModeMonth",
"TaskRepeatModeFromCurrentDate"
]
},
"models.Team": {
"type": "object",
"properties": {
@ -8265,11 +8279,7 @@
},
"created_by": {
"description": "The user who created this team.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The team's description.",
@ -8300,7 +8310,38 @@
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamList": {
"type": "object",
"properties": {
"created": {
"description": "A timestamp when this relation was created. You cannot change this value.",
"type": "string"
},
"id": {
"description": "The unique, numeric id of this list \u003c-\u003e team relation.",
"type": "integer"
},
"right": {
"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,
"maximum": 2
},
"team_id": {
"description": "The team id.",
"type": "integer"
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamMember": {
@ -8321,7 +8362,9 @@
"username": {
"description": "The username of the member. We use this to prevent automated user id entering.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamProject": {
@ -8337,13 +8380,9 @@
},
"right": {
"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,
"maximum": 2,
"allOf": [
{
"$ref": "#/definitions/models.Right"
}
]
"maximum": 2
},
"team_id": {
"description": "The team id.",
@ -8352,7 +8391,9 @@
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.TeamUser": {
@ -8388,7 +8429,8 @@
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"models.TeamWithRight": {
@ -8400,11 +8442,7 @@
},
"created_by": {
"description": "The user who created this team.",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
"$ref": "#/definitions/user.User"
},
"description": {
"description": "The team's description.",
@ -8433,12 +8471,16 @@
"maxLength": 250
},
"right": {
"$ref": "#/definitions/models.Right"
"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
},
"updated": {
"description": "A timestamp when this relation was last updated. You cannot change this value.",
"type": "string"
}
},
"web.CRUDable": {},
"web.Rights": {}
}
},
"models.UserWithRight": {
@ -8462,7 +8504,9 @@
"type": "string"
},
"right": {
"$ref": "#/definitions/models.Right"
"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
},
"updated": {
"description": "A timestamp when this task was last updated. You cannot change this value.",
@ -8473,7 +8517,8 @@
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"models.Webhook": {
@ -8755,7 +8800,8 @@
"type": "string",
"maxLength": 250,
"minLength": 1
}
},
"web.Auth": {}
}
},
"v1.LinkShareAuth": {

View File

@ -109,9 +109,30 @@ definitions:
value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
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:
description: The unique, numeric id of this bucket.
type: integer
@ -119,13 +140,25 @@ definitions:
description: How many tasks can be at the same time on this board max
minimum: 0
type: integer
list_id:
description: The list this bucket belongs to.
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:
description: The position this bucket has when querying all buckets. See the
tasks.position property on how to use this.
type: number
project_id:
description: The project this bucket belongs to.
type: integer
sort_by:
description: The query parameter to sort by. This is for ex. done, priority,
etc.
items:
type: string
type: array
tasks:
description: All tasks which belong to this bucket.
items:
@ -139,6 +172,8 @@ definitions:
description: A timestamp when this bucket was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.BulkAssignees:
properties:
@ -147,6 +182,8 @@ definitions:
items:
$ref: '#/definitions/user.User'
type: array
web.CRUDable: {}
web.Rights: {}
type: object
models.BulkTask:
properties:
@ -172,8 +209,7 @@ definitions:
value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who initially created the task.
description:
description: The task description.
@ -238,8 +274,7 @@ definitions:
description: The project this task belongs to.
type: integer
related_tasks:
allOf:
- $ref: '#/definitions/models.RelatedTaskMap'
$ref: '#/definitions/models.RelatedTaskMap'
description: All related tasks, grouped by their relation kind
reminders:
description: An array of reminders that are associated with this task.
@ -252,18 +287,16 @@ definitions:
increase all remindes and the due date by its amount.
type: integer
repeat_mode:
allOf:
- $ref: '#/definitions/models.TaskRepeatMode'
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
start_date:
description: When this task starts.
type: string
subscription:
allOf:
- $ref: '#/definitions/models.Subscription'
$ref: '#/definitions/models.Subscription'
description: |-
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 retrieving one task.
@ -280,6 +313,8 @@ definitions:
description: A timestamp when this task was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.DatabaseNotifications:
properties:
@ -304,6 +339,8 @@ definitions:
description: When this notification is marked as read, this will be updated
with the current timestamp.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.Label:
properties:
@ -312,8 +349,7 @@ definitions:
value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who created this label
description:
description: The label description.
@ -335,6 +371,8 @@ definitions:
description: A timestamp when this label was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.LabelTask:
properties:
@ -345,6 +383,8 @@ definitions:
label_id:
description: The label id you want to associate with a task.
type: integer
web.CRUDable: {}
web.Rights: {}
type: object
models.LabelTaskBulk:
properties:
@ -353,6 +393,8 @@ definitions:
items:
$ref: '#/definitions/models.Label'
type: array
web.CRUDable: {}
web.Rights: {}
type: object
models.LinkSharing:
properties:
@ -375,27 +417,26 @@ definitions:
it after the link share has been created.
type: string
right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0
description: The right this project is shared with. 0 = Read only, 1 = Read
& Write, 2 = Admin. See the docs for more details.
maximum: 2
type: integer
shared_by:
allOf:
- $ref: '#/definitions/user.User'
description: The user who shared this project
$ref: '#/definitions/user.User'
description: The user who shared this list
sharing_type:
allOf:
- $ref: '#/definitions/models.SharingType'
default: 0
description: The kind of this link. 0 = undefined, 1 = without password, 2
= with password.
maximum: 2
type: integer
updated:
description: A timestamp when this share was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.Message:
properties:
@ -450,18 +491,14 @@ definitions:
to the api.
type: boolean
owner:
allOf:
- $ref: '#/definitions/user.User'
description: The user who created this project.
parent_project_id:
type: integer
$ref: '#/definitions/user.User'
description: The user who created this list.
position:
description: The position this project has when querying all projects. See
the tasks.position property on how to use this.
type: number
subscription:
allOf:
- $ref: '#/definitions/models.Subscription'
$ref: '#/definitions/models.Subscription'
description: |-
The subscription status for the user reading this project. You can only read this property, use the subscription endpoints to modify it.
Will only returned when retreiving one project.
@ -474,16 +511,89 @@ definitions:
description: A timestamp when this project was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.ProjectDuplicate:
models.ListDuplicate:
properties:
duplicated_project:
allOf:
- $ref: '#/definitions/models.Project'
description: The copied project
parent_project_id:
description: The target parent project
list:
$ref: '#/definitions/models.List'
description: The copied list
namespace_id:
description: The target namespace ID
type: integer
web.CRUDable: {}
web.Rights: {}
type: object
models.ListUser:
properties:
created:
description: A timestamp when this relation was created. You cannot change
this value.
type: string
id:
description: The unique, numeric id of this list <-> user relation.
type: integer
right:
default: 0
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
maximum: 2
type: integer
updated:
description: A timestamp when this relation was last updated. You cannot change
this value.
type: string
user_id:
description: The username.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.Message:
properties:
message:
description: A standard message.
type: string
type: object
models.Namespace:
properties:
created:
description: A timestamp when this namespace was created. You cannot change
this value.
type: string
description:
description: The description of the namespace
type: string
hex_color:
description: The hex color of this namespace
maxLength: 6
type: string
id:
description: The unique, numeric id of this namespace.
type: integer
is_archived:
description: Whether or not a namespace is archived.
type: boolean
owner:
$ref: '#/definitions/user.User'
description: The user who owns this namespace
subscription:
$ref: '#/definitions/models.Subscription'
description: |-
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.
title:
description: The name of this namespace.
maxLength: 250
minLength: 1
type: string
updated:
description: A timestamp when this namespace was last updated. You cannot
change this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.ProjectUser:
properties:
@ -495,12 +605,11 @@ definitions:
description: The unique, numeric id of this project <-> user relation.
type: integer
right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
maximum: 2
type: integer
updated:
description: A timestamp when this relation was last updated. You cannot change
this value.
@ -508,6 +617,51 @@ definitions:
user_id:
description: The username.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.NamespaceWithLists:
properties:
created:
description: A timestamp when this namespace was created. You cannot change
this value.
type: string
description:
description: The description of the namespace
type: string
hex_color:
description: The hex color of this namespace
maxLength: 6
type: string
id:
description: The unique, numeric id of this namespace.
type: integer
is_archived:
description: Whether or not a namespace is archived.
type: boolean
lists:
items:
$ref: '#/definitions/models.List'
type: array
owner:
$ref: '#/definitions/user.User'
description: The user who owns this namespace
subscription:
$ref: '#/definitions/models.Subscription'
description: |-
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.
title:
description: The name of this namespace.
maxLength: 250
minLength: 1
type: string
updated:
description: A timestamp when this namespace was last updated. You cannot
change this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.RelatedTaskMap:
additionalProperties:
@ -515,61 +669,6 @@ definitions:
$ref: '#/definitions/models.Task'
type: array
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.ReminderRelation:
enum:
- due_date
- start_date
- end_date
type: string
x-enum-varnames:
- ReminderRelationDueDate
- ReminderRelationStartDate
- ReminderRelationEndDate
models.Right:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- RightRead
- RightWrite
- RightAdmin
models.RouteDetail:
properties:
method:
type: string
path:
type: string
type: object
models.SavedFilter:
properties:
created:
@ -580,8 +679,7 @@ definitions:
description: The description of the filter
type: string
filters:
allOf:
- $ref: '#/definitions/models.TaskCollection'
$ref: '#/definitions/models.TaskCollection'
description: The actual filters this filter contains
id:
description: The unique numeric id of this saved filter
@ -591,8 +689,7 @@ definitions:
a separate parent project together with favorite projects.
type: boolean
owner:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who owns this filter
title:
description: The title of the filter.
@ -603,17 +700,9 @@ definitions:
description: A timestamp when this filter was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.SharingType:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- SharingTypeUnknown
- SharingTypeWithoutPassword
- SharingTypeWithPassword
models.Subscription:
properties:
created:
@ -629,9 +718,10 @@ definitions:
description: The numeric ID of the subscription
type: integer
user:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who made this subscription
web.CRUDable: {}
web.Rights: {}
type: object
models.Task:
properties:
@ -657,8 +747,7 @@ definitions:
value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who initially created the task.
description:
description: The task description.
@ -723,8 +812,7 @@ definitions:
description: The project this task belongs to.
type: integer
related_tasks:
allOf:
- $ref: '#/definitions/models.RelatedTaskMap'
$ref: '#/definitions/models.RelatedTaskMap'
description: All related tasks, grouped by their relation kind
reminders:
description: An array of reminders that are associated with this task.
@ -737,18 +825,16 @@ definitions:
increase all remindes and the due date by its amount.
type: integer
repeat_mode:
allOf:
- $ref: '#/definitions/models.TaskRepeatMode'
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
start_date:
description: When this task starts.
type: string
subscription:
allOf:
- $ref: '#/definitions/models.Subscription'
$ref: '#/definitions/models.Subscription'
description: |-
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 retrieving one task.
@ -760,6 +846,8 @@ definitions:
description: A timestamp when this task was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskAssginee:
properties:
@ -767,6 +855,8 @@ definitions:
type: string
user_id:
type: integer
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskAttachment:
properties:
@ -780,6 +870,8 @@ definitions:
type: integer
task_id:
type: integer
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskCollection:
properties:
@ -817,6 +909,8 @@ definitions:
items:
type: string
type: array
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskComment:
properties:
@ -830,6 +924,8 @@ definitions:
type: integer
updated:
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskRelation:
properties:
@ -838,46 +934,20 @@ definitions:
value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who created this relation
other_task_id:
description: The ID of the other task, the task which is being related.
type: integer
relation_kind:
allOf:
- $ref: '#/definitions/models.RelationKind'
description: The kind of the relation.
type: string
task_id:
description: The ID of the "base" task, the task which has a relation to another.
type: integer
web.CRUDable: {}
web.Rights: {}
type: object
models.TaskReminder:
properties:
relative_period:
description: 'A period in seconds relative to another date argument. Negative
values mean the reminder triggers before the date. Default: 0, tiggers when
RelativeTo is due.'
type: integer
relative_to:
allOf:
- $ref: '#/definitions/models.ReminderRelation'
description: The name of the date field to which the relative period refers
to.
reminder:
description: The absolute time when the user wants to be reminded of the task.
type: string
type: object
models.TaskRepeatMode:
enum:
- 0
- 1
- 2
type: integer
x-enum-varnames:
- TaskRepeatModeDefault
- TaskRepeatModeMonth
- TaskRepeatModeFromCurrentDate
models.Team:
properties:
created:
@ -885,8 +955,7 @@ definitions:
this value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who created this team.
description:
description: The team's description.
@ -912,6 +981,33 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TeamList:
properties:
created:
description: A timestamp when this relation was created. You cannot change
this value.
type: string
id:
description: The unique, numeric id of this list <-> team relation.
type: integer
right:
default: 0
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
maximum: 2
type: integer
team_id:
description: The team id.
type: integer
updated:
description: A timestamp when this relation was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TeamMember:
properties:
@ -930,6 +1026,8 @@ definitions:
description: The username of the member. We use this to prevent automated
user id entering.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TeamProject:
properties:
@ -941,12 +1039,11 @@ definitions:
description: The unique, numeric id of this project <-> team relation.
type: integer
right:
allOf:
- $ref: '#/definitions/models.Right'
default: 0
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
maximum: 2
type: integer
team_id:
description: The team id.
type: integer
@ -954,6 +1051,8 @@ definitions:
description: A timestamp when this relation was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.TeamUser:
properties:
@ -984,6 +1083,7 @@ definitions:
maxLength: 250
minLength: 1
type: string
web.Auth: {}
type: object
models.TeamWithRight:
properties:
@ -992,8 +1092,7 @@ definitions:
this value.
type: string
created_by:
allOf:
- $ref: '#/definitions/user.User'
$ref: '#/definitions/user.User'
description: The user who created this team.
description:
description: The team's description.
@ -1016,11 +1115,16 @@ definitions:
maxLength: 250
type: string
right:
$ref: '#/definitions/models.Right'
default: 0
description: The right this team has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
type: integer
updated:
description: A timestamp when this relation was last updated. You cannot change
this value.
type: string
web.CRUDable: {}
web.Rights: {}
type: object
models.UserWithRight:
properties:
@ -1039,7 +1143,10 @@ definitions:
description: The full name of the user.
type: string
right:
$ref: '#/definitions/models.Right'
default: 0
description: The right this user has. 0 = Read only, 1 = Read & Write, 2 =
Admin. See the docs for more details.
type: integer
updated:
description: A timestamp when this task was last updated. You cannot change
this value.
@ -1049,6 +1156,7 @@ definitions:
maxLength: 250
minLength: 1
type: string
web.Auth: {}
type: object
models.Webhook:
properties:
@ -1256,6 +1364,7 @@ definitions:
maxLength: 250
minLength: 1
type: string
web.Auth: {}
type: object
v1.LinkShareAuth:
properties: