POST api/Article/GetWechatOfficialAccountBlog
抓取公众号文章内容并将图片插入文章图片表
Request Information
URI Parameters
None.
Body Parameters
文章链接
WechatLinkDtoName | Description | Type | Additional information |
---|---|---|---|
BlogUrl |
链接地址 |
string |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<WechatLinkDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.WeChat"> <BlogUrl>sample string 1</BlogUrl> </WechatLinkDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
抓取公众号文章内容并将图片插入文章图片表
ArticleFromWechatDtoName | Description | Type | Additional information |
---|---|---|---|
Title |
标题 |
string |
None. |
AuthorName |
作者姓名 |
string |
None. |
ImageUrls |
本地图片路径 |
Collection of string |
None. |
Content |
博客内容 |
string |
None. |
State |
文章的半持久码 |
integer |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArticleFromWechatDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Article.Service.Dto.Article"> <AuthorName>sample string 2</AuthorName> <Content>sample string 3</Content> <ImageUrls xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ImageUrls> <State>4</State> <Title>sample string 1</Title> </ArticleFromWechatDto>