All URIs are relative to https://api.lucfish.com/configuration/v1
| Method | HTTP request | Description |
|---|---|---|
| configGroupBatchDeletePost | POST /configGroup/batchDelete | 批量删除组 |
| configGroupBatchRetrievePost | POST /configGroup/batchRetrieve | 批量查询组 |
| configGroupCursorPost | POST /configGroup/cursor | Cursor查询组 |
| configGroupIdDelete | DELETE /configGroup/{id} | 删除组 |
| configGroupIdGet | GET /configGroup/{id} | 查询组 |
| configGroupPagePost | POST /configGroup/page | Page查询组 |
| configGroupPost | POST /configGroup | 创建组 |
| configGroupPut | PUT /configGroup | 更新组 |
| configGroupRetrieveByNamePost | POST /configGroup/retrieveByName | 查询组 |
DeleteRsp configGroupBatchDeletePost(idsReq)
批量删除组
批量删除组通过组Id
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
IdsReq idsReq = new IdsReq(); // IdsReq |
try {
DeleteRsp result = apiInstance.configGroupBatchDeletePost(idsReq);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupBatchDeletePost");
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 |
|---|---|---|---|
| idsReq | IdsReq | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
GetConfigGroupsRsp configGroupBatchRetrievePost(idsReq)
批量查询组
批量查询组通过组Id
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
IdsReq idsReq = new IdsReq(); // IdsReq |
try {
GetConfigGroupsRsp result = apiInstance.configGroupBatchRetrievePost(idsReq);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupBatchRetrievePost");
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 |
|---|---|---|---|
| idsReq | IdsReq | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
CursorConfigGroupsRsp configGroupCursorPost(cursorQuery)
Cursor查询组
Cursor查询组
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
CursorQuery cursorQuery = new CursorQuery(); // CursorQuery |
try {
CursorConfigGroupsRsp result = apiInstance.configGroupCursorPost(cursorQuery);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupCursorPost");
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 |
|---|---|---|---|
| cursorQuery | CursorQuery | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
DeleteRsp configGroupIdDelete(id)
删除组
删除组
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
String id = "id_example"; // String | 删除组
try {
DeleteRsp result = apiInstance.configGroupIdDelete(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupIdDelete");
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 | 删除组 |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
GetConfigGroupRsp configGroupIdGet(id)
查询组
查询组通过组ID
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
String id = "id_example"; // String | 查询组通过组ID
try {
GetConfigGroupRsp result = apiInstance.configGroupIdGet(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupIdGet");
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 | 查询组通过组ID |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
PageConfigGroupsRsp configGroupPagePost(pageQuery)
Page查询组
Page查询组
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
PageQuery pageQuery = new PageQuery(); // PageQuery |
try {
PageConfigGroupsRsp result = apiInstance.configGroupPagePost(pageQuery);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupPagePost");
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 |
|---|---|---|---|
| pageQuery | PageQuery | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
CreateConfigGroupRsp configGroupPost(createConfigGroupReq)
创建组
创建组
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
CreateConfigGroupReq createConfigGroupReq = new CreateConfigGroupReq(); // CreateConfigGroupReq |
try {
CreateConfigGroupRsp result = apiInstance.configGroupPost(createConfigGroupReq);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupPost");
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 |
|---|---|---|---|
| createConfigGroupReq | CreateConfigGroupReq | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
UpdateConfigGroupRsp configGroupPut(updateConfigGroupReq)
更新组
更新组,需要全部的组信息
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
UpdateConfigGroupReq updateConfigGroupReq = new UpdateConfigGroupReq(); // UpdateConfigGroupReq |
try {
UpdateConfigGroupRsp result = apiInstance.configGroupPut(updateConfigGroupReq);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupPut");
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 |
|---|---|---|---|
| updateConfigGroupReq | UpdateConfigGroupReq | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |
RetrieveConfigGroupByNameRsp configGroupRetrieveByNamePost(name)
查询组
查询组通过Name
// Import classes:
import com.xopenapi.ApiClient;
import com.xopenapi.ApiException;
import com.xopenapi.Configuration;
import com.xopenapi.auth.*;
import com.xopenapi.models.*;
import com.xopenapi.config.ConfigGroupApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.lucfish.com/configuration/v1");
// Configure HTTP bearer authorization: ApiKey
HttpBearerAuth ApiKey = (HttpBearerAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setBearerToken("BEARER TOKEN");
ConfigGroupApi apiInstance = new ConfigGroupApi(defaultClient);
String name = "name_example"; // String | 查询组通过Name
try {
RetrieveConfigGroupByNameRsp result = apiInstance.configGroupRetrieveByNamePost(name);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ConfigGroupApi#configGroupRetrieveByNamePost");
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 |
|---|---|---|---|
| name | String | 查询组通过Name |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | successful operation | - |
| 405 | Invalid input | - |