API
Serenicity
  • API documentation
  • Control documentation
  • Detoxio documentation
  • Reference
    • API Reference
      • Sensors
      • Flux
      • Lurios
      • Lurio reports
Powered by GitBook
On this page
  • Getting lurios
  • Get lurios.
  • Getting a specific lurio
  • Get lurio.
  1. Reference
  2. API Reference

Lurios

Fields with * are required.

Getting lurios

Get lurios.

GET https://api.control.serenicity.fr/api/v1/lurios

Return the list of your lurios.

[
    {
        "id": 18380,
        "site_id": 18,
        "name": "Flurio",
        "installed_at": "2024-02-27T11:03:30.551Z",
        "timezone": "Europe/Paris",
        "latitude": 45.43008041381836,
        "longitude": 4.3979997634887695,
        "license_key": "13a6f15d-7704-4cdb-82c0-a10d4f3b4bb2",
        "created_at": "2024-02-27T10:03:48.719Z",
        "updated_at": "2024-02-27T10:03:48.719Z",
        "status": "CONNECTED"
    }
]

Getting a specific lurio

Get lurio.

GET https://api.control.serenicity.fr/api/v1/lurios/:lurio_id

Return one of your lurios.

Path Parameters

Name
Type
Description

lurio_id*

Integer

{
    "id": 18380,
    "site_id": 18,
    "name": "Flurio",
    "installed_at": "2024-02-27T11:03:30.551Z",
    "timezone": "Europe/Paris",
    "latitude": 45.43008041381836,
    "longitude": 4.3979997634887695,
    "license_key": "13a6f15d-7704-4cdb-82c0-a10d4f3b4bb2",
    "created_at": "2024-02-27T10:03:48.719Z",
    "updated_at": "2024-02-27T10:03:48.719Z",
    "status": "CONNECTED"
}
{
    "code": "E_ROW_NOT_FOUND",
    "message": "Ressource introuvable."
}
PreviousFluxNextLurio reports

Last updated 8 months ago