Translations API
Provides translations for different entities
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code of translation.
Sports which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/sports HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Regions which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/regions HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Leagues which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/leagues HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
TradeArt event id.
Markets which will be translated.
OK
Unauthorized
Forbidden
Not Found
Too many requests
Internal Server Error
GET /api/translations/{lang}/{eventId}/markets HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"marketTypeId": 1,
"market": {
"id": 1,
"language": "text",
"translation": "text"
},
"selections": [
{
"id": 1,
"language": "text",
"translation": "text"
}
]
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Competitors which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/competitors HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id.
OK
Contains entity translation information.
ID of the entity.
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/sport/{sportId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt event id.
OK
Unauthorized
Forbidden
Not Found
Too many requests
GET /api/translations/all/event/{eventId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"eventTranslation": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"sport": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"region": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"league": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"competitors": [
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt event id.
Markets which will be translated.
OK
Unauthorized
Forbidden
Not Found
Too many requests
Internal Server Error
GET /api/translations/all/{eventId}/markets HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"marketTypeId": 1,
"marketTranslations": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"selections": [
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt region id.
OK
Contains entity translation information.
ID of the entity.
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/region/{regionId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt league id.
OK
Contains entity translation information.
ID of the entity.
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/league/{leagueId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt competitor id.
OK
Contains entity translation information.
ID of the entity.
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/competitor/{competitorId} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Collection of selection ids (up to 100).
OK
Contains entity translation information.
ID of the entity.
Bad Request
Unauthorized
Forbidden
Too many requests
GET /api/translations/templates/selections HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Sport id.
Collection of market type ids (up to 100).
OK
Contains entity translation information.
ID of the entity.
Bad Request
Unauthorized
Forbidden
Too many requests
GET /api/translations/templates/market-types HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]Last updated