Skip to main content
POST
Validate a .dataapp package (deprecated)
Deprecated. The contract path replaces the .dataapp package flow: self-check with Assemble a contract folder, then submit through the portal contract import wizard. This endpoint remains for the built-in console and existing tests; removal is scheduled separately.
POST https://api-datahub.octoparse.com/v1/data-apps/package Authentication: API key required (Authorization: Bearer <API Key>). Upload a raw zip body as a .dataapp package → unpack → same validation pipeline; nothing is persisted. Validation only, and unpacked files are echoed back: after a pass you still must call the one-shot publish endpoint (two-phase publish is unchanged; upload is not a bypass). The package may include one wrapping directory.

Request

Example request

Response

200 success

The payload is wrapped in data. Fields:
boolean
required
Whether validation passed.
object[]
Issue list.
object
Preview card.
string
object
Unpacked filename list.

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.