GET api/{version}/Logos/Teams/{teamName}

This gets the logo for the team you request. 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
teamName

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Logo
NameDescriptionTypeAdditional information
Logos

Logo details

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"
      }
    }
  },
  "RequestStatus": {
    "Success": true,
    "StatusMessage": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<Logo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Green4.WebApi.Stats.Interface.Stats">
  <Logos>
    <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>
  </Logos>
  <RequestStatus>
    <StatusMessage>sample string 2</StatusMessage>
    <Success>true</Success>
  </RequestStatus>
</Logo>