Multiple Reminders (#22)
This commit is contained in:
@ -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