Skip to main content

Get

Describe one endpoint group: its routes, permissions and operation IDs.

osapi controller endpoint openapi get prints the group's part of the OpenAPI spec.

osapi controller endpoint get [flags]

Examples​

osapi controller endpoint get --name agent
osapi controller endpoint get --name agent --json

Flags​

FlagDescriptionDefault
--nameThe endpoint group, such as agent (required)

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.