GET api/v1/GetSupergroupMedia?threadid={threadid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
threadid

integer

Required

Body Parameters

None.

Response Information

Resource Description

supergroupmedialist
NameDescriptionTypeAdditional information
image

Collection of SupergroupMedia

None.

video

Collection of SupergroupMedia

None.

document

Collection of SupergroupMedia

None.

url

Collection of SupergroupMedia

None.

Response Formats

application/json, text/json

Sample:
{
  "image": [
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    },
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    }
  ],
  "video": [
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    },
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    }
  ],
  "document": [
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    },
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    }
  ],
  "url": [
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    },
    {
      "id": 1,
      "threadid": 2,
      "path": "sample string 3",
      "imagetype": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<supergroupmedialist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIBridge">
  <document>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
  </document>
  <image>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
  </image>
  <url>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
  </url>
  <video>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
    <SupergroupMedia>
      <id>1</id>
      <imagetype>sample string 4</imagetype>
      <path>sample string 3</path>
      <threadid>2</threadid>
    </SupergroupMedia>
  </video>
</supergroupmedialist>