跳转到主要内容
GET
/
config
/
validate
config/validate
curl --request GET \
  --url https://provisioning.cloudx.io/api/v1/config/validate \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "error_count": 123,
  "warning_count": 123,
  "issues": [
    {
      "code": "<string>",
      "message": "<string>",
      "path": "<string>",
      "line": 123,
      "column": 123,
      "length": 123
    }
  ],
  "yaml": "<string>",
  "source": {
    "type": "<string>",
    "name": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.cloudx.io/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
默认值:YOUR_CLOUDX_API_KEY
必填

Create or manage API keys in CloudX Settings.

查询参数

id
string

Configuration row ID. Can address a published version or draft.

version
integer<int32>

Published configuration version number.

响应

Config validation result.

valid
boolean
必填
error_count
integer<int32>
必填
warning_count
integer<int32>
必填
issues
object[]
必填
yaml
string
必填
source
object