비권장 해제
curl --request POST \
--url https://api.example.com/v1/data-apps/{app_id}/undeprecateimport requests
url = "https://api.example.com/v1/data-apps/{app_id}/undeprecate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/v1/data-apps/{app_id}/undeprecate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/data-apps/{app_id}/undeprecate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/data-apps/{app_id}/undeprecate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/data-apps/{app_id}/undeprecate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/data-apps/{app_id}/undeprecate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"app_name": "<string>",
"namespace": "<string>",
"version": "<string>",
"status": "<string>",
"missing_secrets": [
"<string>"
]
}Publishing
비권장 해제
비권장 마크를 지워 상태를 이전 궤도로 복원.
POST
/
v1
/
data-apps
/
{app_id}
/
undeprecate
비권장 해제
curl --request POST \
--url https://api.example.com/v1/data-apps/{app_id}/undeprecateimport requests
url = "https://api.example.com/v1/data-apps/{app_id}/undeprecate"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/v1/data-apps/{app_id}/undeprecate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/data-apps/{app_id}/undeprecate",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/data-apps/{app_id}/undeprecate"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.example.com/v1/data-apps/{app_id}/undeprecate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/data-apps/{app_id}/undeprecate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"app_name": "<string>",
"namespace": "<string>",
"version": "<string>",
"status": "<string>",
"missing_secrets": [
"<string>"
]
}POST https://api-datahub.octoparse.com/v1/data-apps/{app_id}/undeprecate
인증: API 키 필요(Authorization: Bearer <API Key>). App 작성자만. 그 외 404.
비권장 해제(멱등): 마크 제거. 파생 상태는 이전 궤도 — Release 있으면 published(가시 범위로 마켓 복귀), 없으면 draft.
버전 yank/unyank와 동형: 비권장은 식별자 마크이지 물리 상태가 아님. 복원은 가시성·유지보수 스위치를 건드리지 않음. 작성자가 이전에 둔 운영 토글은 유지.
요청
경로 파라미터
string
필수
App 참조.
요청 예시
curl -X POST \
-H "Authorization: Bearer $OCTOPARSE_API_KEY" \
"https://api-datahub.octoparse.com/v1/data-apps/carol/reviews-query/undeprecate"
응답
200 성공
{
"data": {
"app_name": "string",
"namespace": "string",
"version": "",
"status": "string",
"missing_secrets": [
"string"
]
}
}
data로 감쌉니다. 필드:
string
필수
—
string
—
string
—
string
필수
복원 후 파생 상태.
string[]
—
오류
| HTTP | code | category | 설명 |
|---|---|---|---|
| 401 | unauthorized | forbidden | API 키 누락 또는 무효. |
{"error": {code, category, message, retryable}}입니다. 오류 참고.