All URIs are relative to https://localhost/api/v5
| Method | HTTP request | Description |
|---|---|---|
| createJail | POST /nucleus/jail | Create a jail |
| createKit | POST /nucleus/kit | Create a kit |
| deleteJail | DELETE /nucleus/jail/{name} | Delete a jail |
| deleteKit | DELETE /nucleus/kit/{name} | Delete a kit |
| getJail | GET /nucleus/jail/{name} | Get a jail |
| getKit | GET /nucleus/kit/{name} | Get a kit |
| listHomes | GET /nucleus/home/{player} | List homes |
| listJails | GET /nucleus/jail | List jails |
| listKits | GET /nucleus/kit | List kits |
| listMail | GET /nucleus/mail/{player} | List mail |
| listMail_0 | GET /nucleus/module | List modules |
| modifyJail | PUT /nucleus/jail/{name} | Modify a jail |
| modifyKit | PUT /nucleus/kit/{name} | Modify a kit |
NucleusNamedLocation createJail(body, details, accept, pretty)
Create a jail
Creates a new jail. Required permissions: - nucleus.jail.create
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
NucleusNamedLocation body = new NucleusNamedLocation(); // NucleusNamedLocation |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusNamedLocation result = apiInstance.createJail(body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#createJail");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | NucleusNamedLocation | [optional] | |
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusKit createKit(body, details, accept, pretty)
Create a kit
Creates a new kit. Required permissions: - nucleus.kit.create
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
NucleusKit body = new NucleusKit(); // NucleusKit |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusKit result = apiInstance.createKit(body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#createKit");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | NucleusKit | [optional] | |
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusNamedLocation deleteJail(name, details, accept, pretty)
Delete a jail
Delete an existing jail. Required permissions: - nucleus.jail.delete
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String name = "name_example"; // String |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusNamedLocation result = apiInstance.deleteJail(name, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#deleteJail");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | ||
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusKit deleteKit(name, details, accept, pretty)
Delete a kit
Delete an existing kit. Required permissions: - nucleus.kit.delete
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String name = "name_example"; // String |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusKit result = apiInstance.deleteKit(name, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#deleteKit");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | ||
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusNamedLocation getJail(name, details, accept, pretty)
Get a jail
Get detailed information about a jail. Required permissions: - nucleus.jail.one
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String name = "name_example"; // String |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusNamedLocation result = apiInstance.getJail(name, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#getJail");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | ||
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusKit getKit(name, details, accept, pretty)
Get a kit
Get detailed information about a kit. Required permissions: - nucleus.kit.one
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String name = "name_example"; // String |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusKit result = apiInstance.getKit(name, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#getKit");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | ||
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
List<NucleusNamedLocation> listHomes(player, details, accept, pretty)
List homes
Get a list of all the homes of a player. Required permissions: - nucleus.home.list
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String player = "player_example"; // String | The uuid of the player
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
List<NucleusNamedLocation> result = apiInstance.listHomes(player, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#listHomes");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| player | String | The uuid of the player | |
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
List<NucleusNamedLocation> listJails(details, accept, pretty)
List jails
Get a list of all the jails on the server. Required permissions: - nucleus.jail.list
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
List<NucleusNamedLocation> result = apiInstance.listJails(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#listJails");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
List<NucleusKit> listKits(details, accept, pretty)
List kits
Get a list of all the kits on the server. Required permissions: - nucleus.kit.list
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
List<NucleusKit> result = apiInstance.listKits(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#listKits");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
List<NucleusMailMessage> listMail(player, details, accept, pretty)
List mail
Get a list of all mail messages of a player. Required permissions: - nucleus.mail.list
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String player = "player_example"; // String | The uuid of the player
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
List<NucleusMailMessage> result = apiInstance.listMail(player, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#listMail");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| player | String | The uuid of the player | |
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
List<String> listMail_0(details, accept, pretty)
List modules
Get a list of loaded Nucleus modules. Required permissions: - nucleus.module.list
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
List<String> result = apiInstance.listMail_0(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#listMail_0");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
List<String>
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusNamedLocation modifyJail(details, accept, pretty)
Modify a jail
Modify an existing jail. Required permissions: - nucleus.jail.modify
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusNamedLocation result = apiInstance.modifyJail(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#modifyJail");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
NucleusKit modifyKit(name, body, details, accept, pretty)
Modify a kit
Modify an existing kit. Required permissions: - nucleus.kit.modify
// Import classes:
//import io.swagger.client.ApiClient;
//import io.swagger.client.ApiException;
//import io.swagger.client.Configuration;
//import io.swagger.client.auth.*;
//import io.swagger.client.api.NucleusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: ApiKeyHeader
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
ApiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: ApiKeyQuery
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
ApiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyQuery.setApiKeyPrefix("Token");
NucleusApi apiInstance = new NucleusApi();
String name = "name_example"; // String |
NucleusKit body = new NucleusKit(); // NucleusKit |
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
try {
NucleusKit result = apiInstance.modifyKit(name, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling NucleusApi#modifyKit");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | ||
| body | NucleusKit | [optional] | |
| details | Boolean | Add to include additional details, omit or false otherwise | [optional] |
| accept | String | Override the 'Accept' request header (useful for debugging your requests) | [optional] [enum: json, xml] |
| pretty | Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml