- Introduction
- Changelog Release
- Local Development
- UserActivity Api
- Comment Api
- CommentV2 Api
- Post Api
SharePost
GET
/post/share/{id}
Post Api
Request
Path Params
id
string
required
Header Params
Authorization
string
required
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 '/post/share/' \
--header 'Authorization;'
Responses
🟢200OK
application/json
Body
author
object (dto.AuthorResponse)
optional
fullName
string
optional
id
string
optional
urlImage
string
optional
userId
string
optional
category
string
optional
choices
array[object (dto.PollResponse) {3}]
optional
choice
string
optional
id
string
optional
votes
integer
optional
content
string
optional
createdAt
string
optional
id
string
optional
images
array[string]
optional
isFavorite
boolean
optional
isOwnPost
boolean
optional
isVoted
boolean
optional
selectedVote
string
optional
title
string
optional
totalComment
integer
optional
totalLike
integer
optional
totalShare
integer
optional
totalVote
integer
optional
type
string
optional
updatedAt
string
optional
Example
{
"author": {
"fullName": "string",
"id": "string",
"urlImage": "string",
"userId": "string"
},
"category": "string",
"choices": [
{
"choice": "string",
"id": "string",
"votes": 0
}
],
"content": "string",
"createdAt": "string",
"id": "string",
"images": [
"string"
],
"isFavorite": true,
"isOwnPost": true,
"isVoted": true,
"selectedVote": "string",
"title": "string",
"totalComment": 0,
"totalLike": 0,
"totalShare": 0,
"totalVote": 0,
"type": "string",
"updatedAt": "string"
}
Modified at 2023-01-25 05:57:12