Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StorageLeaf
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ProjectLeaf
StorageLeaf
Commits
205d6b2d
Commit
205d6b2d
authored
4 years ago
by
Robert Goldmann
Browse files
Options
Downloads
Patches
Plain Diff
group routes in api doc
parent
f38f0fc4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/api.yml
+20
-0
20 additions, 0 deletions
docs/api.yml
with
20 additions
and
0 deletions
docs/api.yml
+
20
−
0
View file @
205d6b2d
...
...
@@ -21,6 +21,8 @@ paths:
$ref
:
'
#/components/schemas/Version'
/devices
:
get
:
tags
:
-
device
summary
:
Gets all devices
operationId
:
devices
responses
:
...
...
@@ -34,6 +36,8 @@ paths:
$ref
:
'
#/components/schemas/Device'
/device/{deviceID}
:
get
:
tags
:
-
device
summary
:
Gets a specific device
operationId
:
device
parameters
:
...
...
@@ -52,6 +56,8 @@ paths:
$ref
:
'
#/components/schemas/Device'
/device/{deviceID}/sensors
:
get
:
tags
:
-
device
summary
:
Gets all sensors for a specific device
operationId
:
deviceSensors
parameters
:
...
...
@@ -73,6 +79,8 @@ paths:
/sensors
:
get
:
tags
:
-
sensor
summary
:
Gets all sensors
operationId
:
sensors
responses
:
...
...
@@ -86,6 +94,8 @@ paths:
$ref
:
'
#/components/schemas/Sensor'
/sensor/{sensorID}
:
get
:
tags
:
-
sensor
summary
:
Gets a specific sensor
operationId
:
sensor
parameters
:
...
...
@@ -104,6 +114,8 @@ paths:
$ref
:
'
#/components/schemas/Sensor'
/sensor/{sensorID}/measurements
:
get
:
tags
:
-
sensor
summary
:
Gets all measurements for a specific sensor
operationId
:
sensorMeasurements
parameters
:
...
...
@@ -124,6 +136,8 @@ paths:
$ref
:
'
#/components/schemas/Measurement'
/sensor/{sensorID}/measurements/latest
:
get
:
tags
:
-
sensor
summary
:
Gets the latest measurement for a specific sensor
operationId
:
sensorMeasurementsLatest
parameters
:
...
...
@@ -145,6 +159,8 @@ paths:
/measurements
:
get
:
tags
:
-
measurement
summary
:
Gets all measurements
operationId
:
measurements
responses
:
...
...
@@ -157,6 +173,8 @@ paths:
items
:
$ref
:
'
#/components/schemas/Measurement'
post
:
tags
:
-
measurement
summary
:
Adds a new measurement. Non-existent device or sensor will be created automatically.
operationId
:
addMeasurement
security
:
...
...
@@ -183,6 +201,8 @@ paths:
$ref
:
'
#/components/schemas/ErrorResponse'
/measurement/{measurementID}
:
get
:
tags
:
-
measurement
summary
:
Gets a specific measurement
operationId
:
measurement
parameters
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment