Skip to content

Commit

Permalink
beta: Beta OpenAPI file replicated from Notehub commit d9833fc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 30, 2024
1 parent 9c9fdfe commit f7b275c
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ openapi: "3.0.3"

info:
title: Notehub API
version: 1.1.0
version: 1.2.0
description: |
The OpenAPI definition for the Notehub.io API. Test the API
The OpenAPI definition for the Notehub.io API.
contact:
name: Blues Engineering
email: [email protected]
Expand Down Expand Up @@ -155,7 +155,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Route"
$ref: "#/components/schemas/NotehubRoute"
example: >
{
"label": "Route Label",
Expand All @@ -172,7 +172,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Route"
$ref: "#/components/schemas/NotehubRoute"
example:
{
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0",
Expand Down Expand Up @@ -211,7 +211,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Route"
$ref: "#/components/schemas/NotehubRoute"
example:
{
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0",
Expand Down Expand Up @@ -248,7 +248,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Route"
$ref: "#/components/schemas/NotehubRoute"
example: >
{
"http" {
Expand All @@ -268,7 +268,7 @@ paths:
content:
application/json:
schema:
$ref: "#/components/schemas/Route"
$ref: "#/components/schemas/NotehubRoute"
example: >
{
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0",
Expand Down Expand Up @@ -1182,6 +1182,7 @@ paths:
- $ref: "#/components/parameters/sortOrderParam"
- $ref: "#/components/parameters/startDateParam"
- $ref: "#/components/parameters/endDateParam"
- $ref: "#/components/parameters/dateTypeParam"
- $ref: "#/components/parameters/systemFilesOnlyParam"
- $ref: "#/components/parameters/filesQueryParam"
- $ref: "#/components/parameters/formatParam"
Expand Down Expand Up @@ -1275,11 +1276,11 @@ paths:
- $ref: "#/components/parameters/sortOrderParam"
- $ref: "#/components/parameters/startDateParam"
- $ref: "#/components/parameters/endDateParam"
- $ref: "#/components/parameters/dateTypeParam"
- $ref: "#/components/parameters/systemFilesOnlyParam"
- $ref: "#/components/parameters/filesQueryParam"
- $ref: "#/components/parameters/formatParam"
- $ref: "#/components/parameters/serialNumberFilterParam"
- $ref: "#/components/parameters/fleetUIDFilterQueryParam"
- $ref: "#/components/parameters/sessionUIDFilterParam"
- $ref: "#/components/parameters/eventUIDFilterQueryParam"
- $ref: "#/components/parameters/selectFieldsParam"
Expand Down Expand Up @@ -2399,13 +2400,15 @@ components:
schema:
type: string
enum:
- best_id
- device_serial
- device_uid
- captured
- modified
- device_location
- tower_location
- triangulated_location
- best_location
default: captured

sortOrderParam:
Expand Down Expand Up @@ -2441,6 +2444,19 @@ components:
# July 15th, 2022
example: 1657894210

dateTypeParam:
name: dateType
in: query
required: false
description: Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters
schema:
type: string
default: captured
enum:
- captured
- uploaded
example: uploaded

cursorParam:
name: cursor
in: query
Expand Down Expand Up @@ -3758,7 +3774,7 @@ components:
note_sent:
type: number

Route:
NotehubRoute:
type: object
properties:
uid:
Expand Down

0 comments on commit f7b275c

Please sign in to comment.