docs
ci-agent / build (push) Failing after 4m41s

This commit is contained in:
2026-04-05 07:50:57 +03:00
parent 7aa25b02c5
commit 2714bd1178
3 changed files with 364 additions and 0 deletions
+139
View File
@@ -994,6 +994,145 @@ const docTemplate = `{
} }
} }
}, },
"/graph": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns the service dependency graph as raw YAML text",
"produces": [
"text/plain"
],
"tags": [
"graph"
],
"summary": "Get dependency graph YAML",
"responses": {
"200": {
"description": "YAML content",
"schema": {
"type": "string"
}
}
}
},
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Replaces the service dependency graph YAML and reloads it",
"consumes": [
"text/plain"
],
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Update dependency graph YAML",
"parameters": [
{
"description": "New YAML content",
"name": "body",
"in": "body",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"400": {
"description": "Bad Request",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"/graph/cycle": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns whether the dependency graph contains cycles",
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Check for cycles",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
}
}
}
},
"/graph/order": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns the topologically sorted service startup order",
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Get startup order",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"400": {
"description": "Bad Request",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"/jobs": { "/jobs": {
"post": { "post": {
"description": "Sends a command to the specified agent and returns a URL to wait for the result", "description": "Sends a command to the specified agent and returns a URL to wait for the result",
+139
View File
@@ -983,6 +983,145 @@
} }
} }
}, },
"/graph": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns the service dependency graph as raw YAML text",
"produces": [
"text/plain"
],
"tags": [
"graph"
],
"summary": "Get dependency graph YAML",
"responses": {
"200": {
"description": "YAML content",
"schema": {
"type": "string"
}
}
}
},
"put": {
"security": [
{
"Bearer": []
}
],
"description": "Replaces the service dependency graph YAML and reloads it",
"consumes": [
"text/plain"
],
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Update dependency graph YAML",
"parameters": [
{
"description": "New YAML content",
"name": "body",
"in": "body",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"400": {
"description": "Bad Request",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"/graph/cycle": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns whether the dependency graph contains cycles",
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Check for cycles",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
}
}
}
},
"/graph/order": {
"get": {
"security": [
{
"Bearer": []
}
],
"description": "Returns the topologically sorted service startup order",
"produces": [
"application/json"
],
"tags": [
"graph"
],
"summary": "Get startup order",
"responses": {
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"400": {
"description": "Bad Request",
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}
},
"/jobs": { "/jobs": {
"post": { "post": {
"description": "Sends a command to the specified agent and returns a URL to wait for the result", "description": "Sends a command to the specified agent and returns a URL to wait for the result",
+86
View File
@@ -1157,6 +1157,92 @@ paths:
summary: Validate token summary: Validate token
tags: tags:
- auth - 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: /jobs:
post: post:
consumes: consumes: