Use this method to get a specific blog of an AdultWork.com member.
GET
/v1/blogs/getBlog
Property | Type | Description |
---|---|---|
BlogID |
integer | Required. The Blog ID of the AdultWork.com member's blog you wish the API to return. |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
This endpoint has the following optional headers:
Headers | Value | |
---|---|---|
X-MaskImages |
1 |
What's this? |
Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.
https://api-sandbox.adultwork.com/v1/blogs/GetBlog
?apiKey={your-api-key}&BlogID=1
Property | Type | Description |
---|---|---|
Blog |
aws:Blog | The member's blog data. |
The following example returns a result with BlogID
set to 1.
{
"BlogID": 1,
"BlogDate": "2015-05-17T00:00:00",
"CreateDate": "2015-05-17T03:05:10.933",
"LastUpdated": "2015-05-17T07:17:30.123",
"Subject": "My first blog post!",
"Body": "Thank you for reading my blog. I will add more posts later!",
"ImageSafe": true,
"HasImage": true,
"ImageURL": "https://cdn1.adultwork.com/blogimages/t/1.jpg",
"ThumbSafe": false,
"ThumbURL": "https://cdn1.adultwork.com/blogimages/ts/1.jpg",
"FullSafe": false,
"FullURL": "https://cdn1.adultwork.com/blogimages/f/1.jpg"
"User": {
"BlogCount": 1,
"GenderID": 2,
"IsTVTS": false,
"UserID": 123456,
"Nickname": "JosepheneBlogs",
"IsEscort": true,
"IsWebcam": false,
"IsPhoneChat": false,
"IsSMSChat": false,
"AvailableTodayEscort": true,
"AvailableNowWebcam": false,
"AvailableNowPhoneChat": false,
"Age": 21,
"Ratings": {
"Total":33,
"Positive":34,
"Neutral":0,
"Negative":1,
"Ratings":35,
"Disputes":0
}
}
}
<BlogPost>
<BlogDate>2015-05-17T00:00:00</BlogDate>
<BlogID>1</BlogID>
<Body>Thank you for reading my blog. I will add more posts later!<Body>
<CreateDate>2012-05-17T13:05:10.933</CreateDate>
<ImageSafe>true</ImageSafe>
<HasImage>true</HasImage>
<ImageURL>https://cdn1.adultwork.com/blogimages/t/1.jpg</ImageURL>
<LastUpdated>2015-05-17T07:17:30.123<LastUpdated>
<Subject>My first blog post!</Subject>
<ThumbSafe>false</ThumbSafe>
<ThumbURL>https://cdn1.adultwork.com/blogimages/ts/1.jpg<ThumbURL>
<FullSafe>false</FullSafe>
<FullURL>https://cdn1.adultwork.com/blogimages/f/1.jpg</FullURL>
<User>
<Age xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">21</Age>
<AvailableNowPhoneChat xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">false</AvailableNowPhoneChat>
<AvailableNowWebcam xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">false</AvailableNowWebcam>
<AvailableTodayEscort xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">true</AvailableTodayEscort>
<IsEscort xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">true</IsEscort>
<IsPhoneChat xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">false</IsPhoneChat>
<IsSMSChat xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">false</IsSMSChat>
<IsWebcam xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">false</IsWebcam>
<Nickname xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">JosepheneBlogs</Nickname>
<Ratings xmlns:d5p1="http://schemas.datacontract.org/2004/07/API.Models.Profile" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">
<d5p1:Disputes>0</d5p1:Disputes>
<d5p1:Negative>1</d5p1:Negative>
<d5p1:Neutral>0</d5p1:Neutral>
<d5p1:Positive>34</d5p1:Positive>
<d5p1:Ratings>29</d5p1:Ratings>
<d5p1:Total>33</d5p1:Total>
</Ratings>
<UserID xmlns="http://schemas.datacontract.org/2004/07/API.Models.Pictures">123456</UserID>
<BlogCount>1</BlogCount>
<GenderID>2</GenderID>
<IsTVTS>false</IsTVTS>
</User>
</BlogPost>