Skip to content

Latest commit

 

History

History
1640 lines (1252 loc) · 61.7 KB

CommunityChannelManagementApi.md

File metadata and controls

1640 lines (1252 loc) · 61.7 KB

CommunityChannelManagementApi

All requests use the primary/backup domains configured by the caller.

Method HTTP request Description
addCommunityChannelUserGroupUsers POST /v4/community-channel/user-group/user/add Add community channel user group users
addCommunityChannelUserGroups POST /v4/community-channel/user-group/add Add community channel user groups
addPrivateSubchannelMembers POST /v4/community-channel/private-subchannel/member/add Add private subchannel members
bindCommunityChannelUserGroup POST /v4/community-channel/channel/user-group/bind Bind community channel user group
checkCommunityChannelMemberExist POST /v4/community-channel/member/exist Check community channel member exist
createCommunityChannel POST /v4/community-channel/create Create community channel
createCommunitySubchannel POST /v4/community-channel/subchannel/create Create community subchannel
deleteCommunitySubchannel POST /v4/community-channel/subchannel/delete Delete community subchannel
dismissCommunityChannel POST /v4/community-channel/dismiss Dismiss community channel
joinCommunityChannel POST /v4/community-channel/join Join community channel
listCommunityChannelSubchannelUserGroups POST /v4/community-channel/channel/user-group/list List community channel subchannel user groups
listCommunityChannelUserGroupSubchannels POST /v4/community-channel/user-group/subchannel/list List community channel user group subchannels
listCommunityChannelUserGroups POST /v4/community-channel/user-group/list List community channel user groups
listCommunityChannelUserUserGroups POST /v4/community-channel/user/user-group/list List community channel user user groups
listCommunitySubchannels POST /v4/community-channel/subchannel/list List community subchannels
listCommunityUserSubchannels POST /v4/community-channel/user/subchannel/list List community user subchannels
listPrivateSubchannelMembers POST /v4/community-channel/private-subchannel/member/list List private subchannel members
quitCommunityChannel POST /v4/community-channel/leave Leave community channel
removeCommunityChannelUserGroupUsers POST /v4/community-channel/user-group/user/remove Remove community channel user group users
removeCommunityChannelUserGroups POST /v4/community-channel/user-group/remove Delete community channel user groups
removePrivateSubchannelMembers POST /v4/community-channel/private-subchannel/member/remove Remove private subchannel members
unbindCommunityChannelUserGroup POST /v4/community-channel/channel/user-group/unbind Unbind community channel user group
updateCommunityChannelInfo POST /v4/community-channel/update Update community channel info
updateCommunitySubchannelType POST /v4/community-channel/subchannel-type/update Update community subchannel type

addCommunityChannelUserGroupUsers

CodeOnlyResponse addCommunityChannelUserGroupUsers(communityChannelUserGroupUsersRequest)

