postPostGeneralData
category_slugstringrequired
نام دستهبندی هدف. دستهبندیهای موجود را در این آدرس بیابید: https://kenar.divar.dev/openapi-doc/assets-get-categories/
Example:
apartment-sellchat_enabledbooleanrequired
امکان چت فعال باشد
Example:
truecitystringrequired
شهر آگهی
Example:
tehrandescriptionstringrequired
توضیحات آگهی
Example:
I'm available only in chat.districtstring
محله آگهی
Example:
absharhide_phonebooleanrequired
عدم نمایش شماره تماس به کاربران
Example:
trueimagesstring[]required
latitudenumber<double>
عرض جغرافیایی آگهی
Example:
35.7152location_typepostLocationType (string)required
نوع موقعیت
Possible values: [LOCATION_TYPE_EMPTY, LOCATION_TYPE_EXACT, LOCATION_TYPE_APPROXIMATE]
Example:
LOCATION_TYPE_EXACTlongitudenumber<double>
طول جغرافیایی آگهی
Example:
51.4043titlestringrequired
عنوان آگهی
Example:
Temporary Residence for Rent in Tehranvideo object
durationstring<uint64>required
Duration of the video in seconds
Example:
34namestringrequired
Name of the video, retrieved from video_name field in the response of upload video endpoint
Example:
raw/4786eb10-eac6-4077-b622-78c1c42855c7.mp4thumbnail_namestringrequired
Thumbnail of the video, retrieved from thumbnail_name field in the response of upload video endpoint. It will be the first frame of the uploaded video
Example:
thumbnail/4786eb10-eac6-4077-b622-78c1c42855c7.jpgpostPostGeneralData
{
"category_slug": "apartment-sell",
"chat_enabled": true,
"city": "tehran",
"description": "I'm available only in chat.",
"district": "abshar",
"hide_phone": true,
"images": [
"string"
],
"latitude": 35.7152,
"location_type": "LOCATION_TYPE_EXACT",
"longitude": 51.4043,
"title": "Temporary Residence for Rent in Tehran",
"video": {
"duration": 34,
"name": "raw/4786eb10-eac6-4077-b622-78c1c42855c7.mp4",
"thumbnail_name": "thumbnail/4786eb10-eac6-4077-b622-78c1c42855c7.jpg"
}
}