Skip to main content
GET
Download contract folder
GET https://api-datahub.octoparse.com/v1/data-apps/{app_id}/contract.zip Authentication: API key required (Authorization: Bearer <API Key>). App author only; others get 404. Author-side contract for the latest release, split into the canonical contract folder layout and zipped on the server. Same data source as Get manifest (file references already inlined). The zip contains one top-level <app_name>/ directory; Content-Disposition names the file <app_name>.zip. Zero releases returns 404 release-not-found: semantics are “latest release”, never falling back to the draft. Non-slot editor companion state is omitted, so download → edit → import is a lossless round-trip for api-kind apps. When the app has translations, the zip also includes i18n.json (current translations, not the ones at publish time).

Request

Path parameters

string
required
App reference.

Example request

Response

200 success

Response body is application/zip binary.

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.