do-the swag
This commit is contained in:
parent
5c0e60ae9c
commit
f7267ff46d
|
@ -7288,43 +7288,14 @@ const docTemplate = `{
|
|||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
"list_id": {
|
||||
"description": "The list this bucket belongs to.",
|
||||
"type": "integer"
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
"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
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"position": {
|
||||
"description": "The position this bucket has when querying all buckets. See the tasks.position property on how to use this.",
|
||||
"type": "number"
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< 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
|
||||
},
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"tasks": {
|
||||
"description": "All tasks which belong to this bucket.",
|
||||
"type": "array",
|
||||
|
@ -7492,25 +7463,12 @@ const docTemplate = `{
|
|||
"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.",
|
||||
<<<<<<< HEAD
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
}
|
||||
]
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
},
|
||||
"task_ids": {
|
||||
"description": "A project of task ids to update",
|
||||
|
@ -7647,15 +7605,7 @@ 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.",
|
||||
<<<<<<< HEAD
|
||||
"type": "integer",
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
|
@ -7665,25 +7615,12 @@ const docTemplate = `{
|
|||
]
|
||||
},
|
||||
"shared_by": {
|
||||
<<<<<<< HEAD
|
||||
"description": "The user who shared this project",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/user.User"
|
||||
}
|
||||
]
|
||||
=======
|
||||
"description": "The user who shared this list",
|
||||
<<<<<<< HEAD
|
||||
"$ref": "#/definitions/user.User"
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/user.User"
|
||||
}
|
||||
]
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
},
|
||||
"sharing_type": {
|
||||
"description": "The kind of this link. 0 = undefined, 1 = without password, 2 = with password.",
|
||||
|
@ -7760,53 +7697,27 @@ 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.",
|
||||
<<<<<<< HEAD
|
||||
"$ref": "#/definitions/user.User"
|
||||
>>>>>>> 4567a680... do the swag
|
||||
},
|
||||
"parent_project_id": {
|
||||
"type": "integer"
|
||||
=======
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/user.User"
|
||||
}
|
||||
]
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
},
|
||||
"position": {
|
||||
"description": "The position this project has when querying all projects. See the tasks.position property on how to use this.",
|
||||
"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.",
|
||||
<<<<<<< HEAD
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
}
|
||||
]
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the project. You'll see this in the overview.",
|
||||
|
@ -7820,7 +7731,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
"models.ProjectDuplicate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -7836,121 +7746,6 @@ const docTemplate = `{
|
|||
"description": "The target parent project",
|
||||
"type": "integer"
|
||||
}
|
||||
=======
|
||||
"models.ListDuplicate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"list": {
|
||||
"description": "The copied list",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.List"
|
||||
}
|
||||
]
|
||||
},
|
||||
"namespace_id": {
|
||||
"description": "The target namespace ID",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Right"
|
||||
}
|
||||
]
|
||||
},
|
||||
"updated": {
|
||||
"description": "A timestamp when this relation was last updated. You cannot change this value.",
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"description": "The username.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"allOf": [
|
||||
{
|
||||
"$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.",
|
||||
"allOf": [
|
||||
{
|
||||
"$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"
|
||||
<<<<<<< HEAD
|
||||
},
|
||||
"web.CRUDable": {},
|
||||
"web.Rights": {}
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
}
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
}
|
||||
},
|
||||
"models.ProjectUser": {
|
||||
|
@ -7984,67 +7779,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
<<<<<<< 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",
|
||||
"allOf": [
|
||||
{
|
||||
"$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.",
|
||||
"allOf": [
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
},
|
||||
>>>>>>> 4567a680... do the swag
|
||||
"models.RelatedTaskMap": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
@ -8054,10 +7788,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"models.RelationKind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
|
@ -8089,7 +7819,6 @@ const docTemplate = `{
|
|||
"RelationKindCopiedTo"
|
||||
]
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
"models.ReminderRelation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
|
@ -8103,8 +7832,6 @@ const docTemplate = `{
|
|||
"ReminderRelationEndDate"
|
||||
]
|
||||
},
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"models.Right": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
|
@ -8118,7 +7845,6 @@ const docTemplate = `{
|
|||
"RightAdmin"
|
||||
]
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
"models.RouteDetail": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -8130,10 +7856,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
=======
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"models.SavedFilter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -8359,7 +8081,7 @@ const docTemplate = `{
|
|||
"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 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 retrieving one task.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
|
@ -8509,8 +8231,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
"models.TaskReminder": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -8532,8 +8252,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"models.TaskRepeatMode": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
|
@ -8547,11 +8265,6 @@ const docTemplate = `{
|
|||
"TaskRepeatModeFromCurrentDate"
|
||||
]
|
||||
},
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
>>>>>>> 4567a680... do the swag
|
||||
=======
|
||||
>>>>>>> 85307ce6... add swagger files
|
||||
"models.Team": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -8599,40 +8312,6 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
<<<<<<< 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.",
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Right"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
>>>>>>> 4567a680... do the swag
|
||||
"models.TeamMember": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -7280,14 +7280,14 @@
|
|||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"list_id": {
|
||||
"description": "The list this bucket belongs to.",
|
||||
"type": "integer"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"tasks": {
|
||||
"description": "All tasks which belong to this bucket.",
|
||||
"type": "array",
|
||||
|
@ -7455,7 +7455,7 @@
|
|||
"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 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 retrieving one task.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
|
@ -7597,7 +7597,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"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 project is shared with. 0 = Read only, 1 = Read \u0026 Write, 2 = Admin. See the docs for more details.",
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
|
@ -7607,7 +7607,7 @@
|
|||
]
|
||||
},
|
||||
"shared_by": {
|
||||
"description": "The user who shared this list",
|
||||
"description": "The user who shared this project",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/user.User"
|
||||
|
@ -7689,7 +7689,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"owner": {
|
||||
"description": "The user who created this list.",
|
||||
"description": "The user who created this project.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/user.User"
|
||||
|
@ -7704,7 +7704,7 @@
|
|||
"type": "number"
|
||||
},
|
||||
"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 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"
|
||||
|
@ -7723,115 +7723,23 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"models.ListDuplicate": {
|
||||
"models.ProjectDuplicate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"list": {
|
||||
"description": "The copied list",
|
||||
"duplicated_project": {
|
||||
"description": "The copied project",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.List"
|
||||
"$ref": "#/definitions/models.Project"
|
||||
}
|
||||
]
|
||||
},
|
||||
"namespace_id": {
|
||||
"description": "The target namespace ID",
|
||||
"parent_project_id": {
|
||||
"description": "The target parent project",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Right"
|
||||
}
|
||||
]
|
||||
},
|
||||
"updated": {
|
||||
"description": "A timestamp when this relation was last updated. You cannot change this value.",
|
||||
"type": "string"
|
||||
},
|
||||
"user_id": {
|
||||
"description": "The username.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"allOf": [
|
||||
{
|
||||
"$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.",
|
||||
"allOf": [
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.ProjectUser": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -7863,64 +7771,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"allOf": [
|
||||
{
|
||||
"$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.",
|
||||
"allOf": [
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.RelatedTaskMap": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
@ -7961,6 +7811,19 @@
|
|||
"RelationKindCopiedTo"
|
||||
]
|
||||
},
|
||||
"models.ReminderRelation": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"due_date",
|
||||
"start_date",
|
||||
"end_date"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"ReminderRelationDueDate",
|
||||
"ReminderRelationStartDate",
|
||||
"ReminderRelationEndDate"
|
||||
]
|
||||
},
|
||||
"models.Right": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
|
@ -7974,6 +7837,17 @@
|
|||
"RightAdmin"
|
||||
]
|
||||
},
|
||||
"models.RouteDetail": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"method": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.SavedFilter": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
@ -8199,7 +8073,7 @@
|
|||
"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 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 retrieving one task.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Subscription"
|
||||
|
@ -8349,6 +8223,27 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.TaskRepeatMode": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
|
@ -8409,37 +8304,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"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.",
|
||||
"default": 0,
|
||||
"maximum": 2,
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/models.Right"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"models.TeamMember": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -117,13 +117,13 @@ 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
|
||||
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
|
||||
tasks:
|
||||
description: All tasks which belong to this bucket.
|
||||
items:
|
||||
|
@ -382,7 +382,7 @@ definitions:
|
|||
shared_by:
|
||||
allOf:
|
||||
- $ref: '#/definitions/user.User'
|
||||
description: The user who shared this list
|
||||
description: The user who shared this project
|
||||
sharing_type:
|
||||
allOf:
|
||||
- $ref: '#/definitions/models.SharingType'
|
||||
|
@ -450,7 +450,9 @@ definitions:
|
|||
owner:
|
||||
allOf:
|
||||
- $ref: '#/definitions/user.User'
|
||||
description: The user who created this list.
|
||||
description: The user who created this project.
|
||||
parent_project_id:
|
||||
type: integer
|
||||
position:
|
||||
description: The position this project has when querying all projects. See
|
||||
the tasks.position property on how to use this.
|
||||
|
@ -471,85 +473,16 @@ definitions:
|
|||
this value.
|
||||
type: string
|
||||
type: object
|
||||
models.ListDuplicate:
|
||||
models.ProjectDuplicate:
|
||||
properties:
|
||||
list:
|
||||
duplicated_project:
|
||||
allOf:
|
||||
- $ref: '#/definitions/models.List'
|
||||
description: The copied list
|
||||
namespace_id:
|
||||
description: The target namespace ID
|
||||
- $ref: '#/definitions/models.Project'
|
||||
description: The copied project
|
||||
parent_project_id:
|
||||
description: The target parent project
|
||||
type: integer
|
||||
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:
|
||||
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
|
||||
updated:
|
||||
description: A timestamp when this relation was last updated. You cannot change
|
||||
this value.
|
||||
type: string
|
||||
user_id:
|
||||
description: The username.
|
||||
type: string
|
||||
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:
|
||||
allOf:
|
||||
- $ref: '#/definitions/user.User'
|
||||
description: The user who owns this namespace
|
||||
subscription:
|
||||
allOf:
|
||||
- $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
|
||||
type: object
|
||||
models.ProjectUser:
|
||||
properties:
|
||||
created:
|
||||
|
@ -574,49 +507,6 @@ definitions:
|
|||
description: The username.
|
||||
type: string
|
||||
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:
|
||||
allOf:
|
||||
- $ref: '#/definitions/user.User'
|
||||
description: The user who owns this namespace
|
||||
subscription:
|
||||
allOf:
|
||||
- $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
|
||||
type: object
|
||||
models.RelatedTaskMap:
|
||||
additionalProperties:
|
||||
items:
|
||||
|
@ -651,6 +541,16 @@ definitions:
|
|||
- RelationKindFollows
|
||||
- RelationKindCopiedFrom
|
||||
- RelationKindCopiedTo
|
||||
models.ReminderRelation:
|
||||
enum:
|
||||
- due_date
|
||||
- start_date
|
||||
- end_date
|
||||
type: string
|
||||
x-enum-varnames:
|
||||
- ReminderRelationDueDate
|
||||
- ReminderRelationStartDate
|
||||
- ReminderRelationEndDate
|
||||
models.Right:
|
||||
enum:
|
||||
- 0
|
||||
|
@ -661,6 +561,13 @@ definitions:
|
|||
- RightRead
|
||||
- RightWrite
|
||||
- RightAdmin
|
||||
models.RouteDetail:
|
||||
properties:
|
||||
method:
|
||||
type: string
|
||||
path:
|
||||
type: string
|
||||
type: object
|
||||
models.SavedFilter:
|
||||
properties:
|
||||
created:
|
||||
|
@ -943,6 +850,22 @@ definitions:
|
|||
description: The ID of the "base" task, the task which has a relation to another.
|
||||
type: integer
|
||||
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
|
||||
|
@ -988,30 +911,6 @@ definitions:
|
|||
this value.
|
||||
type: string
|
||||
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:
|
||||
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
|
||||
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
|
||||
type: object
|
||||
models.TeamMember:
|
||||
properties:
|
||||
admin:
|
||||
|
|
Loading…
Reference in New Issue