1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

doc: add new graph API endpoint to OpenAPI spec

This commit is contained in:
Steffen Vogel 2020-10-20 22:24:31 +02:00
parent 62bed4953d
commit fb4f8c7ccb

View file

@ -756,3 +756,45 @@ paths:
description: Success. The path has been stopped.
'404':
description: Error. There is no path with the given UUID.
"/graph.{format}":
get:
summary: Get a graph representation of the currently loaded configuration.
parameters:
- in: path
name: format
schema:
type: string
description: The image format of the generated graph.
enum:
- ps
- eps
- txt
- svg
- svgz
- gif
- png
- jpg
- jpeg
- bmp
- dot
- fig
- json
- pdf
- in: query
name: layout
schema:
type: string
description: The Graphviz layout engine used for rendering the graph.
enum:
- circo
- dot
- fdp
- neato
- nop
- nop1
- nop2
- osage
- patchwork
- sfdp
- twopi