GET v1/themes/{id}
Retrieves a theme by their id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique Identifier of the theme requested. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The Theme, if it exists. Otherwise a 404 error.
Theme| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Name | string |
None. |
|
| LegendHeader | string |
None. |
|
| LegendBackgroundColor | string |
None. |
|
| LegendTextColor | string |
None. |
|
| FrameBackgroundColor | string |
None. |
|
| CompanyLogo | string |
None. |
|
| Logo | string |
None. |
|
| FrameBackgroundImage | string |
None. |
Response Codes
- 200 OK: Requested theme successfully returned.
- 401 Unauthorized:
- 404 NotFound: Requested theme does not exist.
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"Name": "sample string 2",
"LegendHeader": "sample string 3",
"LegendBackgroundColor": "sample string 4",
"LegendTextColor": "sample string 5",
"FrameBackgroundColor": "sample string 6",
"CompanyLogo": "sample string 7",
"Logo": "sample string 8",
"FrameBackgroundImage": "sample string 9"
}
text/html
Sample:
{"Id":"sample string 1","Name":"sample string 2","LegendHeader":"sample string 3","LegendBackgroundColor":"sample string 4","LegendTextColor":"sample string 5","FrameBackgroundColor":"sample string 6","CompanyLogo":"sample string 7","Logo":"sample string 8","FrameBackgroundImage":"sample string 9"}
application/xml, text/xml
Sample:
<Theme xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Games.Api.Contracts.v1.Models"> <CompanyLogo>sample string 7</CompanyLogo> <FrameBackgroundColor>sample string 6</FrameBackgroundColor> <FrameBackgroundImage>sample string 9</FrameBackgroundImage> <Id>sample string 1</Id> <LegendBackgroundColor>sample string 4</LegendBackgroundColor> <LegendHeader>sample string 3</LegendHeader> <LegendTextColor>sample string 5</LegendTextColor> <Logo>sample string 8</Logo> <Name>sample string 2</Name> </Theme>