FLECS
HomeMarketplaceRessourcesGet started
Engineering
Engineering
  • API Docs
    • FLECS Console API
      • Welcome!
      • Quick Start
      • API Reference
        • Authentication
        • Users
        • Products
        • Device
        • Apps
    • FLECS Core API
      • API Reference
        • System
        • Device
        • Console
        • Instances
        • Apps
        • Jobs
  • App Publishing Guide
    • 💡Overview
    • 🪛How to create a FLECS app
    • 🚀How to release a FLECS app
    • 🧳App Publishing Packages
    • 📶Network
  • FLECS Core
    • Install FLECS Core Using Docker
  • White Labeling
    • Integrate views
    • On-premise hosting of apps
  • Service Mesh
    • Integrate flunder into your app
Powered by GitBook
On this page

Was this helpful?

  1. API Docs
  2. FLECS Console API
  3. API Reference

Apps

PreviousDeviceNextFLECS Core API

Last updated 4 months ago

Was this helpful?

  • GETDownload App manifest
  • POSTAcquire download token for App

Download App manifest

get

Get the app manifest for a given app and version

Path parameters
appstringRequired
versionstringRequired
Query parameters
max_manifest_versionstringOptional

https://regex101.com/r/y9GIZD/1

Example: 3.0.0-beta.1Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
manifest_versionstringOptional

https://regex101.com/r/y9GIZD/1

Example: 3.0.0-beta.1Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
Header parameters
X-Session-IdstringRequiredPattern: ^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$
Responses
200
App Manifests for App {app} in version {version}
application/json
400
Bad Request
application/json
403
Session id invalid or not found
application/json
404
No such App/version combination
application/json
500
Internal Server Error
application/json
get
GET /api/v2/manifests/{app}/{version} HTTP/1.1
Host: console.flecs.tech
X-Session-Id: text
Accept: */*
{
  "statusCode": 1,
  "statusText": "text",
  "data": {}
}

Acquire download token for App

post

Create a download token for a given app and version

Header parameters
X-Session-IdstringRequiredPattern: ^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$
Body
appstringRequired
versionstringRequired
Responses
200
Download token for App {app} in version {version}
application/json
204
Inofficial App, no download token creation possible
403
Session id invalid or not found
application/json
500
Internal Server Error
application/json
post
POST /api/v2/tokens HTTP/1.1
Host: console.flecs.tech
X-Session-Id: text
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "app": "text",
  "version": "text"
}
{
  "statusCode": 1,
  "statusText": "text",
  "data": {
    "token": {
      "username": "text",
      "password": "text"
    }
  }
}