Skip to content

Commit

Permalink
Update picture overlay HTTP API docs (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
sindrehan authored Jun 6, 2023
2 parents e111af1 + 48aa9ae commit 5bedc48
Showing 1 changed file with 37 additions and 2 deletions.
39 changes: 37 additions & 2 deletions http-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,9 @@ paths:
get:
tags:
- "Pictures"
summary: Download a thumbnail of a picture with metadata overlay
summary: Download a thumbnail of a picture
description: |
Downloads a picture (jpg) with metadata from when the photo was captured.
Downloads a picture (jpg) with EXIF metadata from when the photo was captured.
parameters:
- name: file
in: query
Expand All @@ -493,6 +493,27 @@ paths:
schema:
type: string
example: "picture_BYEDP123456_2019-01-01_000001.001.jpg"
- name: width
in: query
description: "Width of the thumbnail in pixels."
required: false
schema:
type: integer
default: 1024
- name: height
in: query
description: "Height of the thumbnail in pixels."
required: false
schema:
type: integer
default: 576
- name: quality
in: query
description: "JPG compression level, 0-100. 100 is best quality, 0 is worst quality."
required: false
schema:
type: integer
default: 85
responses:
'200':
description: Picture thumbnail
Expand Down Expand Up @@ -690,6 +711,20 @@ paths:
type: integer
default: 1
enum: [0, 1]
- name: field-gps
in: query
description: |
Display GPS coordinates (decimal degrees) in the image overlay.
Requires Blunux 3.0 or newer.
If a positioning system is used, the coordinates of the drone is shown, else the operator
position reported by the app is shown.
* `1` - Enable
* `0` - Disable
required: false
schema:
type: integer
default: 0
enum: [0, 1]

responses:
'200':
Expand Down

0 comments on commit 5bedc48

Please sign in to comment.