GET api/Post/GetPostMemberCreateDto?postId={postId}
获取帖子信息,供编辑使用
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
postId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取帖子信息,供编辑使用
PostMemberCreateDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
帖子id |
integer |
None. |
CategoryId |
帖子分类 |
integer |
None. |
Title |
帖子标题 |
string |
None. |
ChrContent |
帖子内容 |
string |
None. |
Ip |
发帖ip |
string |
None. |
HideContent |
帖子回复显示的隐藏内容 |
string |
None. |
IsRemote |
是否有远程附件 |
boolean |
None. |
ClassId |
帖子一级分类 |
integer |
None. |
Address |
帖子发布地址 |
string |
None. |
GpsX |
帖子发布X坐标 |
decimal number |
None. |
GpsY |
帖子发布Y坐标 |
decimal number |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<PostMemberCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Tieba.Service.Dto.Post"> <Address>sample string 9</Address> <CategoryId>2</CategoryId> <ChrContent>sample string 4</ChrContent> <ClassId>8</ClassId> <GpsX>10.1</GpsX> <GpsY>11.1</GpsY> <HideContent>sample string 6</HideContent> <Id>1</Id> <Ip>sample string 5</Ip> <IsRemote>true</IsRemote> <Title>sample string 3</Title> </PostMemberCreateDto>