view Content
GET
/library/view/{contentid}This endpoint will display particular Content with given contentId
Request
Path Params
contentid
string
required
required parameter to identify the Content
Default:
2df83cc9-b0fa-4085-a653-3781e449e898
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Parameter Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Library content retrieved successfully
Data Schema
message
string
optional
Library content retrieved successfully
response
object
optional
id
string
optional
Unique id for Library content
createdBy
number
optional
Id of content creator
createdOn
string <date-time>
optional
Date when content was created
lastEditedBy
number
optional
Id of user who last edited the content
lastEditedOn
string
optional
Time since last edit, e.g., '16 hours ago'
lastUsed
string <date-time>
optional
Date when content was last used
ownerId
number
optional
Owner's Id of the content creator
title
string
optional
Title of the content
totalUsed
number
optional
How many times this content has been used
type
string
optional
Type of content, e.g., Post, Hashtag
userData
object
optional
tags
array[string]
optional
content
object
optional
Example
{
"message": "string",
"response": {
"id": "string",
"createdBy": 0,
"createdOn": "2019-08-24T14:15:22.123Z",
"lastEditedBy": 0,
"lastEditedOn": "string",
"lastUsed": "2019-08-24T14:15:22.123Z",
"ownerId": 0,
"title": "string",
"totalUsed": 0,
"type": "string",
"userData": {
"lastName": "string",
"userName": "string"
},
"tags": [
"string"
],
"content": {
"boostExtraParams": {},
"companyId": 0,
"createdOn": "2019-08-24T14:15:22.123Z",
"longPostDesc": "string",
"ownerId": 0,
"postDesc": "string",
"postImage": [
"string"
],
"postTitle": "string",
"postType": "string",
"postUrl": "string",
"postVideo": "string",
"taggedPeople": {},
"utmParameters": {},
"utmSetId": "string",
"extraData": {
"currentActiveTab": "string",
"enableShortUrl": true,
"place": "string"
}
}
}
}
Last modified: 18 days ago