POST api/blogger/postManage/{authorId}/image/{postId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
authorId

integer

Required

postId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ResponseResultOfListOfUploadInfo
NameDescriptionTypeAdditional information
Data

Collection of UploadInfo

None.

Message

string

None.

Status

integer

None.

Page

PageInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Key": "sample string 1",
      "Path": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Path": "sample string 2"
    }
  ],
  "Message": "sample string 1",
  "Status": 2,
  "Page": {
    "PageIndex": 1,
    "PageTotal": 2,
    "DataTotal": 3,
    "PostSize": 4,
    "TagSize": 5,
    "ThemeSize": 6
  }
}

application/xml, text/xml

Sample:
<ResponseResultOfArrayOfImageManipulation.UploadInfoA0mkNGPo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlogAdmin.Common">
    <d2p1:ImageManipulation.UploadInfo>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Path>sample string 2</d2p1:Path>
    </d2p1:ImageManipulation.UploadInfo>
    <d2p1:ImageManipulation.UploadInfo>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Path>sample string 2</d2p1:Path>
    </d2p1:ImageManipulation.UploadInfo>
  </Data>
  <Message>sample string 1</Message>
  <Page>
    <DataTotal>3</DataTotal>
    <PageIndex>1</PageIndex>
    <PageTotal>2</PageTotal>
    <PostSize>4</PostSize>
    <TagSize>5</TagSize>
    <ThemeSize>6</ThemeSize>
  </Page>
  <Status>2</Status>
</ResponseResultOfArrayOfImageManipulation.UploadInfoA0mkNGPo>