Multiple Reminders (#22)
This commit is contained in:
@ -78,7 +78,7 @@
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Returns a team by its ID.",
|
||||
"description": "Returns a list by its ID.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@ -86,13 +86,13 @@
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"team"
|
||||
"list"
|
||||
],
|
||||
"summary": "Gets one team",
|
||||
"summary": "Gets one list",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "Team ID",
|
||||
"description": "List ID",
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
@ -100,14 +100,14 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "The team",
|
||||
"description": "The list",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/models.Team"
|
||||
"$ref": "#/definitions/models.List"
|
||||
}
|
||||
},
|
||||
"403": {
|
||||
"description": "The user does not have access to the team",
|
||||
"description": "The user does not have access to the list",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/models.HTTPError"
|
||||
@ -2875,8 +2875,11 @@
|
||||
"listID": {
|
||||
"type": "integer"
|
||||
},
|
||||
"reminderDate": {
|
||||
"type": "integer"
|
||||
"reminderDates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
@ -3118,12 +3121,18 @@
|
||||
"admin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"created": {
|
||||
"type": "integer"
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updated": {
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -3165,12 +3174,18 @@
|
||||
"models.User": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created": {
|
||||
"type": "integer"
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updated": {
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
@ -3190,6 +3205,9 @@
|
||||
"models.UserWithRight": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created": {
|
||||
"type": "integer"
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
},
|
||||
@ -3199,6 +3217,9 @@
|
||||
"right": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updated": {
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
|
@ -60,8 +60,10 @@ definitions:
|
||||
type: integer
|
||||
listID:
|
||||
type: integer
|
||||
reminderDate:
|
||||
type: integer
|
||||
reminderDates:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
text:
|
||||
type: string
|
||||
updated:
|
||||
@ -219,10 +221,14 @@ definitions:
|
||||
properties:
|
||||
admin:
|
||||
type: boolean
|
||||
created:
|
||||
type: integer
|
||||
email:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
updated:
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
@ -250,10 +256,14 @@ definitions:
|
||||
type: object
|
||||
models.User:
|
||||
properties:
|
||||
created:
|
||||
type: integer
|
||||
email:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
updated:
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
@ -266,12 +276,16 @@ definitions:
|
||||
type: object
|
||||
models.UserWithRight:
|
||||
properties:
|
||||
created:
|
||||
type: integer
|
||||
email:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
right:
|
||||
type: integer
|
||||
updated:
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
@ -375,9 +389,9 @@ paths:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Returns a team by its ID.
|
||||
description: Returns a list by its ID.
|
||||
parameters:
|
||||
- description: Team ID
|
||||
- description: List ID
|
||||
in: path
|
||||
name: id
|
||||
required: true
|
||||
@ -386,12 +400,12 @@ paths:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: The team
|
||||
description: The list
|
||||
schema:
|
||||
$ref: '#/definitions/models.Team'
|
||||
$ref: '#/definitions/models.List'
|
||||
type: object
|
||||
"403":
|
||||
description: The user does not have access to the team
|
||||
description: The user does not have access to the list
|
||||
schema:
|
||||
$ref: '#/definitions/models.HTTPError'
|
||||
type: object
|
||||
@ -402,9 +416,9 @@ paths:
|
||||
type: object
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: Gets one team
|
||||
summary: Gets one list
|
||||
tags:
|
||||
- team
|
||||
- list
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
|
Reference in New Issue
Block a user