- OUTBACK APIs
- User
- Post
- Get Popular Categories Post
- Add Post
- Update Post
- Get Post
- Get My Post
- Detail Post By Id
- Get Trending Posts
- Get Most Viewed Post
- get specfic user post
- Record Fav_Unfav post
- Get Favt Post
- Record Views
- All Posts Views
- Add Comment
- Get Comments
- Get Collection List
- Get Post Collection
- Remove Collection
- Soft Delete Post
- Delete Post
- Update Sold Type
- report post
- update thumnail of posts
- ChatRoom/Messages
- Town Hall
- notfication
- Category
- Payments
- PAYMENTS APIS
Add subcategory
POST
/category-mgt/add-sub-categories
Request
Body Params application/json
categoryId
string
required
name
string
required
imageUrl
string
required
key
string
required
Example
{
"categoryId":"66e29c15289c5aec250888f1",
"name":"Surfing",
"imageUrl":"http://www.photo.jpg",
"key":"surfing"
}
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/category-mgt/add-sub-categories' \
--header 'Content-Type: application/json' \
--data-raw '{
"categoryId":"66e29c15289c5aec250888f1",
"name":"Surfing",
"imageUrl":"http://www.photo.jpg",
"key":"surfing"
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-11-15 11:08:17