Publishing
ワークスペース取得
下書きの原文・ファイル・リビジョン・検証結果を読み戻し。編集継続用。
GET
ワークスペース取得
GET https://api-datahub.octoparse.com/v1/data-apps/{app_id}/workspace
認証:APIキー必須(Authorization: Bearer <API Key>)。App 作者のみ。他者は 404。
生マニフェスト、添付、リビジョン、現在の検証結果 — クライアントの「編集を続ける」再投入源。
下書きなしは 404 workspace-not-found。通常の主経路状態(新規 App、または進行中下書きなしの公開済み)。
リクエスト
パスパラメータ
string
必須
App reference.
リクエスト例
レスポンス
200 成功
data に包まれます。フィールド:
string
必須
App 名。
string
必須
Stable app id.
string
発行者ユーザー名。
string
必須
生マニフェストテキスト。
object
Attached files.
integer
必須
保存時
expected_revision 用の下書きリビジョン。boolean
必須
検証が通ったか。
object[]
Issue list.
string
Content hash; corresponds to a Build’s
content_hash.string
Created time.
string
最終保存時刻。
エラー
エラー応答は
{"error": {code, category, message, retryable}} です。エラー を参照。