GET api/{version}/Logos

This gets all the logos for all teams that we store in our image service. It will come back with a svg image and a png image. Some teams only have a png image. If no images or teams are found on the server we will send back a placeholder image.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

TeamLogos
NameDescriptionTypeAdditional information
Logos

Logo details

Collection of Team

None.

RequestStatus

Details of request status

APIRequestStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Logos": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Logo": {
        "SVGLogo": "sample string 1",
        "PNGLogo": "sample string 2",
        "RequestStatus": {
          "Success": true,
          "StatusMessage": "sample string 2"
        }
      }
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "Logo": {
        "SVGLogo": "sample string 1",
        "PNGLogo": "sample string 2",
        "RequestStatus": {
          "Success": true,
          "StatusMessage": "sample string 2"
        }
      }
    }
  ],
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<TeamLogos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Logos>
    <Team>
      <Id>sample string 1</Id>
      <Logo>
        <PNGLogo>sample string 2</PNGLogo>
        <RequestStatus>
          <StatusMessage>sample string 2</StatusMessage>
          <Success>true</Success>
        </RequestStatus>
        <SVGLogo>sample string 1</SVGLogo>
      </Logo>
      <Name>sample string 2</Name>
    </Team>
    <Team>
      <Id>sample string 1</Id>
      <Logo>
        <PNGLogo>sample string 2</PNGLogo>
        <RequestStatus>
          <StatusMessage>sample string 2</StatusMessage>
          <Success>true</Success>
        </RequestStatus>
        <SVGLogo>sample string 1</SVGLogo>
      </Logo>
      <Name>sample string 2</Name>
    </Team>
  </Logos>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</TeamLogos>