- OUTBACK APIs
- User
- Post
- Get Popular Categories PostGET
- Add PostPOST
- Update PostPATCH
- Get PostGET
- Get My PostGET
- Detail Post By IdGET
- Get Trending PostsGET
- Get Most Viewed PostGET
- get specfic user postGET
- Record Fav_Unfav postPOST
- Get Favt PostGET
- Record ViewsPOST
- All Posts ViewsGET
- Add CommentPOST
- Get CommentsGET
- Get Collection ListGET
- Get Post CollectionGET
- Remove CollectionDELETE
- Soft Delete PostDELETE
- Delete PostDELETE
- Update Sold TypePUT
- report postPOST
- update thumnail of postsPOST
- ChatRoom/Messages
- Town Hall
- notfication
- Category
- Payments
- PAYMENTS APIS
Add Post
POST
/post-mgt/create-post
Request
Header Params
Authorization
string
required
Example:
bearer {{accessToken}}
Body Params application/json
object {0}
Example
{
"media": {
"videoUrl": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_8F2E20B8-1402-41AA-837D-EBB4330E6970-3349-00000146DCF93B78trim.3AB1D346-ABEC-4D67-8F01-CEE2AE8DFBB8.MOV",
"photoUrl": ["https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_5A0BFD4E-151C-4994-850E-4F336F9C893E-3349-00000146EA1DCD75.jpg"]
},
"postDetails": {
"title": "naveed nizami",
"description": "This is a detailed description of the laptop.",
"price": 400000,
"currency": "USD",
"category": "real_estate",
"additional_props": {
"property_type": {
"name": "House",
"key": "house",
"imageUrl": "https://example.com/images/house.png"
},
"bed_rooms": 3,
"bath_rooms": 2,
"car_spaces": 1,
"land_section": {
"building_size": 1500,
"land_size": 2000
}
}
},
"contactInfo": {
"name": "John photo",
"profile_photo_url": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/2p4DsyO5qaVWBu4nAfTdkgrIswH%201.png",
"location": {
"lat": "-25.772230",
"lng": "29.478720"
},
"address": {
"zip_code": "0",
"place": "nav3ddd"
},
"is_phone_show": false,
"phone": "1234567890"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://13.239.78.144:3000/api/v1/post-mgt/create-post' \
--header 'Authorization: bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"media": {
"videoUrl": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_8F2E20B8-1402-41AA-837D-EBB4330E6970-3349-00000146DCF93B78trim.3AB1D346-ABEC-4D67-8F01-CEE2AE8DFBB8.MOV",
"photoUrl": ["https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_5A0BFD4E-151C-4994-850E-4F336F9C893E-3349-00000146EA1DCD75.jpg"]
},
"postDetails": {
"title": "naveed nizami",
"description": "This is a detailed description of the laptop.",
"price": 400000,
"currency": "USD",
"category": "real_estate",
"additional_props": {
"property_type": {
"name": "House",
"key": "house",
"imageUrl": "https://example.com/images/house.png"
},
"bed_rooms": 3,
"bath_rooms": 2,
"car_spaces": 1,
"land_section": {
"building_size": 1500,
"land_size": 2000
}
}
},
"contactInfo": {
"name": "John photo",
"profile_photo_url": "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/2p4DsyO5qaVWBu4nAfTdkgrIswH%201.png",
"location": {
"lat": "-25.772230",
"lng": "29.478720"
},
"address": {
"zip_code": "0",
"place": "nav3ddd"
},
"is_phone_show": false,
"phone": "1234567890"
}
}'
Responses
🟢200Success
application/json
Body
media
object
required
videoUrl
string
required
videoThumbnail
string
required
photoUrl
array[string]
required
postDetails
object
required
title
string
required
description
string
required
price
integer
required
currency
string
required
category
string
required
additional_props
object
required
postDetails
object
required
contactInfo
object
required
name
string
required
profile_photo_url
string
required
location
object
required
address
object
required
is_phone_show
boolean
required
phone
string
required
Example
{
"media": {
"videoUrl": "string",
"videoThumbnail": "string",
"photoUrl": [
"string"
]
},
"postDetails": {
"title": "string",
"description": "string",
"price": 0,
"currency": "string",
"category": "string",
"additional_props": {
"make": {
"key": "string",
"value": "string"
},
"variant": {
"key": "string",
"value": "string"
},
"body_type": {
"key": "string",
"value": "string"
},
"fuel_type": {
"key": "string",
"value": "string"
},
"colour": {
"key": "string",
"value": "string"
},
"drive_train": {
"key": "string",
"value": "string"
},
"odometer": {
"key": "string",
"value": 0
},
"transmission": {
"key": "string",
"value": "string"
},
"air_conditioning": {
"key": "string",
"value": true
},
"is_registered": {
"key": "string",
"value": true
},
"managed_by": {
"key": "string",
"value": "string"
},
"model": {
"value": "string",
"key": "string"
}
},
"postDetails": {
"title": "string",
"description": "string",
"category": "string",
"additional_props": {
"make": {
"key": "string",
"value": "string"
},
"variant": {
"key": "string",
"value": "string"
},
"body_type": {
"key": "string",
"value": "string"
},
"fuel_type": {
"key": "string",
"value": "string"
},
"colour": {
"key": "string",
"value": "string"
},
"drive_train": {
"key": "string",
"value": "string"
},
"odometer": {
"key": "string",
"value": 0
},
"transmission": {
"key": "string",
"value": "string"
},
"air_conditioning": {
"key": "string",
"value": true
},
"is_registered": {
"key": "string",
"value": true
},
"managed_by": {
"key": "string",
"value": "string"
}
},
"price": 0,
"currency": "string"
}
},
"contactInfo": {
"name": "string",
"profile_photo_url": "string",
"location": {
"lat": "string",
"lng": "string"
},
"address": {
"zip_code": "string",
"place": "string"
},
"is_phone_show": true,
"phone": "string"
}
}
Modified at 2025-02-24 13:08:02