2020-06-19 22:13:01 +00:00
|
|
|
openapi: 3.0.2
|
|
|
|
info:
|
2022-01-13 00:11:07 +00:00
|
|
|
title: Baby Buddy API
|
2021-12-29 07:53:36 +00:00
|
|
|
version: ''
|
2020-06-19 22:13:01 +00:00
|
|
|
paths:
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/bmi/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listBMIs
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createBMI
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/bmi/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveBMI
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2020-06-19 22:13:01 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this BMI.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateBMI
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this BMI.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateBMI
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2020-06-19 22:13:01 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this BMI.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/BMI'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyBMI
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2020-06-19 22:13:01 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this BMI.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
/api/changes/:
|
|
|
|
get:
|
|
|
|
operationId: listDiaperChanges
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: color
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: color
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: solid
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: solid
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: wet
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: wet
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2021-10-31 20:21:04 +00:00
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
|
|
|
operationId: createDiaperChange
|
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2021-10-31 20:21:04 +00:00
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
/api/changes/{id}/:
|
|
|
|
get:
|
|
|
|
operationId: retrieveDiaperChange
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Diaper Change.
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: color
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: color
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: date_min
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: solid
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: solid
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: wet
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: wet
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2021-10-31 20:21:04 +00:00
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
|
|
|
operationId: updateDiaperChange
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Diaper Change.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: amount
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: amount
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: color
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: color
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: solid
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: solid
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: wet
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: wet
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
patch:
|
2021-10-31 20:21:04 +00:00
|
|
|
operationId: partialUpdateDiaperChange
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Diaper Change.
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: color
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: color
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: solid
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: solid
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: wet
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: wet
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2021-10-31 20:21:04 +00:00
|
|
|
$ref: '#/components/schemas/DiaperChange'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
delete:
|
|
|
|
operationId: destroyDiaperChange
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Diaper Change.
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: amount
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: color
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: color
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: solid
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: solid
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: wet
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: wet
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/children/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listChilds
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: first_name
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: first_name
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_name
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_name
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: slug
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: birth_date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: birth_date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createChild
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/children/{slug}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveChild
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2020-06-19 22:13:01 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: first_name
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: first_name
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_name
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_name
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: slug
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: birth_date
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: birth_date
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
|
|
|
operationId: updateChild
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: slug
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: first_name
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: first_name
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_name
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_name
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: slug
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: birth_date
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: birth_date
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
|
|
|
operationId: partialUpdateChild
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: slug
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: first_name
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: first_name
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_name
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_name
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: slug
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: birth_date
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: birth_date
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Child'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
delete:
|
|
|
|
operationId: destroyChild
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: first_name
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: first_name
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: last_name
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: last_name
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: slug
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: slug
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: birth_date
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: birth_date
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
/api/feedings/:
|
|
|
|
get:
|
|
|
|
operationId: listFeedings
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2021-12-29 07:53:36 +00:00
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: method
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: method
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
|
|
|
- parent fed
|
|
|
|
- self fed
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: type
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: type
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
|
|
|
operationId: createFeeding
|
|
|
|
description: ''
|
|
|
|
parameters: []
|
2021-12-29 07:53:36 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
responses:
|
2022-05-28 20:07:17 +00:00
|
|
|
'201':
|
2021-12-29 07:53:36 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/feedings/{id}/:
|
|
|
|
get:
|
|
|
|
operationId: retrieveFeeding
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Feeding.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: method
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: method
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
2021-10-31 20:21:04 +00:00
|
|
|
- parent fed
|
|
|
|
- self fed
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: type
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: type
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2021-10-31 20:21:04 +00:00
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
put:
|
|
|
|
operationId: updateFeeding
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Feeding.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: method
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: method
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
2021-10-31 20:21:04 +00:00
|
|
|
- parent fed
|
|
|
|
- self fed
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: type
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: type
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2022-05-28 20:07:17 +00:00
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
patch:
|
|
|
|
operationId: partialUpdateFeeding
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Feeding.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: method
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: method
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
|
|
|
- parent fed
|
|
|
|
- self fed
|
|
|
|
- name: start
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Start DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: type
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: type
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Feeding'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
delete:
|
|
|
|
operationId: destroyFeeding
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Feeding.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: method
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: method
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
|
|
|
- parent fed
|
|
|
|
- self fed
|
|
|
|
- name: start
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_max
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_min
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: type
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: type
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/head-circumference/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listHeadCircumferences
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createHeadCircumference
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/head-circumference/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveHeadCircumference
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Head Circumference.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateHeadCircumference
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Head Circumference.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2021-10-31 20:21:04 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateHeadCircumference
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Head Circumference.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/HeadCircumference'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyHeadCircumference
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Head Circumference.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/height/:
|
2022-04-15 03:15:02 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listHeights
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createHeight
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/height/{id}/:
|
2022-04-15 03:15:02 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveHeight
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Height.
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateHeight
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Height.
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-15 03:15:02 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateHeight
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Height.
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Height'
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyHeight
|
2022-04-15 03:15:02 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Height.
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-15 03:15:02 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/notes/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listNotes
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createNote
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/notes/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveNote
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Note.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateNote
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Note.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateNote
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Note.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Note'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyNote
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Note.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/pumping/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listPumpings
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createPumping
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/pumping/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrievePumping
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Pumping.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updatePumping
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Pumping.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_max
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_min
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdatePumping
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Pumping.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Pumping'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyPumping
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Pumping.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: child
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2021-11-19 16:17:09 +00:00
|
|
|
description: child
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2021-11-19 16:17:09 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
2021-11-19 16:17:09 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/sleep/:
|
2021-10-31 20:21:04 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listSleeps
|
2021-10-31 20:21:04 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2020-06-19 22:13:01 +00:00
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createSleep
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/sleep/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveSleep
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Sleep.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateSleep
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Sleep.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2021-12-29 07:53:36 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateSleep
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Sleep.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: end_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_max
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2021-11-19 16:17:09 +00:00
|
|
|
- name: start_min
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Sleep'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroySleep
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Sleep.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-04-16 01:44:25 +00:00
|
|
|
description: Min. Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/tags/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listTags
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: name
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: name
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createTag
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/tags/{slug}/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveTag
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: name
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: name
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateTag
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: name
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: name
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateTag
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: name
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: name
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Tag'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyTag
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: slug
|
2021-12-29 07:53:36 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: ''
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: last_used
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: name
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: name
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/temperature/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listTemperatures
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createTemperature
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/temperature/{id}/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveTemperature
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Temperature.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateTemperature
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Temperature.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateTemperature
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Temperature.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Temperature'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyTemperature
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Temperature.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date
|
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: date_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/timers/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listTimers
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: active
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: active
|
|
|
|
schema:
|
|
|
|
type: string
|
2021-12-29 07:53:36 +00:00
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: user
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: user
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createTimer
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/timers/{id}/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveTimer
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: active
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: active
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_max
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: start_min
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: user
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: user
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateTimer
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: active
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: active
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: user
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: user
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateTimer
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: active
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: active
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: user
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: user
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Timer'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyTimer
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: active
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: active
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: user
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: user
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/tummy-times/:
|
2021-12-29 07:53:36 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listTummyTimes
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2021-10-31 20:21:04 +00:00
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
2020-06-19 22:13:01 +00:00
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createTummyTime
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
2021-10-31 20:21:04 +00:00
|
|
|
'201':
|
2020-06-19 22:13:01 +00:00
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/tummy-times/{id}/:
|
2020-06-19 22:13:01 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveTummyTime
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Tummy Time.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_max
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Max. End DateTime
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end_min
|
2020-06-19 22:13:01 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateTummyTime
|
2021-12-29 07:53:36 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Tummy Time.
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-12-29 07:53:36 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-12-29 07:53:36 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2021-12-29 07:53:36 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2021-12-29 07:53:36 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2021-12-29 07:53:36 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateTummyTime
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Tummy Time.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
application/x-www-form-urlencoded:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
multipart/form-data:
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/TummyTime'
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2020-06-19 22:13:01 +00:00
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyTummyTime
|
2020-06-19 22:13:01 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Tummy Time.
|
2020-06-19 22:13:01 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: child
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: child
|
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: end
|
2021-10-31 20:21:04 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: end_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_max
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Max. End DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: start_min
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Min. Start DateTime
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- name: tags
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: tag
|
2021-10-31 20:21:04 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2020-06-19 22:13:01 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2021-10-31 20:21:04 +00:00
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/weight/:
|
2022-04-04 22:38:34 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: listWeights
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: limit
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
schema:
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
required: false
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
schema:
|
|
|
|
type: integer
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
example: 123
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=400&limit=100
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
format: uri
|
|
|
|
example: http://api.example.org/accounts/?offset=200&limit=100
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
post:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: createWeight
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters: []
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-05-28 20:07:17 +00:00
|
|
|
/api/weight/{id}/:
|
2022-04-04 22:38:34 +00:00
|
|
|
get:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: retrieveWeight
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2022-04-04 22:38:34 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Weight.
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
put:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: updateWeight
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2022-04-04 22:38:34 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Weight.
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
patch:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: partialUpdateWeight
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2022-04-04 22:38:34 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Weight.
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
2022-05-28 20:07:17 +00:00
|
|
|
$ref: '#/components/schemas/Weight'
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
delete:
|
2022-05-28 20:07:17 +00:00
|
|
|
operationId: destroyWeight
|
2022-04-04 22:38:34 +00:00
|
|
|
description: ''
|
|
|
|
parameters:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: id
|
2022-04-04 22:38:34 +00:00
|
|
|
in: path
|
|
|
|
required: true
|
2022-05-28 20:07:17 +00:00
|
|
|
description: A unique integer value identifying this Weight.
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: child
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: child
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
- name: date
|
2022-04-04 22:38:34 +00:00
|
|
|
required: false
|
|
|
|
in: query
|
2022-05-28 20:07:17 +00:00
|
|
|
description: date
|
2022-04-04 22:38:34 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2022-01-12 23:54:47 +00:00
|
|
|
/api/timers/{id}/restart/:
|
|
|
|
patch:
|
|
|
|
operationId: restartTimer
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
|
|
|
/api/timers/{id}/stop/:
|
|
|
|
patch:
|
|
|
|
operationId: stopTimer
|
|
|
|
description: ''
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
description: A unique integer value identifying this Timer.
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
requestBody:
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
application/x-www-form-urlencoded:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
multipart/form-data:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
content:
|
|
|
|
application/json:
|
|
|
|
schema:
|
|
|
|
$ref: '#/components/schemas/Timer'
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- api
|
2021-10-31 20:21:04 +00:00
|
|
|
components:
|
|
|
|
schemas:
|
2022-05-28 20:07:17 +00:00
|
|
|
BMI:
|
2021-10-31 20:21:04 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
2022-05-28 20:07:17 +00:00
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
bmi:
|
|
|
|
type: number
|
|
|
|
date:
|
2021-10-31 20:21:04 +00:00
|
|
|
type: string
|
|
|
|
format: date
|
2022-05-28 20:07:17 +00:00
|
|
|
notes:
|
2021-10-31 20:21:04 +00:00
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-05-28 20:07:17 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
2022-05-28 20:07:17 +00:00
|
|
|
- child
|
|
|
|
- bmi
|
2021-10-31 20:21:04 +00:00
|
|
|
DiaperChange:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
time:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
wet:
|
|
|
|
type: boolean
|
|
|
|
solid:
|
|
|
|
type: boolean
|
|
|
|
color:
|
|
|
|
enum:
|
|
|
|
- black
|
|
|
|
- brown
|
|
|
|
- green
|
|
|
|
- yellow
|
|
|
|
type: string
|
|
|
|
amount:
|
|
|
|
type: number
|
|
|
|
nullable: true
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- wet
|
|
|
|
- solid
|
2022-05-28 20:07:17 +00:00
|
|
|
Child:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
first_name:
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
last_name:
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
birth_date:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
slug:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
pattern: ^[-\w]+\z
|
|
|
|
picture:
|
|
|
|
type: string
|
|
|
|
format: binary
|
|
|
|
nullable: true
|
|
|
|
required:
|
|
|
|
- first_name
|
|
|
|
- birth_date
|
2021-10-31 20:21:04 +00:00
|
|
|
Feeding:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
nullable: true
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
start:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
end:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
|
|
|
timer:
|
|
|
|
type: integer
|
|
|
|
writeOnly: true
|
|
|
|
nullable: true
|
|
|
|
description: May be used in place of the Start, End, and/or Child values.
|
2021-10-31 20:21:04 +00:00
|
|
|
duration:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
type:
|
|
|
|
enum:
|
|
|
|
- breast milk
|
|
|
|
- formula
|
|
|
|
- fortified breast milk
|
|
|
|
- solid food
|
|
|
|
type: string
|
|
|
|
method:
|
|
|
|
enum:
|
|
|
|
- bottle
|
|
|
|
- left breast
|
|
|
|
- right breast
|
|
|
|
- both breasts
|
|
|
|
- parent fed
|
|
|
|
- self fed
|
|
|
|
type: string
|
|
|
|
amount:
|
|
|
|
type: number
|
|
|
|
nullable: true
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
|
|
|
- type
|
|
|
|
- method
|
2022-05-28 20:07:17 +00:00
|
|
|
HeadCircumference:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
head_circumference:
|
|
|
|
type: number
|
|
|
|
date:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
tags:
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- head_circumference
|
|
|
|
Height:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
height:
|
|
|
|
type: number
|
|
|
|
date:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
tags:
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- height
|
2021-10-31 20:21:04 +00:00
|
|
|
Note:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
note:
|
|
|
|
type: string
|
|
|
|
time:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-04-04 22:38:34 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- note
|
2022-05-28 20:07:17 +00:00
|
|
|
Pumping:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
amount:
|
|
|
|
type: number
|
|
|
|
time:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- amount
|
|
|
|
- time
|
2021-10-31 20:21:04 +00:00
|
|
|
Sleep:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
nullable: true
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
start:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
end:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
|
|
|
timer:
|
|
|
|
type: integer
|
|
|
|
writeOnly: true
|
|
|
|
nullable: true
|
|
|
|
description: May be used in place of the Start, End, and/or Child values.
|
2021-10-31 20:21:04 +00:00
|
|
|
duration:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
nap:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
Tag:
|
2022-04-15 03:15:02 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
2022-05-28 20:07:17 +00:00
|
|
|
slug:
|
|
|
|
type: string
|
2022-04-15 03:15:02 +00:00
|
|
|
readOnly: true
|
2022-05-28 20:07:17 +00:00
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
name:
|
2022-04-15 03:15:02 +00:00
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
maxLength: 100
|
|
|
|
color:
|
2022-04-15 03:15:02 +00:00
|
|
|
type: string
|
2022-05-28 20:07:17 +00:00
|
|
|
pattern: ^#[0-9a-fA-F]{6}$
|
|
|
|
maxLength: 32
|
|
|
|
last_used:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
readOnly: true
|
2022-04-15 03:15:02 +00:00
|
|
|
required:
|
2022-05-28 20:07:17 +00:00
|
|
|
- name
|
2021-10-31 20:21:04 +00:00
|
|
|
Temperature:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
temperature:
|
|
|
|
type: number
|
|
|
|
time:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- temperature
|
|
|
|
Timer:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
nullable: true
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
|
|
|
maxLength: 255
|
|
|
|
start:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
end:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
readOnly: true
|
|
|
|
duration:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
active:
|
|
|
|
type: boolean
|
|
|
|
readOnly: true
|
|
|
|
user:
|
|
|
|
type: integer
|
|
|
|
nullable: true
|
|
|
|
TummyTime:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
nullable: true
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
start:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
2021-10-31 20:21:04 +00:00
|
|
|
end:
|
|
|
|
type: string
|
|
|
|
format: date-time
|
2022-06-06 13:47:57 +00:00
|
|
|
description: Required unless a Timer value is provided.
|
|
|
|
timer:
|
|
|
|
type: integer
|
|
|
|
writeOnly: true
|
|
|
|
nullable: true
|
|
|
|
description: May be used in place of the Start, End, and/or Child values.
|
2021-10-31 20:21:04 +00:00
|
|
|
duration:
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
milestone:
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
Weight:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
child:
|
|
|
|
type: integer
|
|
|
|
weight:
|
|
|
|
type: number
|
|
|
|
date:
|
|
|
|
type: string
|
|
|
|
format: date
|
|
|
|
notes:
|
|
|
|
type: string
|
|
|
|
nullable: true
|
2022-04-15 03:15:02 +00:00
|
|
|
tags:
|
|
|
|
type: string
|
2021-10-31 20:21:04 +00:00
|
|
|
required:
|
|
|
|
- child
|
|
|
|
- weight
|