Skip to main content
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

The payload is wrapped in 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.

Client libraries

The Python and JavaScript SDKs do not wrap this endpoint yet. Call REST directly.