Publishing
マニフェスト検証
書き込みなしでマニフェストを完全検証。問題一覧とプレビューカード。
POST
マニフェスト検証
POST https://api-datahub.octoparse.com/v1/data-apps/validate
Authentication: API key required (Authorization: Bearer <API Key>).
Stage one of two-phase publish: full validation of structure, cross-block rules, self-publish guardrails, code-package checks, and filename checks — the same rules used at publish time. Returns the issue list and a preview card. This endpoint is the sole authority on pass/fail; do not second-guess from field tables in the docs.
Request
Request body
string
必須
Manifest source text as a YAML or JSON string.
object
Attached files. Keys are relative paths; values are text (used for code-kind or when a README is present).
object
Map of secret name to plaintext. The validate endpoint does not store them.
Example request
Response
200 success
data. Fields:
boolean
必須
Whether validation passed.
object[]
Issue list. Each item has
path (JSON path) and message.object
Preview card when valid;
null when invalid.Errors
Error responses use
{"error": {code, category, message, retryable}}. See Errors.