LUCELAATELIER🔔
홈오픈예정·예약루첼라 큐레이션아틀리에 메종디지털 콘텐츠스토어

검사 실행

전체 주소POST https://apis.lucela.kr/v1/atelier/maker/products/{draft_id}/validate경로POST /v1/atelier/maker/products/{draft_id}/validate
openapi.json
{
  "/v1/atelier/maker/products/{draft_id}/validate": {
    "post": {
      "tags": [
        "아틀리에 상품등록"
      ],
      "summary": "검사 실행",
      "description": "전체 검사 · 상태 맞추기",
      "operationId": "post_v1_atelier_maker_products_draft_id_validate",
      "security": [
        {
          "AtelierProductToken": [
            "atelier.products:read"
          ]
        },
        {
          "ApiKey": []
        }
      ],
      "x-implementation-status": "AVAILABLE",
      "x-lucela-billing-unit": "과금 없음",
      "x-lucela-unit-weight": 0,
      "x-lucela-response-fields": "data(status(passed · blocked 중 하나) · draftStatus · revision · blockingFindings[] · warnings[] · nextAllowedActions[]) · meta(request_id · schema_version · warnings)",
      "x-lucela-prodreg": true,
      "x-lucela-scope": "atelier.products:read",
      "responses": {
        "200": {
          "description": "성공 — 봉투 한 모양",
          "content": {
            "application/json": {
              "schema": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Envelope"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "data": {
                        "type": "object",
                        "properties": {
                          "status": {
                            "enum": [
                              "passed",
                              "blocked"
                            ]
                          },
                          "draftStatus": {},
                          "revision": {},
                          "blockingFindings": {
                            "type": "array",
                            "items": {}
                          },
                          "warnings": {
                            "type": "array",
                            "items": {}
                          },
                          "nextAllowedActions": {
                            "type": "array",
                            "items": {}
                          }
                        },
                        "required": [
                          "status",
                          "draftStatus",
                          "revision",
                          "blockingFindings",
                          "warnings",
                          "nextAllowedActions"
                        ]
                      },
                      "meta": {
                        "type": "object",
                        "properties": {
                          "request_id": {},
                          "schema_version": {},
                          "warnings": {}
                        },
                        "required": [
                          "request_id",
                          "schema_version",
                          "warnings"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "400": {
          "$ref": "#/components/responses/E400"
        },
        "401": {
          "$ref": "#/components/responses/E401"
        },
        "403": {
          "$ref": "#/components/responses/E403"
        },
        "404": {
          "$ref": "#/components/responses/E404"
        },
        "409": {
          "$ref": "#/components/responses/E409"
        },
        "413": {
          "$ref": "#/components/responses/E413"
        },
        "422": {
          "$ref": "#/components/responses/E422"
        },
        "429": {
          "$ref": "#/components/responses/E429"
        },
        "503": {
          "$ref": "#/components/responses/E503"
        }
      },
      "parameters": [
        {
          "name": "draft_id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "Idempotency-Key",
          "in": "header",
          "required": true,
          "schema": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{16,128}$"
          }
        }
      ],
      "requestBody": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {},
              "additionalProperties": false
            }
          }
        }
      }
    }
  }
}