연락처 공개 설정
전체 주소
PUT https:/ / apis.lucela.kr/ v1/ direct/ listings/ {listing_id}/ contact-disclosure경로PUT / v1/ direct/ listings/ {listing_id}/ contact-disclosure{
"/v1/direct/listings/{listing_id}/contact-disclosure": {
"put": {
"tags": [
"다이렉트 API"
],
"summary": "연락처 공개 설정",
"description": "매물마다 연락처 공개 방식",
"operationId": "put_v1_direct_listings_listing_id_contact_disclosure",
"security": [
{
"ApiKey": [],
"DirectDelegation": []
}
],
"x-implementation-status": "AVAILABLE",
"x-lucela-billing-unit": "과금 없음",
"x-lucela-unit-weight": 0,
"x-lucela-response-fields": "disclosure · channels[]",
"x-lucela-direct": true,
"x-lucela-direct-command": "setListingContactDisclosure",
"responses": {
"200": {
"description": "성공 — 다이렉트 몸통 그대로",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"disclosure": {},
"channels": {
"type": "array",
"items": {}
}
}
}
}
}
},
"401": {
"$ref": "#/components/responses/E401"
},
"403": {
"$ref": "#/components/responses/E403"
},
"413": {
"$ref": "#/components/responses/E413"
},
"429": {
"$ref": "#/components/responses/E429"
},
"503": {
"$ref": "#/components/responses/E503"
}
},
"parameters": [
{
"name": "listing_id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"disclosure": {
"description": "HIDDEN · AFTER_ACCEPT · PUBLIC"
},
"channels": {
"description": "공개할 연락 수단 — HIDDEN 이 아니면 하나 이상"
}
},
"required": [
"disclosure"
],
"additionalProperties": false
}
}
}
}
}
}
}