Skip to content

Latest commit

 

History

History
96 lines (53 loc) · 3.08 KB

File metadata and controls

96 lines (53 loc) · 3.08 KB

\BfBanApi

All URIs are relative to https://api.gametools.network

Method HTTP request Description
bf_bans_check_bfban_checkban_post POST /bfban/checkban/ check if list of player is banned in bfban
get_all_banned_players_bfban_banned_players_get GET /bfban/banned_players/ Get all banned players ids from bfban (used internally, cached for 1 hour)
get_bf_bans_check_bfban_checkban_get GET /bfban/checkban/ check if list of player is banned in bfban

bf_bans_check_bfban_checkban_post

serde_json::Value bf_bans_check_bfban_checkban_post(request_body) check if list of player is banned in bfban

Parameters

Name Type Description Required Notes
request_body Vec<std::collections::HashMap<String, String>> [required]

Return type

serde_json::Value

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_all_banned_players_bfban_banned_players_get

serde_json::Value get_all_banned_players_bfban_banned_players_get() Get all banned players ids from bfban (used internally, cached for 1 hour)

Parameters

This endpoint does not need any parameter.

Return type

serde_json::Value

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_bf_bans_check_bfban_checkban_get

serde_json::Value get_bf_bans_check_bfban_checkban_get(names, userids, personaids) check if list of player is banned in bfban

Give a list of names, userids and/or personaids seperated with "," this is a GET request because POST isn't allowed when allow_origins="*"

Parameters

Name Type Description Required Notes
names Option<String> [default to ]
userids Option<String> [default to ]
personaids Option<String> [default to ]

Return type

serde_json::Value

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]