Genvid MILE Toolbox 1.45.0.12 documentation
Developers Portal
  • For Developers
  • Online Documentation
  • AnswerHub
  • Licensing
  • Support
Genvid MILE Toolbox Logo
1.45.0
  • Introduction
  • Release & Upgrade Notes
  • Local Environment Guide
  • Cloud Environment Guide
  • Reference
    • Genvid Configuration
    • Terraform Modules
    • Cluster Management APIs
      • Bastion UI
      • Cluster UI
      • Bastion API for Backends
      • Bastion API for Clusters
      • Bastion API for global
      • Bastion API for jobs
      • Bastion API for job’s definitions
      • Bastion API for Links
      • Bastion API for Links Definitions
      • Bastion API for Logs
      • Bastion API for Terraform
      • Bastion API for Toolbox version
      • Cluster API Cluster information
      • Cluster API custom configuration
      • Cluster API Events
      • Cluster API health
      • Cluster API Jobs
      • Cluster API job’s definitions
      • Cluster API Links
      • Cluster API Link’s Definitions
      • Cluster API Logs
      • Cluster API Nodes
      • Cluster API Secrets
      • Cluster API Settings
      • Cluster API for Toolbox version
    • Python Toolbox API
    • Toolbox CLI Applications
Genvid MILE Toolbox
  • Reference
  • Cluster Management APIs
  • Cluster API Link’s Definitions

Cluster API Link’s Definitions

Cluster API documentation for links

Linksdefs

GET /linksdefs

Get all the links definitions

Response JSON Object:
  • [key].category (string) – The link’s category.

  • [key].name (string) – The link’s name.

  • [key].scheme (string) – http or https.

  • [key].tag (string) – The service tag.

  • [key].service (string) – Used to get the ip address.

  • [key].path (string) – A fixed path.

  • [key].template (string) – Used to form the URI.

  • [key].uri (string) – Fixed URI.

Example response:

{
  "web": {
    "id": "web",
    "category": "project",
    "name": "Tutorial Demo",
    "scheme": "",
    "tag": "",
    "service": "",
    "path": "",
    "template": "http://${service `web`}/",
    "uri": "",
    "error": ""
  }
}
POST /linksdefs

Set the link’s definitions

Request JSON Object:
  • [key].category (string) – The link’s category.

  • [key].name (string) – The link’s name.

  • [key].scheme (string) – http or https.

  • [key].tag (string) – The service tag.

  • [key].service (string) – Used to get the ip address.

  • [key].path (string) – A fixed path.

  • [key].template (string) – Used to form the URI.

  • [key].uri (string) – Fixed URI.

Example query:

{
  "web": {
    "id": "web",
    "category": "project",
    "name": "Tutorial Demo",
    "scheme": "",
    "tag": "",
    "service": "",
    "path": "",
    "template": "http://${service `web`}/",
    "uri": "",
    "error": ""
  }
}
DELETE /linksdefs

Delete all link’s definitions

GET /linksdef/{linkID}

Returns a link definition

Parameters:
  • linkID – The link ID

Response JSON Object:
  • category (string) – The link’s category.

  • name (string) – The link’s name.

  • scheme (string) – http or https.

  • tag (string) – The service tag.

  • service (string) – Used to get the ip address.

  • path (string) – A fixed path.

  • template (string) – Used to form the URI.

  • uri (string) – Fixed URI.

Example response:

{
  "id": "web",
  "category": "project",
  "name": "Tutorial Demo",
  "scheme": "",
  "tag": "",
  "service": "",
  "path": "",
  "template": "http://${service `web`}/",
  "uri": "",
  "error": ""
}
DELETE /linksdef/{linkID}

Delete a link definition

Parameters:
  • linkID – The link ID


© Copyright Genvid Technologies, LLC 2023

  • Privacy Policy