-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beta: Beta OpenAPI file replicated from Notehub commit d9833fc
- Loading branch information
github-actions
committed
Oct 30, 2024
1 parent
9c9fdfe
commit f7b275c
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -155,7 +155,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Route" | ||
$ref: "#/components/schemas/NotehubRoute" | ||
example: > | ||
{ | ||
"label": "Route Label", | ||
|
@@ -172,7 +172,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Route" | ||
$ref: "#/components/schemas/NotehubRoute" | ||
example: | ||
{ | ||
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", | ||
|
@@ -211,7 +211,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Route" | ||
$ref: "#/components/schemas/NotehubRoute" | ||
example: | ||
{ | ||
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", | ||
|
@@ -248,7 +248,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Route" | ||
$ref: "#/components/schemas/NotehubRoute" | ||
example: > | ||
{ | ||
"http" { | ||
|
@@ -268,7 +268,7 @@ paths: | |
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Route" | ||
$ref: "#/components/schemas/NotehubRoute" | ||
example: > | ||
{ | ||
"uid": "route:8d65a087d5d290ce5bdf03aeff2becc0", | ||
|
@@ -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" | ||
|
@@ -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" | ||
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -3758,7 +3774,7 @@ components: | |
note_sent: | ||
type: number | ||
|
||
Route: | ||
NotehubRoute: | ||
type: object | ||
properties: | ||
uid: | ||
|