@@ -1157,6 +1157,92 @@ paths:
|
||||
summary: Validate token
|
||||
tags:
|
||||
- auth
|
||||
/graph:
|
||||
get:
|
||||
description: Returns the service dependency graph as raw YAML text
|
||||
produces:
|
||||
- text/plain
|
||||
responses:
|
||||
"200":
|
||||
description: YAML content
|
||||
schema:
|
||||
type: string
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get dependency graph YAML
|
||||
tags:
|
||||
- graph
|
||||
put:
|
||||
consumes:
|
||||
- text/plain
|
||||
description: Replaces the service dependency graph YAML and reloads it
|
||||
parameters:
|
||||
- description: New YAML content
|
||||
in: body
|
||||
name: body
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Update dependency graph YAML
|
||||
tags:
|
||||
- graph
|
||||
/graph/cycle:
|
||||
get:
|
||||
description: Returns whether the dependency graph contains cycles
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: boolean
|
||||
type: object
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Check for cycles
|
||||
tags:
|
||||
- graph
|
||||
/graph/order:
|
||||
get:
|
||||
description: Returns the topologically sorted service startup order
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: Get startup order
|
||||
tags:
|
||||
- graph
|
||||
/jobs:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user