Promos
Promos
Returns the latest 2 active promos.
| Method | GET |
|---|---|
| Endpoint | /promos |
Deprecation Notice
This API-Call will be removed at a later point and shouldn't be used anymore.Attention
Thetitle property has to be parsed as HTML.
Output Body
{
"version":1,
"status":200,
"data":[
{
"id":2,
"title":"Support\u003Cbr\/\u003ESpinSha.re!",
"type":"SUPPORT",
"textColor":"#222222",
"color":"#f96753",
"button":{
"type":3,
"data":"https:\/\/patreon.com\/spinshare"
},
"isVisible":true,
"image_path":"https:\/\/spinsha.re\/uploads\/promo\/promo_5e8de86c19536.png"
},
{
"id":1,
"title":"Join our\u003Cbr \/\u003EDiscord!",
"type":"SOCIAL",
"textColor":"#222",
"color":"#7289DA",
"button":{
"type":3,
"data":"https:\/\/spinsha.re\/discord"
},
"isVisible":true,
"image_path":"https:\/\/spinsha.re\/uploads\/promo\/promo_5e8de7f753038.png"
}
]
}
Active Promos
Returns all active promos.
| Method | GET |
|---|---|
| Endpoint | /activePromos |
Attention
Thetitle property has to be parsed as HTML.
Output Body
{
"version":1,
"status":200,
"data":[
{
"id":2,
"title":"Support\u003Cbr\/\u003ESpinSha.re!",
"type":"SUPPORT",
"textColor":"#222222",
"color":"#f96753",
"button":{
"type":3,
"data":"https:\/\/patreon.com\/spinshare"
},
"isVisible":true,
"image_path":"https:\/\/spinsha.re\/uploads\/promo\/promo_5e8de86c19536.png"
},
{
"id":1,
"title":"Join our\u003Cbr \/\u003EDiscord!",
"type":"SOCIAL",
"textColor":"#222",
"color":"#7289DA",
"button":{
"type":3,
"data":"https:\/\/spinsha.re\/discord"
},
"isVisible":true,
"image_path":"https:\/\/spinsha.re\/uploads\/promo\/promo_5e8de7f753038.png"
}
]
}