All requests use the primary/backup domains configured by the caller.
| Method | HTTP request | Description |
|---|---|---|
| addCommunityChannelAllowedSenderList | POST /v4/community-channel/allowed-sender-list/add | Add community channel allowed sender list |
| addCommunityChannelMutedUsers | POST /v4/community-channel/mute-list/add | Add community-channel muted users |
| getCommunityChannelFreezeList | POST /v4/community-channel/freeze-list/get | Get community channel freeze status |
| listCommunityChannelAllowedSenderList | POST /v4/community-channel/allowed-sender-list/get | List community channel allowed sender list |
| listCommunityChannelMutedUsers | POST /v4/community-channel/mute-list/get | List community-channel muted users |
| removeCommunityChannelAllowedSenderList | POST /v4/community-channel/allowed-sender-list/remove | Remove community channel allowed sender list |
| removeCommunityChannelMutedUsers | POST /v4/community-channel/mute-list/remove | Remove community-channel muted users |
| setCommunityChannelFreezeList | POST /v4/community-channel/freeze-list/set | Set community channel freeze list |
CodeOnlyResponse addCommunityChannelAllowedSenderList(communityChannelAllowedSenderListUpdateRequest)
Add community channel allowed sender list
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelAllowedSenderListUpdateRequest communityChannelAllowedSenderListUpdateRequest = new CommunityChannelAllowedSenderListUpdateRequest(); // CommunityChannelAllowedSenderListUpdateRequest |
try {
CodeOnlyResponse result = apiInstance.addCommunityChannelAllowedSenderList(communityChannelAllowedSenderListUpdateRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#addCommunityChannelAllowedSenderList");
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 |
|---|---|---|---|
| communityChannelAllowedSenderListUpdateRequest | CommunityChannelAllowedSenderListUpdateRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CodeOnlyResponse addCommunityChannelMutedUsers(communityChannelMuteListAddRequest)
Add community-channel muted users
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelMuteListAddRequest communityChannelMuteListAddRequest = new CommunityChannelMuteListAddRequest(); // CommunityChannelMuteListAddRequest |
try {
CodeOnlyResponse result = apiInstance.addCommunityChannelMutedUsers(communityChannelMuteListAddRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#addCommunityChannelMutedUsers");
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 |
|---|---|---|---|
| communityChannelMuteListAddRequest | CommunityChannelMuteListAddRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CommunityChannelFreezeListGetResponse getCommunityChannelFreezeList(communityChannelFreezeListGetRequest)
Get community channel freeze status
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelFreezeListGetRequest communityChannelFreezeListGetRequest = new CommunityChannelFreezeListGetRequest(); // CommunityChannelFreezeListGetRequest |
try {
CommunityChannelFreezeListGetResponse result = apiInstance.getCommunityChannelFreezeList(communityChannelFreezeListGetRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#getCommunityChannelFreezeList");
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 |
|---|---|---|---|
| communityChannelFreezeListGetRequest | CommunityChannelFreezeListGetRequest |
CommunityChannelFreezeListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CommunityChannelAllowedSenderListGetResponse listCommunityChannelAllowedSenderList(communityChannelAllowedSenderListGetRequest)
List community channel allowed sender list
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelAllowedSenderListGetRequest communityChannelAllowedSenderListGetRequest = new CommunityChannelAllowedSenderListGetRequest(); // CommunityChannelAllowedSenderListGetRequest |
try {
CommunityChannelAllowedSenderListGetResponse result = apiInstance.listCommunityChannelAllowedSenderList(communityChannelAllowedSenderListGetRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#listCommunityChannelAllowedSenderList");
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 |
|---|---|---|---|
| communityChannelAllowedSenderListGetRequest | CommunityChannelAllowedSenderListGetRequest |
CommunityChannelAllowedSenderListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CommunityChannelMuteListGetResponse listCommunityChannelMutedUsers(communityChannelMuteListGetRequest)
List community-channel muted users
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelMuteListGetRequest communityChannelMuteListGetRequest = new CommunityChannelMuteListGetRequest(); // CommunityChannelMuteListGetRequest |
try {
CommunityChannelMuteListGetResponse result = apiInstance.listCommunityChannelMutedUsers(communityChannelMuteListGetRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#listCommunityChannelMutedUsers");
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 |
|---|---|---|---|
| communityChannelMuteListGetRequest | CommunityChannelMuteListGetRequest |
CommunityChannelMuteListGetResponse
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CodeOnlyResponse removeCommunityChannelAllowedSenderList(communityChannelAllowedSenderListUpdateRequest)
Remove community channel allowed sender list
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelAllowedSenderListUpdateRequest communityChannelAllowedSenderListUpdateRequest = new CommunityChannelAllowedSenderListUpdateRequest(); // CommunityChannelAllowedSenderListUpdateRequest |
try {
CodeOnlyResponse result = apiInstance.removeCommunityChannelAllowedSenderList(communityChannelAllowedSenderListUpdateRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#removeCommunityChannelAllowedSenderList");
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 |
|---|---|---|---|
| communityChannelAllowedSenderListUpdateRequest | CommunityChannelAllowedSenderListUpdateRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CodeOnlyResponse removeCommunityChannelMutedUsers(communityChannelMuteListRemoveRequest)
Remove community-channel muted users
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelMuteListRemoveRequest communityChannelMuteListRemoveRequest = new CommunityChannelMuteListRemoveRequest(); // CommunityChannelMuteListRemoveRequest |
try {
CodeOnlyResponse result = apiInstance.removeCommunityChannelMutedUsers(communityChannelMuteListRemoveRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#removeCommunityChannelMutedUsers");
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 |
|---|---|---|---|
| communityChannelMuteListRemoveRequest | CommunityChannelMuteListRemoveRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
CodeOnlyResponse setCommunityChannelFreezeList(communityChannelFreezeListSetRequest)
Set community channel freeze list
// Import classes:
import ai.nexconn.ApiClient;
import ai.nexconn.ApiException;
import ai.nexconn.Configuration;
import ai.nexconn.model.*;
import ai.nexconn.api.CommunityChannelModerationApi;
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");
CommunityChannelModerationApi apiInstance = new CommunityChannelModerationApi(defaultClient);
CommunityChannelFreezeListSetRequest communityChannelFreezeListSetRequest = new CommunityChannelFreezeListSetRequest(); // CommunityChannelFreezeListSetRequest |
try {
CodeOnlyResponse result = apiInstance.setCommunityChannelFreezeList(communityChannelFreezeListSetRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CommunityChannelModerationApi#setCommunityChannelFreezeList");
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 |
|---|---|---|---|
| communityChannelFreezeListSetRequest | CommunityChannelFreezeListSetRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |