ご案内ページの下書き・公開版・画像を読む
GET
/api/v1/guide-page
const url = 'https://app.goyoka.com/api/v1/guide-page';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.goyoka.com/api/v1/guide-page \ --header 'Authorization: Bearer <token>'保存済みの
画像の
必要なguide-page:read
必要な認証
「必要なレスポンス
「 レスポンス 」の200
「200」のご案内ページの
メディアタイプapplication/json
object
data
必須
object
draft
必須
object
hero_image_id
必須
string | null
headline
必須
string
intro
必須
string
about
必須
string
profile
必須
object
image_id
必須
string | null
name
必須
string
title
必須
string
bio
必須
string
links
必須
Array<object>
object
id
必須
string
label
必須
string
url
必須
string
visible
必須
boolean
gallery_image_ids
必須
Array<string>
colors
必須
object
source
shop: 設定 › お店の
string
preset_id
必須
string | null
primary
必須
string
secondary
必須
string
accent
必須
string
sections
必須
object
about
必須
boolean
profile
必須
boolean
links
必須
boolean
gallery
必須
boolean
testimonials
必須
boolean
menu
必須
boolean
events
必須
boolean
news
必須
boolean
access
必須
boolean
contact
必須
boolean
section_order
必須
Array<string>
seo
必須
object
title
必須
string | null
description
必須
string | null
published
必須
object
hero_image_id
必須
string | null
headline
必須
string
intro
必須
string
about
必須
string
profile
必須
object
image_id
必須
string | null
name
必須
string
title
必須
string
bio
必須
string
links
必須
Array<object>
object
id
必須
string
label
必須
string
url
必須
string
visible
必須
boolean
gallery_image_ids
必須
Array<string>
colors
必須
object
source
shop: 設定 › お店の
string
preset_id
必須
string | null
primary
必須
string
secondary
必須
string
accent
必須
string
sections
必須
object
about
必須
boolean
profile
必須
boolean
links
必須
boolean
gallery
必須
boolean
testimonials
必須
boolean
menu
必須
boolean
events
必須
boolean
news
必須
boolean
access
必須
boolean
contact
必須
boolean
section_order
必須
Array<string>
seo
必須
object
title
必須
string | null
description
必須
string | null
published_at
必須
string | null 形式: date-time
searchable
必須
boolean
images
必須
Array<object>
object
id
必須
string 形式: uuid
slot
必須
string
url
必須
string
例
{ "data": { "draft": { "colors": { "source": "shop" } }, "published": { "colors": { "source": "shop" } } }}400
「400」の利用できない
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}401
「401」の鍵が
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}403
「403」の範囲不足
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}404
「404」の見つからない
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}409
「409」の予約・冪等キーの
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}413
「413」の本文が
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}422
「422」の入力の
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}429
「429」の回数の
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}ヘッダー
「ヘッダー」のRateLimit-Limit
integer
固定窓内の
RateLimit-Remaining
integer
固定窓内の
RateLimit-Reset
integer
窓終了までの
Retry-After
integer
再試行までの
500
「500」の内部エラー
メディアタイプapplication/json
object
error
必須
object
code
必須
string
message
必須
string
details
object
任意のキー
追加の項目
request_id
必須
string
例自動生成
{ "error": { "code": "example", "message": "example", "details": { "additionalProperty": "example" }, "request_id": "example" }}