Saltar al contenido principal
GET
/
v1
/
agent
/
versions-dropdown
/
dashboard
Get Agents Versions Dropdown
import requests

url = "https://api.diga.io/v1/agent/versions-dropdown/dashboard"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
[
  {
    "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "versions": [
      {
        "version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "version_number": 123,
        "version_name": "<string>",
        "is_published": false,
        "is_draft": false
      }
    ],
    "name": "<string>"
  }
]

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Respuesta

Successful Response

agent_id
string<uuid>
requerido

The unique identifier for the agent

versions
VersionItem · object[]
requerido

The list of versions for the agent

name
string | null

The name of the agent