38 lines
812 B
YAML
38 lines
812 B
YAML
definitions:
|
|
internal_handlers.AgentInfo:
|
|
properties:
|
|
label:
|
|
type: string
|
|
services:
|
|
items:
|
|
type: string
|
|
type: array
|
|
token:
|
|
type: string
|
|
type: object
|
|
info:
|
|
contact: {}
|
|
paths:
|
|
/agents:
|
|
get:
|
|
description: Returns a list of all agents currently connected via gRPC streaming
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
schema:
|
|
items:
|
|
$ref: '#/definitions/internal_handlers.AgentInfo'
|
|
type: array
|
|
summary: Get connected agents
|
|
tags:
|
|
- agents
|
|
securityDefinitions:
|
|
Bearer:
|
|
description: Type "Bearer" followed by a space and the JWT token.
|
|
in: header
|
|
name: Authorization
|
|
type: apiKey
|
|
swagger: "2.0"
|