스토어프론트 호스팅
스토어프론트 주소 목록
기본 주소와 내 도메인(연결 대기·실패 포함)이다. 대표 주소가 먼저다. 내 도메인은 `dnsRecords`를 DNS에 넣으면 연결된다
GET
기본 주소와 내 도메인(연결 대기·실패 포함)이다. 대표 주소가 먼저다. 내 도메인은 dnsRecords를 DNS에 넣으면 연결된다
accessTokenheader
AuthorizationBearer <token>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
X-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
성공
application/json- response
meta*data*error*|nullcurl -X GET 'https://api.sayren.io/v1/storefront/site/domains' \ -H 'X-Store-Id: string'{ "meta": { "status": 200, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "enabled": true, "limit": 0, "target": "string", "domains": [ { "domainId": "string", "hostname": "string", "kind": "PLATFORM", "status": "PENDING_DNS", "isPrimary": true, "dnsRecords": [ { "type": "CNAME", "name": "string", "value": "string", "purpose": "ROUTING" } ], "certificateStatus": "PENDING", "failureCode": "string", "verifiedAt": "string", "activatedAt": "string", "checkedAt": "string", "createdAt": "string" } ] }, "error": null}