POST blogpost/addvideo
Adds the video.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| video | The video.
1) FriendlyUrl: Mandatory
2) DisplayOrder: Mandatory and needs to be unique
3) Url: Mandatory, url of the video (youtube or vimeo)
4) Title
5) Description
6) Placeholder: Text that will be used to replace it with the video - needs to be unique per video |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"FriendlyUrl": "sample string 1",
"DisplayOrder": 64,
"Url": "sample string 3",
"Title": "sample string 4",
"Description": "sample string 5",
"Placeholder": "sample string 6"
}
application/xml, text/xml
Sample:
<BlogPostVideoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models"> <Description>sample string 5</Description> <DisplayOrder>64</DisplayOrder> <FriendlyUrl>sample string 1</FriendlyUrl> <Placeholder>sample string 6</Placeholder> <Title>sample string 4</Title> <Url>sample string 3</Url> </BlogPostVideoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.