Publishing
Get workspace
Read back the draft’s raw text, files, revision, and validation result for continue-editing refill.
GET
Get workspace
GET https://api-datahub.octoparse.com/v1/data-apps/{app_id}/workspace
Authentication: API key required (Authorization: Bearer <API Key>). App author only; others get 404.
Raw manifest, attached files, revision, and current validation result — the refill source for “continue editing” in clients.
No draft returns 404 workspace-not-found. That is a normal main-path state (new app, or published with no in-progress edits), not a fault. Clients should handle it explicitly instead of treating it as a server error.
Request
Path parameters
string
required
App reference.
Example request
Response
200 success
data. Fields:
string
required
App name.
string
required
Stable app id.
string
Publisher username.
string
required
Raw manifest text.
object
Attached files.
integer
required
Draft revision for
expected_revision on save.boolean
required
Whether validation passed.
object[]
Issue list.
string
Content hash; corresponds to a Build’s
content_hash.string
Created time.
string
Last saved time.
Errors
Error responses use
{"error": {code, category, message, retryable}}. See Errors.