My Project
  1. Town Hall
My Project
  • OUTBACK APIs
    • User
      • Create User
      • Login User
      • Forgot Password
      • Validate otp
      • Reset Password
      • Social login
      • Search Post
      • Update User
      • Get Profile
      • Get User Profile for Web
      • Delete Account
      • Logout
      • Get All Users
      • Update FCM TOKEN
      • Verify User
      • Follow Unfollow User
      • Get User Connections
    • 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
      • Create Chatroom
      • Send Message
      • Get Messages
      • Get ChatRoom
      • Update block status
      • Delete Message
    • Town Hall
      • Add townhall post
        POST
      • get town hall post
        GET
      • get specific user townhall post
        GET
      • reaction on townhall post
        PUT
      • Add replies
        POST
      • get replies
        GET
      • Reaction On reply
        PUT
      • get Location search
        GET
      • Report Townhall post
        POST
    • notfication
      • message notfication
      • message notfication
    • Category
      • Update Category
      • Get Model By Makes
      • get category V2
      • Add Category
      • Add subcategory
      • Get Categories
      • Delete Category
    • Payments
      • Add Card
      • Get Cards
      • Top up Wallet
      • Get Transaction History
      • View Wallet balence
      • Make Payments
      • Update Default Card
      • Add Bank Account
      • Update Bank Account
      • Withdraw to Bank Acc
    • PAYMENTS APIS
      • Create Setup Intent
      • Save Payment Method
      • For getting test payment Id
      • View Balance
      • Add funds to Account
      • Add Bank Account
      • Get User Bank Accounts
      • Select Default Bank Acc
  1. Town Hall

get specific user townhall post

GET
/town-hall-mgt/get-specific-user-town-hall-post

Request

Query Params
user_id
string 
optional
Example:
6731d497dc74201d7cb5162c

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 GET 'http://13.239.78.144:3000/api/v1/town-hall-mgt/get-specific-user-town-hall-post?user_id=6731d497dc74201d7cb5162c'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "status": 1,
    "statusCode": 200,
    "message": "Town Hall Posts fetched successfully",
    "data": [
        {
            "media": {
                "video_url": "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",
                "photo_url": [
                    "https://outback-prod-bucket.s3.ap-southeast-2.amazonaws.com/image_picker_5A0BFD4E-151C-4994-850E-4F336F9C893E-3349-00000146EA1DCD75.jpg"
                ]
            },
            "address": {
                "zip_code": "2600",
                "place": "Canberra"
            },
            "view": 16,
            "_id": "6818745a2956d29e91602542",
            "userId": "67f8e46246f9ede1448808f5",
            "query": "hello, outback!",
            "profile_photo_url": "",
            "report_reasons": [],
            "createdAt": "2025-05-05T08:18:34.714Z",
            "updatedAt": "2025-05-05T12:37:11.649Z",
            "reply_count": 0,
            "reactions": [
                {
                    "emoji": "❤️",
                    "createdAt": "2025-05-05T12:37:11.642Z",
                    "user": {
                        "_id": "67f8e46246f9ede1448808f5",
                        "name": "test",
                        "profile_photo_url": ""
                    }
                },
                {
                    "emoji": "♥️",
                    "createdAt": "2025-05-05T12:37:11.642Z",
                    "user": {
                        "_id": "67f8e45c46f9ede1448808ee",
                        "name": "test",
                        "profile_photo_url": ""
                    }
                },
                {
                    "emoji": "👌🏻",
                    "createdAt": "2025-05-05T12:37:11.642Z",
                    "user": {
                        "_id": "67d7ca2e3bb9e0b3827073de",
                        "name": "test",
                        "profile_photo_url": ""
                    }
                },
                {
                    "emoji": "😂",
                    "createdAt": "2025-05-05T12:37:11.642Z",
                    "user": {
                        "_id": "67d7d614e1a2a7fbaeae5947",
                        "name": "test",
                        "profile_photo_url": ""
                    }
                },
                {
                    "emoji": "❤️",
                    "createdAt": "2025-05-05T12:37:11.642Z",
                    "user": {
                        "_id": "68188a2d5e9561638d26cb10",
                        "name": "test",
                        "profile_photo_url": ""
                    }
                }
            ],
            "reaction_key": [
                {
                    "userId": "67f8e46246f9ede1448808f5",
                    "reaction_type": "heart"
                },
                {
                    "userId": "67f8e45c46f9ede1448808ee",
                    "reaction_type": "like"
                },
                {
                    "userId": "67d7ca2e3bb9e0b3827073de",
                    "reaction_type": "like"
                },
                {
                    "userId": "67d7d614e1a2a7fbaeae5947",
                    "reaction_type": "haha"
                },
                {
                    "userId": "68188a2d5e9561638d26cb10",
                    "reaction_type": "heart"
                }
            ]
        }
    ]
}
Modified at 2024-11-27 19:21:55
Previous
get town hall post
Next
reaction on townhall post
Built with