업로드 완료
전체 주소
POST https:/ / apis.lucela.kr/ v1/ atelier/ maker/ products/ {draft_id}/ media/ complete경로POST / v1/ atelier/ maker/ products/ {draft_id}/ media/ complete{
"/v1/atelier/maker/products/{draft_id}/media/complete": {
"post": {
"tags": [
"아틀리에 상품등록"
],
"summary": "업로드 완료",
"description": "검역 작업 시작(202 · jobId)",
"operationId": "post_v1_atelier_maker_products_draft_id_media_complete",
"security": [
{
"AtelierProductToken": [
"atelier.products:write"
]
},
{
"ApiKey": []
}
],
"x-implementation-status": "AVAILABLE",
"x-lucela-billing-unit": "과금 없음",
"x-lucela-unit-weight": 0,
"x-lucela-response-fields": "data(jobId · mediaId · state · scanStatus — 그 밖 칸) · meta(request_id · schema_version · warnings)",
"x-lucela-prodreg": true,
"x-lucela-scope": "atelier.products:write",
"responses": {
"200": {
"description": "성공 — 봉투 한 모양",
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/Envelope"
},
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"jobId": {},
"mediaId": {},
"state": {},
"scanStatus": {}
}
},
"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": {
"mediaId": {}
},
"required": [
"mediaId"
],
"additionalProperties": false
}
}
}
}
}
}
}