Langsung ke konten utama
GET
/
v3
/
chatgpt
/
pages
/
{page_id}
/
drafts
/
{version}
Get HTML Mode draft status
curl --request GET \
  --url https://api.scalev.com/v3/chatgpt/pages/{page_id}/drafts/{version} \
  --header 'Authorization: Bearer <token>'
{
  "page_id": 123,
  "page_display_id": 123,
  "version": 123,
  "status": "draft",
  "is_published": true,
  "draft_url": "<string>",
  "validation_warnings": [
    {
      "severity": "warning",
      "code": "head_content_not_allowed",
      "field": "agent_html",
      "message": "<string>"
    }
  ],
  "validation_errors": [
    {
      "severity": "warning",
      "code": "head_content_not_allowed",
      "field": "agent_html",
      "message": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.scalev.com/llms.txt

Use this file to discover all available pages before exploring further.

Otorisasi

Authorization
string
header
wajib

OAuth access tokens are rate-limited per OAuth application and merchant installation.

Parameter Path

page_id
integer
wajib

Numeric Scalev page ID.

version
integer
wajib

Page display version.

Respons

Draft status and preview URL

page_id
integer
wajib
page_display_id
integer
wajib
version
integer
wajib
status
enum<string>
wajib
Opsi yang tersedia:
draft,
published
is_published
boolean
wajib
draft_url
string<uri>
wajib
validation_warnings
object[]
wajib
validation_errors
object[]
wajib