스토어프론트 호스팅
스토어프론트 배포 진행
지금 발행 상태가 공개 주소에 반영되기까지의 단계(`SITE`·`UPLOAD`·`PUBLISH`)와 기록이다. 사이트를 만든 뒤 `status`가 `SUCCEEDED`가 될 때까지 몇 초 간격으로 조회한다. 템플릿 사이트는 빌드 단계가 없다
GET
지금 발행 상태가 공개 주소에 반영되기까지의 단계(SITE·UPLOAD·PUBLISH)와 기록이다. 사이트를 만든 뒤 status가 SUCCEEDED가 될 때까지 몇 초 간격으로 조회한다. 템플릿 사이트는 빌드 단계가 없다
accessTokenheader
AuthorizationBearer <JWT>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/deployment' \
-H 'X-Store-Id: string'Example Response
{
"meta": {
"status": 200,
"code": "OK",
"message": "OK",
"isSuccess": true
},
"data": {
"siteId": "string",
"status": "IN_PROGRESS",
"url": "string",
"startedAt": "string",
"finishedAt": "string",
"steps": [
{
"key": "SITE",
"status": "PENDING",
"finishedAt": "string"
}
],
"log": [
{
"at": "string",
"level": "INFO",
"code": "string",
"message": "string"
}
],
"errorCode": "string",
"attempts": 0,
"nextAttemptAt": "string"
},
"error": null
}