Gratheon
  1. Entrance observer as client v1
Gratheon
  • 🐶 Walk through Apidog
  • Telemetry REST API
    • IoT sensors as client v1
      • Add hive internal temperature set
      • Add hive IoT metrics
    • Entrance observer as client v1
      • Add entrance observer metrics
        POST
  1. Entrance observer as client v1

Add entrance observer metrics

POST
/entrance/v1/movement
Stores specified simple colony (specified by hive_id) metrics. Uses current time.
Reports bees movement coming in and out of the hive

Request

Query Params
api_token
string 
optional
Example:
{{api_token}}
Body Params application/json
hiveId
integer 
required
reference to hive
boxId
integer 
required
reference to hive section
beesIn
integer 
required
number of bees coming into the hive
beesOut
integer 
required
number of bees going out of the hive
Example
{
    "hiveId": 0,
    "boxId": 0,
    "beesIn": 0,
    "beesOut": 0
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '/entrance/v1/movement?api_token={{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "hiveId": 0,
    "boxId": 0,
    "beesIn": 0,
    "beesOut": 0
}'

Responses

🟢201OK
text/plain
Body
string 
optional
Example
OK
Previous
Add hive IoT metrics
Built with