Add community channel user group users

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupUsersRequest communityChannelUserGroupUsersRequest = new CommunityChannelUserGroupUsersRequest(); // CommunityChannelUserGroupUsersRequest | 
    try {
      CodeOnlyResponse result = apiInstance.addCommunityChannelUserGroupUsers(communityChannelUserGroupUsersRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#addCommunityChannelUserGroupUsers");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupUsersRequest CommunityChannelUserGroupUsersRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

addCommunityChannelUserGroups

CodeOnlyResponse addCommunityChannelUserGroups(communityChannelUserGroupAddRequest)

Add community channel user groups

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupAddRequest communityChannelUserGroupAddRequest = new CommunityChannelUserGroupAddRequest(); // CommunityChannelUserGroupAddRequest | 
    try {
      CodeOnlyResponse result = apiInstance.addCommunityChannelUserGroups(communityChannelUserGroupAddRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#addCommunityChannelUserGroups");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupAddRequest CommunityChannelUserGroupAddRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

addPrivateSubchannelMembers

CodeOnlyResponse addPrivateSubchannelMembers(communityPrivateSubchannelMembersRequest)

Add private subchannel members

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityPrivateSubchannelMembersRequest communityPrivateSubchannelMembersRequest = new CommunityPrivateSubchannelMembersRequest(); // CommunityPrivateSubchannelMembersRequest | 
    try {
      CodeOnlyResponse result = apiInstance.addPrivateSubchannelMembers(communityPrivateSubchannelMembersRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#addPrivateSubchannelMembers");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityPrivateSubchannelMembersRequest CommunityPrivateSubchannelMembersRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

bindCommunityChannelUserGroup

CodeOnlyResponse bindCommunityChannelUserGroup(communityChannelUserGroupBindingRequest)

Bind community channel user group

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupBindingRequest communityChannelUserGroupBindingRequest = new CommunityChannelUserGroupBindingRequest(); // CommunityChannelUserGroupBindingRequest | 
    try {
      CodeOnlyResponse result = apiInstance.bindCommunityChannelUserGroup(communityChannelUserGroupBindingRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#bindCommunityChannelUserGroup");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupBindingRequest CommunityChannelUserGroupBindingRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

checkCommunityChannelMemberExist

CommunityChannelMemberExistResponse checkCommunityChannelMemberExist(communityChannelMemberRequest)

Check community channel member exist

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelMemberRequest communityChannelMemberRequest = new CommunityChannelMemberRequest(); // CommunityChannelMemberRequest | 
    try {
      CommunityChannelMemberExistResponse result = apiInstance.checkCommunityChannelMemberExist(communityChannelMemberRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#checkCommunityChannelMemberExist");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelMemberRequest CommunityChannelMemberRequest

Return type

CommunityChannelMemberExistResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

createCommunityChannel

CodeOnlyResponse createCommunityChannel(communityChannelCreateRequest)

Create community channel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelCreateRequest communityChannelCreateRequest = new CommunityChannelCreateRequest(); // CommunityChannelCreateRequest | 
    try {
      CodeOnlyResponse result = apiInstance.createCommunityChannel(communityChannelCreateRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#createCommunityChannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelCreateRequest CommunityChannelCreateRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

createCommunitySubchannel

CodeOnlyResponse createCommunitySubchannel(communitySubchannelCreateRequest)

Create community subchannel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunitySubchannelCreateRequest communitySubchannelCreateRequest = new CommunitySubchannelCreateRequest(); // CommunitySubchannelCreateRequest | 
    try {
      CodeOnlyResponse result = apiInstance.createCommunitySubchannel(communitySubchannelCreateRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#createCommunitySubchannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communitySubchannelCreateRequest CommunitySubchannelCreateRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

deleteCommunitySubchannel

CodeOnlyResponse deleteCommunitySubchannel(communitySubchannelKeyRequest)

Delete community subchannel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunitySubchannelKeyRequest communitySubchannelKeyRequest = new CommunitySubchannelKeyRequest(); // CommunitySubchannelKeyRequest | 
    try {
      CodeOnlyResponse result = apiInstance.deleteCommunitySubchannel(communitySubchannelKeyRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#deleteCommunitySubchannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communitySubchannelKeyRequest CommunitySubchannelKeyRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

dismissCommunityChannel

CodeOnlyResponse dismissCommunityChannel(communityChannelDismissRequest)

Dismiss community channel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelDismissRequest communityChannelDismissRequest = new CommunityChannelDismissRequest(); // CommunityChannelDismissRequest | 
    try {
      CodeOnlyResponse result = apiInstance.dismissCommunityChannel(communityChannelDismissRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#dismissCommunityChannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelDismissRequest CommunityChannelDismissRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

joinCommunityChannel

CodeOnlyResponse joinCommunityChannel(communityChannelMemberRequest)

Join community channel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelMemberRequest communityChannelMemberRequest = new CommunityChannelMemberRequest(); // CommunityChannelMemberRequest | 
    try {
      CodeOnlyResponse result = apiInstance.joinCommunityChannel(communityChannelMemberRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#joinCommunityChannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelMemberRequest CommunityChannelMemberRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunityChannelSubchannelUserGroups

CommunityChannelSubchannelUserGroupListResponse listCommunityChannelSubchannelUserGroups(communityChannelSubchannelUserGroupListRequest)

List community channel subchannel user groups

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelSubchannelUserGroupListRequest communityChannelSubchannelUserGroupListRequest = new CommunityChannelSubchannelUserGroupListRequest(); // CommunityChannelSubchannelUserGroupListRequest | 
    try {
      CommunityChannelSubchannelUserGroupListResponse result = apiInstance.listCommunityChannelSubchannelUserGroups(communityChannelSubchannelUserGroupListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunityChannelSubchannelUserGroups");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelSubchannelUserGroupListRequest CommunityChannelSubchannelUserGroupListRequest

Return type

CommunityChannelSubchannelUserGroupListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunityChannelUserGroupSubchannels

CommunityChannelUserGroupSubchannelListResponse listCommunityChannelUserGroupSubchannels(communityChannelUserGroupSubchannelListRequest)

List community channel user group subchannels

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupSubchannelListRequest communityChannelUserGroupSubchannelListRequest = new CommunityChannelUserGroupSubchannelListRequest(); // CommunityChannelUserGroupSubchannelListRequest | 
    try {
      CommunityChannelUserGroupSubchannelListResponse result = apiInstance.listCommunityChannelUserGroupSubchannels(communityChannelUserGroupSubchannelListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunityChannelUserGroupSubchannels");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupSubchannelListRequest CommunityChannelUserGroupSubchannelListRequest

Return type

CommunityChannelUserGroupSubchannelListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunityChannelUserGroups

CommunityChannelUserGroupListResponse listCommunityChannelUserGroups(communityChannelUserGroupListRequest)

List community channel user groups

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupListRequest communityChannelUserGroupListRequest = new CommunityChannelUserGroupListRequest(); // CommunityChannelUserGroupListRequest | 
    try {
      CommunityChannelUserGroupListResponse result = apiInstance.listCommunityChannelUserGroups(communityChannelUserGroupListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunityChannelUserGroups");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupListRequest CommunityChannelUserGroupListRequest

Return type

CommunityChannelUserGroupListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunityChannelUserUserGroups

CommunityChannelUserUserGroupListResponse listCommunityChannelUserUserGroups(communityChannelUserUserGroupListRequest)

List community channel user user groups

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserUserGroupListRequest communityChannelUserUserGroupListRequest = new CommunityChannelUserUserGroupListRequest(); // CommunityChannelUserUserGroupListRequest | 
    try {
      CommunityChannelUserUserGroupListResponse result = apiInstance.listCommunityChannelUserUserGroups(communityChannelUserUserGroupListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunityChannelUserUserGroups");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserUserGroupListRequest CommunityChannelUserUserGroupListRequest

Return type

CommunityChannelUserUserGroupListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunitySubchannels

CommunitySubchannelListResponse listCommunitySubchannels(communitySubchannelListRequest)

List community subchannels

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunitySubchannelListRequest communitySubchannelListRequest = new CommunitySubchannelListRequest(); // CommunitySubchannelListRequest | 
    try {
      CommunitySubchannelListResponse result = apiInstance.listCommunitySubchannels(communitySubchannelListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunitySubchannels");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communitySubchannelListRequest CommunitySubchannelListRequest

Return type

CommunitySubchannelListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listCommunityUserSubchannels

CommunityUserSubchannelListResponse listCommunityUserSubchannels(communityUserSubchannelListRequest)

List community user subchannels

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityUserSubchannelListRequest communityUserSubchannelListRequest = new CommunityUserSubchannelListRequest(); // CommunityUserSubchannelListRequest | 
    try {
      CommunityUserSubchannelListResponse result = apiInstance.listCommunityUserSubchannels(communityUserSubchannelListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listCommunityUserSubchannels");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityUserSubchannelListRequest CommunityUserSubchannelListRequest

Return type

CommunityUserSubchannelListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

listPrivateSubchannelMembers

CommunityPrivateSubchannelMemberListResponse listPrivateSubchannelMembers(communityPrivateSubchannelMemberListRequest)

List private subchannel members

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityPrivateSubchannelMemberListRequest communityPrivateSubchannelMemberListRequest = new CommunityPrivateSubchannelMemberListRequest(); // CommunityPrivateSubchannelMemberListRequest | 
    try {
      CommunityPrivateSubchannelMemberListResponse result = apiInstance.listPrivateSubchannelMembers(communityPrivateSubchannelMemberListRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#listPrivateSubchannelMembers");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityPrivateSubchannelMemberListRequest CommunityPrivateSubchannelMemberListRequest

Return type

CommunityPrivateSubchannelMemberListResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

quitCommunityChannel

CodeOnlyResponse quitCommunityChannel(communityChannelMemberRequest)

Leave community channel

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelMemberRequest communityChannelMemberRequest = new CommunityChannelMemberRequest(); // CommunityChannelMemberRequest | 
    try {
      CodeOnlyResponse result = apiInstance.quitCommunityChannel(communityChannelMemberRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#quitCommunityChannel");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelMemberRequest CommunityChannelMemberRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

removeCommunityChannelUserGroupUsers

CodeOnlyResponse removeCommunityChannelUserGroupUsers(communityChannelUserGroupUsersRequest)

Remove community channel user group users

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupUsersRequest communityChannelUserGroupUsersRequest = new CommunityChannelUserGroupUsersRequest(); // CommunityChannelUserGroupUsersRequest | 
    try {
      CodeOnlyResponse result = apiInstance.removeCommunityChannelUserGroupUsers(communityChannelUserGroupUsersRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#removeCommunityChannelUserGroupUsers");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupUsersRequest CommunityChannelUserGroupUsersRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

removeCommunityChannelUserGroups

CodeOnlyResponse removeCommunityChannelUserGroups(communityChannelUserGroupDeleteRequest)

Delete community channel user groups

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupDeleteRequest communityChannelUserGroupDeleteRequest = new CommunityChannelUserGroupDeleteRequest(); // CommunityChannelUserGroupDeleteRequest | 
    try {
      CodeOnlyResponse result = apiInstance.removeCommunityChannelUserGroups(communityChannelUserGroupDeleteRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#removeCommunityChannelUserGroups");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupDeleteRequest CommunityChannelUserGroupDeleteRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

removePrivateSubchannelMembers

CodeOnlyResponse removePrivateSubchannelMembers(communityPrivateSubchannelMembersRequest)

Remove private subchannel members

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityPrivateSubchannelMembersRequest communityPrivateSubchannelMembersRequest = new CommunityPrivateSubchannelMembersRequest(); // CommunityPrivateSubchannelMembersRequest | 
    try {
      CodeOnlyResponse result = apiInstance.removePrivateSubchannelMembers(communityPrivateSubchannelMembersRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#removePrivateSubchannelMembers");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityPrivateSubchannelMembersRequest CommunityPrivateSubchannelMembersRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

unbindCommunityChannelUserGroup

CodeOnlyResponse unbindCommunityChannelUserGroup(communityChannelUserGroupBindingRequest)

Unbind community channel user group

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUserGroupBindingRequest communityChannelUserGroupBindingRequest = new CommunityChannelUserGroupBindingRequest(); // CommunityChannelUserGroupBindingRequest | 
    try {
      CodeOnlyResponse result = apiInstance.unbindCommunityChannelUserGroup(communityChannelUserGroupBindingRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#unbindCommunityChannelUserGroup");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUserGroupBindingRequest CommunityChannelUserGroupBindingRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

updateCommunityChannelInfo

CodeOnlyResponse updateCommunityChannelInfo(communityChannelUpdateRequest)

Update community channel info

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunityChannelUpdateRequest communityChannelUpdateRequest = new CommunityChannelUpdateRequest(); // CommunityChannelUpdateRequest | 
    try {
      CodeOnlyResponse result = apiInstance.updateCommunityChannelInfo(communityChannelUpdateRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#updateCommunityChannelInfo");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communityChannelUpdateRequest CommunityChannelUpdateRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -

updateCommunitySubchannelType

CodeOnlyResponse updateCommunitySubchannelType(communitySubchannelTypeUpdateRequest)

Update community subchannel type

Example

// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelManagementApi;

public class Example {
  public static void main(String[] args) {
    ApiClient defaultClient = Configuration.getDefaultApiClient();
    defaultClient.setBasePath("https://api.sg-light-api.com");
    
    // Configure API key authorization: NexconnSignature
    ApiKeyAuth NexconnSignature = (ApiKeyAuth) defaultClient.getAuthentication("NexconnSignature");
    NexconnSignature.setApiKey("YOUR API KEY");
    // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
    //NexconnSignature.setApiKeyPrefix("Token");

    CommunityChannelManagementApi apiInstance = new CommunityChannelManagementApi(defaultClient);
    
    CommunitySubchannelTypeUpdateRequest communitySubchannelTypeUpdateRequest = new CommunitySubchannelTypeUpdateRequest(); // CommunitySubchannelTypeUpdateRequest | 
    try {
      CodeOnlyResponse result = apiInstance.updateCommunitySubchannelType(communitySubchannelTypeUpdateRequest);
      System.out.println(result);
    } catch (ApiException e) {
      System.err.println("Exception when calling CommunityChannelManagementApi#updateCommunitySubchannelType");
      System.err.println("Status code: " + e.getCode());
      System.err.println("Reason: " + e.getResponseBody());
      System.err.println("Response headers: " + e.getResponseHeaders());
      e.printStackTrace();
    }
  }
}

Parameters

Name Type Description Notes
communitySubchannelTypeUpdateRequest CommunitySubchannelTypeUpdateRequest

Return type

CodeOnlyResponse

Authorization

NexconnSignature

HTTP request headers

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

HTTP response details

Status code Description Response headers
200 OK -