organiser
public endpoints
/api/v4/organiser/$organiserID
parameters
| name | type | description |
|---|---|---|
| $organiserID (required) | int | This is the ID of the organiser. |
response (code: 404)
{
"error": {
"code": 404,
"msg": "no entry with the ID: $organiserID found."
}
}
response (code: 200)
{
"ID": 1,
"name": "FearNixx GmbH",
"residence_name": "Germany",
"url": "https:\/\/www.opleague.pro\/organisationprofile\/1-FearNixx-GmbH",
"description": null,
"discord": "xfD2GK8m",
"twitter": "FireLeagueDE",
"twitch": "fearnixxgaming",
"youtube": "channel\/UCJz6mH7GCLM9lB7tVdeGdmQ",
"website": "https:\/\/fireleague.de\/",
"imprint": "https:\/\/fearnixx.de\/impressum\/",
"tandc": null,
"privacy": "https:\/\/fearnixx.de\/datenschutz",
"logo_array": {
"background": "..\/styles\/media\/organiser\/1\/Logo_background.png"
},
"logo_array_on_black": [],
"header_array": [],
"tournaments": null
}
You are able to stack request with optional parameters like so: /api/v4/organiser/$organiserID/$additional1,$additional2,$additional3
/api/v4/organiser/$organiserID/staff
parameters
| name | type | description |
|---|---|---|
| $organiserID (required) | int | This is the ID of the organiser. |
| staff | string | Get all staff members of an organisation. |
response (code: 400)
{
"error": {
"code": 400,
"msg": "addtional request is invalid: $additional"
}
}
response (code: 404)
{
"error": {
"code": 404,
"msg": "no entry with the ID: $organiserID found."
}
}
response (code: 200)
{
"ID": 1,
"name": "FearNixx GmbH",
"residence_name": "Germany",
"url": "https:\/\/www.opleague.pro\/organisationprofile\/1-FearNixx-GmbH",
"description": null,
"discord": "xfD2GK8m",
"twitter": "FireLeagueDE",
"twitch": "fearnixxgaming",
"youtube": "channel\/UCJz6mH7GCLM9lB7tVdeGdmQ",
"website": "https:\/\/fireleague.de\/",
"imprint": "https:\/\/fearnixx.de\/impressum\/",
"tandc": null,
"privacy": "https:\/\/fearnixx.de\/datenschutz",
"logo_array": {
"background": "..\/styles\/media\/organiser\/1\/Logo_background.png"
},
"logo_array_on_black": [],
"header_array": [],
"tournaments": null,
"staff": {
"10": {
"ID": 10,
"username": "TaganFreez",
"first_name": "Alexander",
"last_name": "Schmid",
"residence_name": "Germany",
"age": 30,
"url": "https:\/\/www.opleague.pro\/user\/10-TaganFreez",
"description": null,
"discord": null,
"discord_ID": null,
"twitter": null,
"twitch": null,
"youtube": null,
"website": null,
"logo_array": {
"background": "..\/styles\/media\/user\/10\/Logo_background.png"
},
"permission": "head admin"
},
"7837": {
"ID": 7837,
"username": "torgegenius",
"first_name": null,
"last_name": null,
"residence_name": "Germany",
"age": 26,
"url": "https:\/\/www.opleague.pro\/user\/7837-torgegenius",
"description": null,
"discord": null,
"discord_ID": null,
"twitter": null,
"twitch": null,
"youtube": null,
"website": null,
"logo_array": {
"is_on_error": true
},
"permission": "admin"
}
}
}
/api/v4/organiser/$organiserID/tournaments
parameters
| name | type | description |
|---|---|---|
| $organiserID (required) | int | This is the ID of the organiser. |
| tournaments | string | Get all tournaments of an organisation. |
response (code: 400)
{
"error": {
"code": 400,
"msg": "addtional request is invalid: $additional"
}
}
response (code: 404)
{
"error": {
"code": 404,
"msg": "no entry with the ID: $organiserID found."
}
}
response (code: 200)
{
"ID": 1,
"name": "FearNixx GmbH",
"residence_name": "Germany",
"url": "https:\/\/www.opleague.pro\/organisationprofile\/1-FearNixx-GmbH",
"description": null,
"discord": "xfD2GK8m",
"twitter": "FireLeagueDE",
"twitch": "fearnixxgaming",
"youtube": "channel\/UCJz6mH7GCLM9lB7tVdeGdmQ",
"website": "https:\/\/fireleague.de\/",
"imprint": "https:\/\/fearnixx.de\/impressum\/",
"tandc": null,
"privacy": "https:\/\/fearnixx.de\/datenschutz",
"logo_array": {
"background": "..\/styles\/media\/organiser\/1\/Logo_background.png"
},
"logo_array_on_black": [],
"header_array": [],
"tournaments": [
"-197",
"-173",
"-159",
"-149",
"178",
"241",
"242",
"243",
"244",
"245",
"246",
"247",
"252",
"253",
"254",
"255",
"256",
"257",
"258",
"259",
"260",
"261",
"262",
"263",
"264",
"265",
"266",
"267",
"268",
"269",
"271",
"272",
"278",
"288",
"289",
"290",
"291",
"293",
"294",
"295",
"296",
"297",
"298",
"300",
"301",
"304",
"305",
"306",
"307",
"309",
"310",
"311",
"312",
"323",
"330",
"331",
"332",
"333",
"334",
"335",
"336",
"337",
"338",
"339",
"340",
"341",
"342",
"344",
"345",
"376",
"385",
"386",
"387",
"388",
"396",
"397",
"398",
"399",
"400",
"401",
"402",
"403",
"404",
"405",
"406",
"407",
"408",
"409",
"410",
"411",
"412",
"413",
"414",
"415",
"416",
"417",
"418",
"419",
"420",
"421",
"422",
"436",
"438",
"1313",
"1333",
"1361",
"1766",
"2358",
"2530",
"2549"
]
}