mybuddy/openapi-schema.yml

5552 lines
140 KiB
YAML
Raw Normal View History

openapi: 3.0.2
info:
title: ""
version: ""
paths:
2022-05-28 20:07:17 +00:00
/api/bmi/:
get:
2022-05-28 20:07:17 +00:00
operationId: listBMIs
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
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/BMI"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createBMI
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/BMI"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/bmi/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveBMI
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this BMI.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/BMI"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateBMI
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this BMI.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/BMI"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/BMI"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/BMI"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/BMI"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateBMI
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this BMI.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/BMI"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/BMI"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyBMI
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this BMI.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
/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
- 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
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: solid
required: false
in: query
description: solid
schema:
type: string
- name: wet
required: false
in: query
description: wet
schema:
type: string
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/DiaperChange"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
operationId: createDiaperChange
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/DiaperChange"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
/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
- 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
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: solid
required: false
in: query
description: solid
schema:
type: string
- name: wet
required: false
in: query
description: wet
schema:
type: string
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DiaperChange"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateDiaperChange
description: ""
2023-10-21 18:16:08 +00:00
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
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: solid
required: false
in: query
description: solid
schema:
type: string
- name: wet
required: false
in: query
description: wet
schema:
type: string
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/DiaperChange"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/DiaperChange"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/DiaperChange"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/DiaperChange"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2021-10-31 20:21:04 +00:00
operationId: partialUpdateDiaperChange
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
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: solid
required: false
in: query
description: solid
schema:
type: string
- name: wet
required: false
in: query
description: wet
schema:
type: string
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/DiaperChange"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/DiaperChange"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
delete:
operationId: destroyDiaperChange
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
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: solid
required: false
in: query
description: solid
schema:
type: string
- name: wet
required: false
in: query
description: wet
schema:
type: string
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/children/:
get:
2022-05-28 20:07:17 +00:00
operationId: listChilds
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: id
required: false
in: query
description: id
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
schema:
type: string
- name: birth_time
required: false
in: query
description: birth_time
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/Child"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createChild
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Child"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Child"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Child"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/children/{slug}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveChild
description: ""
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: id
required: false
in: query
description: id
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
schema:
type: string
- name: birth_time
required: false
in: query
description: birth_time
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateChild
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: id
required: false
in: query
description: id
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
schema:
type: string
- name: birth_time
required: false
in: query
description: birth_time
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Child"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Child"
2022-05-28 20:07:17 +00:00
responses:
"200":
2022-05-28 20:07:17 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
description: ""
2022-05-28 20:07:17 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
patch:
operationId: partialUpdateChild
description: ""
2022-05-28 20:07:17 +00:00
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: id
required: false
in: query
description: id
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
schema:
type: string
- name: birth_time
required: false
in: query
description: birth_time
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-05-28 20:07:17 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
2022-05-28 20:07:17 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Child"
2022-05-28 20:07:17 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Child"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Child"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
delete:
operationId: destroyChild
description: ""
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: id
required: false
in: query
description: id
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
schema:
type: string
- name: birth_time
required: false
in: query
description: birth_time
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-05-28 20:07:17 +00:00
responses:
"204":
description: ""
2022-05-28 20:07:17 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/feedings/:
get:
operationId: listFeedings
description: ""
2022-05-28 20:07:17 +00:00
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: 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: 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
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: type
required: false
in: query
description: type
schema:
type: string
enum:
- breast milk
- formula
- fortified breast milk
- solid food
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-05-28 20:07:17 +00:00
responses:
"200":
2022-05-28 20:07:17 +00:00
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: ""
2022-05-28 20:07:17 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
post:
operationId: createFeeding
description: ""
2022-05-28 20:07:17 +00:00
parameters: []
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:
"201":
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
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
- 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: 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
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: type
required: false
in: query
description: type
schema:
type: string
enum:
- breast milk
- formula
- fortified breast milk
- solid food
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Feeding"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateFeeding
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
- 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: 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
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: type
required: false
in: query
description: type
schema:
type: string
enum:
- breast milk
- formula
- fortified breast milk
- solid food
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-05-28 20:07:17 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Feeding"
2022-05-28 20:07:17 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Feeding"
2022-05-28 20:07:17 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Feeding"
responses:
"200":
2022-05-28 20:07:17 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Feeding"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
patch:
operationId: partialUpdateFeeding
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
- 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: 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
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: type
required: false
in: query
description: type
schema:
type: string
enum:
- breast milk
- formula
- fortified breast milk
- solid food
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Feeding"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Feeding"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Feeding"
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Feeding"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
delete:
operationId: destroyFeeding
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
- 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: 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
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: type
required: false
in: query
description: type
schema:
type: string
enum:
- breast milk
- formula
- fortified breast milk
- solid food
- name: tags
required: false
in: query
description: tag
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
responses:
"204":
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
/api/head-circumference/:
get:
operationId: listHeadCircumferences
description: ""
2023-10-21 18:16:08 +00:00
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
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/HeadCircumference"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createHeadCircumference
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/HeadCircumference"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/head-circumference/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveHeadCircumference
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Head Circumference.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/HeadCircumference"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateHeadCircumference
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Head Circumference.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/HeadCircumference"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/HeadCircumference"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/HeadCircumference"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/HeadCircumference"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2021-10-31 20:21:04 +00:00
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateHeadCircumference
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Head Circumference.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/HeadCircumference"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/HeadCircumference"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2021-10-31 20:21:04 +00:00
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyHeadCircumference
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Head Circumference.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-15 03:15:02 +00:00
responses:
"204":
description: ""
2022-04-15 03:15:02 +00:00
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
description: ""
2022-04-15 03:15:02 +00:00
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
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-15 03:15:02 +00:00
responses:
"200":
2022-04-15 03:15:02 +00:00
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/Height"
description: ""
2022-04-15 03:15:02 +00:00
tags:
- api
2022-04-15 03:15:02 +00:00
post:
2022-05-28 20:07:17 +00:00
operationId: createHeight
description: ""
2022-04-15 03:15:02 +00:00
parameters: []
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
responses:
"201":
2022-04-15 03:15:02 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
description: ""
2022-04-15 03:15:02 +00:00
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
description: ""
2022-04-15 03:15:02 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Height.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-15 03:15:02 +00:00
responses:
"200":
2022-04-15 03:15:02 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
description: ""
2022-04-15 03:15:02 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateHeight
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Height.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Height"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Height"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2022-04-15 03:15:02 +00:00
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateHeight
description: ""
2022-04-15 03:15:02 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Height.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-15 03:15:02 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Height"
2022-04-15 03:15:02 +00:00
responses:
"200":
2022-04-15 03:15:02 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Height"
description: ""
2022-04-15 03:15:02 +00:00
tags:
- api
2022-04-15 03:15:02 +00:00
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyHeight
description: ""
2022-04-15 03:15:02 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Height.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/notes/:
get:
2022-05-28 20:07:17 +00:00
operationId: listNotes
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/Note"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createNote
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Note"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/notes/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveNote
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Note.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Note"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateNote
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Note.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Note"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Note"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Note"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Note"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateNote
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Note.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Note"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Note"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyNote
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Note.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/pumping/:
get:
2022-05-28 20:07:17 +00:00
operationId: listPumpings
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: 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
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: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/Pumping"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createPumping
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Pumping"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/pumping/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrievePumping
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Pumping.
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
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: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Pumping"
description: ""
tags:
- api
put:
operationId: updatePumping
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Pumping.
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
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: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Pumping"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Pumping"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Pumping"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Pumping"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdatePumping
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Pumping.
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
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: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Pumping"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Pumping"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyPumping
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Pumping.
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
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: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2021-10-31 20:21:04 +00:00
responses:
"204":
description: ""
2021-10-31 20:21:04 +00:00
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
description: ""
2021-10-31 20:21:04 +00:00
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: 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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/Sleep"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createSleep
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Sleep"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Sleep"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/Sleep"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/sleep/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveSleep
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Sleep.
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateSleep
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Sleep.
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Sleep"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Sleep"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateSleep
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Sleep.
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Sleep"
multipart/form-data:
schema:
$ref: "#/components/schemas/Sleep"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Sleep"
description: ""
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroySleep
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Sleep.
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/tags/:
get:
2022-05-28 20:07:17 +00:00
operationId: listTags
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: last_used
required: false
in: query
description: last_used
schema:
type: string
- name: name
required: false
in: query
description: name
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
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:
$ref: "#/components/schemas/Tag"
description: ""
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createTag
description: ""
parameters: []
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Tag"
multipart/form-data:
schema:
$ref: "#/components/schemas/Tag"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/tags/{slug}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveTag
description: ""
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: last_used
required: false
in: query
description: last_used
schema:
type: string
- name: name
required: false
in: query
description: name
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateTag
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: last_used
required: false
in: query
description: last_used
schema:
type: string
- name: name
required: false
in: query
description: name
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Tag"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Tag"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateTag
description: ""
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: last_used
required: false
in: query
description: last_used
schema:
type: string
- name: name
required: false
in: query
description: name
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Tag"
multipart/form-data:
schema:
$ref: "#/components/schemas/Tag"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Tag"
description: ""
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyTag
description: ""
parameters:
- name: slug
in: path
required: true
description: ""
schema:
type: string
- name: last_used
required: false
in: query
description: last_used
schema:
type: string
- name: name
required: false
in: query
description: name
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/temperature/:
get:
2022-05-28 20:07:17 +00:00
operationId: listTemperatures
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
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:
$ref: "#/components/schemas/Temperature"
description: ""
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createTemperature
description: ""
parameters: []
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Temperature"
multipart/form-data:
schema:
$ref: "#/components/schemas/Temperature"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/temperature/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveTemperature
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Temperature.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
description: ""
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateTemperature
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Temperature.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Temperature"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Temperature"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateTemperature
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Temperature.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Temperature"
multipart/form-data:
schema:
$ref: "#/components/schemas/Temperature"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Temperature"
description: ""
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyTemperature
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Temperature.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/timers/:
get:
2022-05-28 20:07:17 +00:00
operationId: listTimers
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: 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: name
required: false
in: query
description: name
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
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:
$ref: "#/components/schemas/Timer"
description: ""
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createTimer
description: ""
parameters: []
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:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/timers/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveTimer
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
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: name
required: false
in: query
description: name
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateTimer
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
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: name
required: false
in: query
description: name
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Timer"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Timer"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
description: ""
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateTimer
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
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: name
required: false
in: query
description: name
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
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
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyTimer
description: ""
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
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: name
required: false
in: query
description: name
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"204":
description: ""
tags:
- api
2022-05-28 20:07:17 +00:00
/api/tummy-times/:
get:
2022-05-28 20:07:17 +00:00
operationId: listTummyTimes
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: 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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
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
results:
type: array
items:
$ref: "#/components/schemas/TummyTime"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
post:
2022-05-28 20:07:17 +00:00
operationId: createTummyTime
description: ""
parameters: []
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
responses:
"201":
content:
application/json:
schema:
$ref: "#/components/schemas/TummyTime"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2022-05-28 20:07:17 +00:00
/api/tummy-times/{id}/:
get:
2022-05-28 20:07:17 +00:00
operationId: retrieveTummyTime
description: ""
parameters:
- name: id
in: path
required: true
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/TummyTime"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateTummyTime
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/TummyTime"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/TummyTime"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/TummyTime"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/TummyTime"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateTummyTime
description: ""
parameters:
- name: id
in: path
required: true
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
requestBody:
content:
application/json:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
application/x-www-form-urlencoded:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
multipart/form-data:
2021-10-31 20:21:04 +00:00
schema:
$ref: "#/components/schemas/TummyTime"
responses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/TummyTime"
description: ""
2021-10-31 20:21:04 +00:00
tags:
- api
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyTummyTime
description: ""
parameters:
- name: id
in: path
required: true
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
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
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
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
description: ""
2022-04-04 22:38:34 +00:00
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
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-04 22:38:34 +00:00
responses:
"200":
2022-04-04 22:38:34 +00:00
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/Weight"
description: ""
2022-04-04 22:38:34 +00:00
tags:
- api
2022-04-04 22:38:34 +00:00
post:
2022-05-28 20:07:17 +00:00
operationId: createWeight
description: ""
2022-04-04 22:38:34 +00:00
parameters: []
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
responses:
"201":
2022-04-04 22:38:34 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
description: ""
2022-04-04 22:38:34 +00:00
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
description: ""
2022-04-04 22:38:34 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Weight.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-04 22:38:34 +00:00
responses:
"200":
2022-04-04 22:38:34 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
description: ""
2022-04-04 22:38:34 +00:00
tags:
- api
2023-10-21 18:16:08 +00:00
put:
operationId: updateWeight
description: ""
2023-10-21 18:16:08 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Weight.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2023-10-21 18:16:08 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
2023-10-21 18:16:08 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Weight"
2023-10-21 18:16:08 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Weight"
2023-10-21 18:16:08 +00:00
responses:
"200":
2023-10-21 18:16:08 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
description: ""
2023-10-21 18:16:08 +00:00
tags:
- api
2022-04-04 22:38:34 +00:00
patch:
2022-05-28 20:07:17 +00:00
operationId: partialUpdateWeight
description: ""
2022-04-04 22:38:34 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Weight.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-04 22:38:34 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Weight"
2022-04-04 22:38:34 +00:00
responses:
"200":
2022-04-04 22:38:34 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Weight"
description: ""
2022-04-04 22:38:34 +00:00
tags:
- api
2022-04-04 22:38:34 +00:00
delete:
2022-05-28 20:07:17 +00:00
operationId: destroyWeight
description: ""
2022-04-04 22:38:34 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Weight.
schema:
type: string
- name: child
required: false
in: query
description: child
schema:
type: string
- name: date
required: false
in: query
description: date
schema:
type: string
- name: ordering
required: false
in: query
description: Which field to use when ordering the results.
schema:
type: string
2022-04-04 22:38:34 +00:00
responses:
"204":
description: ""
2022-04-04 22:38:34 +00:00
tags:
- api
2022-09-05 21:03:24 +00:00
/api/profile:
get:
operationId: retrieveCurrentProfile
description: ""
2022-09-05 21:03:24 +00:00
parameters: []
responses:
"200":
2022-09-05 21:03:24 +00:00
content:
application/json:
schema: {}
description: ""
2022-09-05 21:03:24 +00:00
tags:
- api
2022-01-12 23:54:47 +00:00
/api/timers/{id}/restart/:
patch:
operationId: restartTimer
description: ""
2022-01-12 23:54:47 +00:00
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
schema:
type: string
2022-01-12 23:54:47 +00:00
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
2022-01-12 23:54:47 +00:00
application/x-www-form-urlencoded:
schema:
$ref: "#/components/schemas/Timer"
2022-01-12 23:54:47 +00:00
multipart/form-data:
schema:
$ref: "#/components/schemas/Timer"
2022-01-12 23:54:47 +00:00
responses:
"200":
2022-01-12 23:54:47 +00:00
content:
application/json:
schema:
$ref: "#/components/schemas/Timer"
description: ""
2022-01-12 23:54:47 +00:00
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:
2023-02-11 02:51:04 +00:00
type: array
items:
type: string
2021-10-31 20:21:04 +00:00
required:
- 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
2021-10-31 20:21:04 +00:00
type: string
amount:
type: number
nullable: true
notes:
type: string
nullable: true
2022-04-15 03:15:02 +00:00
tags:
2023-02-11 02:51:04 +00:00
type: array
items:
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
2023-10-21 18:16:08 +00:00
birth_time:
type: string
nullable: true
2022-05-28 20:07:17 +00:00
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
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
start:
type: string
format: date-time
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
end:
type: string
format: date-time
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
2023-02-11 02:51:04 +00:00
nullable: true
2021-10-31 20:21:04 +00:00
type:
enum:
- breast milk
- formula
- fortified breast milk
- solid food
2021-10-31 20:21:04 +00:00
type: string
method:
enum:
- bottle
- left breast
- right breast
- both breasts
- parent fed
- self fed
2021-10-31 20:21:04 +00:00
type: string
amount:
type: number
nullable: true
notes:
type: string
nullable: true
2022-04-15 03:15:02 +00:00
tags:
2023-02-11 02:51:04 +00:00
type: array
items:
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:
2023-02-11 02:51:04 +00:00
type: array
items:
type: string
2022-05-28 20:07:17 +00:00
required:
- child
- head_circumference
2022-05-28 20:07:17 +00:00
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:
2023-02-11 02:51:04 +00:00
type: array
items:
type: string
2022-05-28 20:07:17 +00:00
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
2023-10-21 18:16:08 +00:00
image:
type: string
format: binary
nullable: true
2021-10-31 20:21:04 +00:00
time:
type: string
format: date-time
2022-04-04 22:38:34 +00:00
tags:
2023-02-11 02:51:04 +00:00
type: array
items:
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
start:
2022-05-28 20:07:17 +00:00
type: string
format: date-time
end:
type: string
format: date-time
duration:
type: string
readOnly: true
nullable: true
2022-05-28 20:07:17 +00:00
notes:
type: string
nullable: true
2023-02-11 02:51:04 +00:00
tags:
type: array
items:
type: string
2022-05-28 20:07:17 +00:00
required:
- child
- amount
2021-10-31 20:21:04 +00:00
Sleep:
type: object
properties:
id:
type: integer
readOnly: true
child:
type: integer
nullable: true
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
start:
type: string
format: date-time
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
end:
type: string
format: date-time
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
2023-02-11 02:51:04 +00:00
nullable: true
2021-10-31 20:21:04 +00:00
nap:
type: boolean
nullable: true
2021-10-31 20:21:04 +00:00
notes:
type: string
nullable: true
2022-04-15 03:15:02 +00:00
tags:
2023-02-11 02:51:04 +00:00
type: array
items:
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-09-05 21:03:24 +00:00
pattern: ^[-\w]+\z
2022-05-28 20:07:17 +00:00
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:
- 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:
2023-02-11 02:51:04 +00:00
type: array
items:
type: string
2021-10-31 20:21:04 +00:00
required:
- child
- temperature
2021-10-31 20:21:04 +00:00
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
duration:
type: string
readOnly: true
user:
type: integer
nullable: true
TummyTime:
type: object
properties:
id:
type: integer
readOnly: true
child:
type: integer
nullable: true
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
start:
type: string
format: date-time
description: Required unless a Timer value is provided.
2021-10-31 20:21:04 +00:00
end:
type: string
format: date-time
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
2023-02-11 02:51:04 +00:00
nullable: true
2021-10-31 20:21:04 +00:00
milestone:
type: string
maxLength: 255
2022-04-15 03:15:02 +00:00
tags:
2023-02-11 02:51:04 +00:00
type: array
items:
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:
2023-02-11 02:51:04 +00:00
type: array
items:
type: string
2021-10-31 20:21:04 +00:00
required:
- child
- weight