DefaultApi
All URIs are relative to https://api.playit.gg
agentsRoutingGetPost
AgentsRoutingGetPost200Response agentsRoutingGetPost(reqAgentsRoutingGet)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqAgentsRoutingGet reqAgentsRoutingGet = new ReqAgentsRoutingGet(); // ReqAgentsRoutingGet |
try {
AgentsRoutingGetPost200Response result = apiInstance.agentsRoutingGetPost(reqAgentsRoutingGet);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#agentsRoutingGetPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
AgentsRoutingGetPost200Response
Authorization
AgentKey, ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
agentsRundataPost
AgentsRundataPost200Response agentsRundataPost()
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
try {
AgentsRundataPost200Response result = apiInstance.agentsRundataPost();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#agentsRundataPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
AgentsRundataPost200Response
Authorization
AgentKey
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
claimAcceptPost
ClaimAcceptPost200Response claimAcceptPost(reqClaimAccept)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqClaimAccept reqClaimAccept = new ReqClaimAccept(); // ReqClaimAccept |
try {
ClaimAcceptPost200Response result = apiInstance.claimAcceptPost(reqClaimAccept);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#claimAcceptPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
ClaimAcceptPost200Response
Authorization
ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
claimDetailsPost
ClaimDetailsPost200Response claimDetailsPost(reqClaimDetails)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqClaimDetails reqClaimDetails = new ReqClaimDetails(); // ReqClaimDetails |
try {
ClaimDetailsPost200Response result = apiInstance.claimDetailsPost(reqClaimDetails);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#claimDetailsPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
ClaimDetailsPost200Response
Authorization
ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
claimExchangePost
ClaimExchangePost200Response claimExchangePost(reqClaimExchange)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqClaimExchange reqClaimExchange = new ReqClaimExchange(); // ReqClaimExchange |
try {
ClaimExchangePost200Response result = apiInstance.claimExchangePost(reqClaimExchange);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#claimExchangePost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
ClaimExchangePost200Response
Authorization
No authorization required
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
claimRejectPost
TunnelsDeletePost200Response claimRejectPost(reqClaimReject)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqClaimReject reqClaimReject = new ReqClaimReject(); // ReqClaimReject |
try {
TunnelsDeletePost200Response result = apiInstance.claimRejectPost(reqClaimReject);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#claimRejectPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
TunnelsDeletePost200Response
Authorization
ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
claimSetupPost
ClaimSetupPost200Response claimSetupPost(reqClaimSetup)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqClaimSetup reqClaimSetup = new ReqClaimSetup(); // ReqClaimSetup |
try {
ClaimSetupPost200Response result = apiInstance.claimSetupPost(reqClaimSetup);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#claimSetupPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
ClaimSetupPost200Response
Authorization
No authorization required
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
loginGuestPost
LoginGuestPost200Response loginGuestPost()
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
try {
LoginGuestPost200Response result = apiInstance.loginGuestPost();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#loginGuestPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
This endpoint does not need any parameter.
Return type
LoginGuestPost200Response
Authorization
AgentKey
- Content-Type: Not defined
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
protoRegisterPost
ProtoRegisterPost200Response protoRegisterPost(reqProtoRegister)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqProtoRegister reqProtoRegister = new ReqProtoRegister(); // ReqProtoRegister |
try {
ProtoRegisterPost200Response result = apiInstance.protoRegisterPost(reqProtoRegister);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#protoRegisterPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
ProtoRegisterPost200Response
Authorization
AgentKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
tunnelsCreatePost
TunnelsCreatePost200Response tunnelsCreatePost(reqTunnelsCreate)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqTunnelsCreate reqTunnelsCreate = new ReqTunnelsCreate(); // ReqTunnelsCreate |
try {
TunnelsCreatePost200Response result = apiInstance.tunnelsCreatePost(reqTunnelsCreate);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#tunnelsCreatePost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
TunnelsCreatePost200Response
Authorization
AgentKey, ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
tunnelsDeletePost
TunnelsDeletePost200Response tunnelsDeletePost(reqTunnelsDelete)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqTunnelsDelete reqTunnelsDelete = new ReqTunnelsDelete(); // ReqTunnelsDelete |
try {
TunnelsDeletePost200Response result = apiInstance.tunnelsDeletePost(reqTunnelsDelete);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#tunnelsDeletePost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
TunnelsDeletePost200Response
Authorization
AgentKey, ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |
tunnelsListPost
TunnelsListPost200Response tunnelsListPost(reqTunnelsList)
Example
// Import classes:
import gg.playit.ApiClient;
import gg.playit.ApiException;
import gg.playit.Configuration;
import gg.playit.auth.*;
import gg.playit.models.*;
import gg.playit.api.DefaultApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.playit.gg");
// Configure API key authorization: AgentKey
ApiKeyAuth AgentKey = (ApiKeyAuth) defaultClient.getAuthentication("AgentKey");
AgentKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//AgentKey.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKey
ApiKeyAuth ApiKey = (ApiKeyAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKey.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
ReqTunnelsList reqTunnelsList = new ReqTunnelsList(); // ReqTunnelsList |
try {
TunnelsListPost200Response result = apiInstance.tunnelsListPost(reqTunnelsList);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#tunnelsListPost");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
Return type
TunnelsListPost200Response
Authorization
AgentKey, ApiKey
- Content-Type: application/json
- Accept: application/json
HTTP response details
Status code |
Description |
Response headers |
200 |
|
- |
400 |
|
- |
401 |
|
- |
500 |
|
- |