All URIs are relative to http://localhost
deletePolicyChannelsDelete
PolicyChannelSchema deletePolicyChannelsDelete(id)
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
String id = "id_example" ; // String |
try {
PolicyChannelSchema result = apiInstance .deletePolicyChannelsDelete (id );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#deletePolicyChannelsDelete" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
Name
Type
Description
Notes
id
String
PolicyChannelSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-
PolicyChannelSchema getPolicyChannelsGet(id)
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
String id = "id_example" ; // String |
try {
PolicyChannelSchema result = apiInstance .getPolicyChannelsGet (id );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#getPolicyChannelsGet" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
Name
Type
Description
Notes
id
String
PolicyChannelSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-
PaginationSchema getPolicyChannelsGetAll()
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
try {
PaginationSchema result = apiInstance .getPolicyChannelsGetAll ();
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#getPolicyChannelsGetAll" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
This endpoint does not need any parameter.
PaginationSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-
PolicyChannelSchema postPolicyChannelsPost(requestBody)
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
PolicyChannelSchema requestBody = new PolicyChannelSchema (); // PolicyChannelSchema |
try {
PolicyChannelSchema result = apiInstance .postPolicyChannelsPost (requestBody );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#postPolicyChannelsPost" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
PolicyChannelSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-
PolicyChannelSchema postPolicyChannelsTest(requestBody)
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
PolicyChannelSchema requestBody = new PolicyChannelSchema (); // PolicyChannelSchema |
try {
PolicyChannelSchema result = apiInstance .postPolicyChannelsTest (requestBody );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#postPolicyChannelsTest" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
PolicyChannelSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-
PolicyChannelSchema putPolicyChannelsPut(id, requestBody)
// Import classes:
import org .openapitools .client .ApiClient ;
import org .openapitools .client .ApiException ;
import org .openapitools .client .Configuration ;
import org .openapitools .client .auth .*;
import org .openapitools .client .models .*;
import org .openapitools .client .api .ChannelsApi ;
public class Example {
public static void main (String [] args ) {
ApiClient defaultClient = Configuration .getDefaultApiClient ();
defaultClient .setBasePath ("http://localhost" );
// Configure API key authorization: auth_token
ApiKeyAuth auth_token = (ApiKeyAuth ) defaultClient .getAuthentication ("auth_token" );
auth_token .setApiKey ("YOUR API KEY" );
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//auth_token.setApiKeyPrefix("Token");
ChannelsApi apiInstance = new ChannelsApi (defaultClient );
String id = "id_example" ; // String |
PolicyChannelSchema requestBody = new PolicyChannelSchema (); // PolicyChannelSchema |
try {
PolicyChannelSchema result = apiInstance .putPolicyChannelsPut (id , requestBody );
System .out .println (result );
} catch (ApiException e ) {
System .err .println ("Exception when calling ChannelsApi#putPolicyChannelsPut" );
System .err .println ("Status code: " + e .getCode ());
System .err .println ("Reason: " + e .getResponseBody ());
System .err .println ("Response headers: " + e .getResponseHeaders ());
e .printStackTrace ();
}
}
}
PolicyChannelSchema
auth_token
HTTP request headers
Content-Type : Not defined
Accept : application/json
Status code
Description
Response headers
200
A successful response
-