All URIs are relative to https://localhost/api/v5
Method | HTTP request | Description |
---|---|---|
addShopItem | POST /vshop/shop/{id}/item | Add Shop Item |
addShopItem_0 | POST /vshop/shop/{id}/item | Add Shop Item |
createShop | POST /vshop/shop | Create Shops |
createShop_0 | POST /vshop/shop | Create Shops |
deleteShop | DELETE /vshop/shop/{id} | Delete a Shop |
deleteShopItem | DELETE /vshop/shop/{id}/item/{item} | Removes a Shop Item |
deleteShopItem_0 | DELETE /vshop/shop/{id}/item/{item} | Removes a Shop Item |
deleteShop_0 | DELETE /vshop/shop/{id} | Delete a Shop |
getShop | GET /vshop/shop/{id} | Get a Shop |
getShopItem | GET /vshop/shop/{id}/item/{item} | Get a Shop |
getShopItem_0 | GET /vshop/shop/{id}/item/{item} | Get a Shop |
getShop_0 | GET /vshop/shop/{id} | Get a Shop |
listShopItems | GET /vshop/shop/{id}/item | List Shop Items |
listShopItems_0 | GET /vshop/shop/{id}/item | List Shop Items |
listShops | GET /vshop/shop | List Shops |
listShops_0 | GET /vshop/shop | List Shops |
updateShop | PUT /vshop/shop/{id} | Change Shop |
updateShopItem | PUT /vshop/shop/{id}/item/{item} | Change Shop Item |
updateShopItem_0 | PUT /vshop/shop/{id}/item/{item} | Change Shop Item |
updateShop_0 | PUT /vshop/shop/{id} | Change Shop |
VillagerShopsStockItem addShopItem(id, body, details, accept, pretty)
Add Shop Item
Add a item to the shops listing Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
VillagerShopsStockItem body = new VillagerShopsStockItem(); // VillagerShopsStockItem |
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 {
VillagerShopsStockItem result = apiInstance.addShopItem(id, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#addShopItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
body | VillagerShopsStockItem | [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
VillagerShopsStockItem addShopItem_0(id, body, details, accept, pretty)
Add Shop Item
Add a item to the shops listing Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
VillagerShopsStockItem body = new VillagerShopsStockItem(); // VillagerShopsStockItem |
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 {
VillagerShopsStockItem result = apiInstance.addShopItem_0(id, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#addShopItem_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
body | VillagerShopsStockItem | [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
VillagerShopsShop createShop(body, details, accept, pretty)
Create Shops
Spawn a new shop with base values; Some values are only set by update Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
VillagerShopsShop body = new VillagerShopsShop(); // VillagerShopsShop |
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 {
VillagerShopsShop result = apiInstance.createShop(body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#createShop");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | VillagerShopsShop | [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
VillagerShopsShop createShop_0(body, details, accept, pretty)
Create Shops
Spawn a new shop with base values; Some values are only set by update Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
VillagerShopsShop body = new VillagerShopsShop(); // VillagerShopsShop |
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 {
VillagerShopsShop result = apiInstance.createShop_0(body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#createShop_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | VillagerShopsShop | [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
VillagerShopsShop deleteShop(id, details, accept, pretty)
Delete a Shop
Permanently delete a shop from the server Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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 {
VillagerShopsShop result = apiInstance.deleteShop(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#deleteShop");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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
VillagerShopsShop deleteShopItem(id, item, details, accept, pretty)
Removes a Shop Item
Remove an item from this shop Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
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 {
VillagerShopsShop result = apiInstance.deleteShopItem(id, item, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#deleteShopItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
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
VillagerShopsShop deleteShopItem_0(id, item, details, accept, pretty)
Removes a Shop Item
Remove an item from this shop Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
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 {
VillagerShopsShop result = apiInstance.deleteShopItem_0(id, item, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#deleteShopItem_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
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
VillagerShopsShop deleteShop_0(id, details, accept, pretty)
Delete a Shop
Permanently delete a shop from the server Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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 {
VillagerShopsShop result = apiInstance.deleteShop_0(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#deleteShop_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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
VillagerShopsShop getShop(id, details, accept, pretty)
Get a Shop
Get detailed information about a shop Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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 {
VillagerShopsShop result = apiInstance.getShop(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#getShop");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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
VillagerShopsStockItem getShopItem(id, item, details, accept, pretty)
Get a Shop
Get detailed information about a shop item Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
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 {
VillagerShopsStockItem result = apiInstance.getShopItem(id, item, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#getShopItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
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
VillagerShopsStockItem getShopItem_0(id, item, details, accept, pretty)
Get a Shop
Get detailed information about a shop item Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
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 {
VillagerShopsStockItem result = apiInstance.getShopItem_0(id, item, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#getShopItem_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
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
VillagerShopsShop getShop_0(id, details, accept, pretty)
Get a Shop
Get detailed information about a shop Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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 {
VillagerShopsShop result = apiInstance.getShop_0(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#getShop_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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<VillagerShopsStockItem> listShopItems(id, details, accept, pretty)
List Shop Items
Return a list of all shops items Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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<VillagerShopsStockItem> result = apiInstance.listShopItems(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#listShopItems");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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<VillagerShopsStockItem> listShopItems_0(id, details, accept, pretty)
List Shop Items
Return a list of all shops items Required permissions: - vshop.vshop.item.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
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<VillagerShopsStockItem> result = apiInstance.listShopItems_0(id, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#listShopItems_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
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<VillagerShopsShop> listShops(details, accept, pretty)
List Shops
Return a list of all shops Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
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<VillagerShopsShop> result = apiInstance.listShops(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#listShops");
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<VillagerShopsShop> listShops_0(details, accept, pretty)
List Shops
Return a list of all shops Required permissions: - vshop.vshop.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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
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<VillagerShopsShop> result = apiInstance.listShops_0(details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#listShops_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] |
- Content-Type: application/json, application/xml
- Accept: application/json, application/xml
VillagerShopsShop updateShop(id, body, details, accept, pretty)
Change Shop
Modifies values for this shop, but items Required permissions: - vshop.vshop.edit
// 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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
VillagerShopsShop body = new VillagerShopsShop(); // VillagerShopsShop |
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 {
VillagerShopsShop result = apiInstance.updateShop(id, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#updateShop");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
body | VillagerShopsShop | [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
VillagerShopsStockItem updateShopItem(id, item, body, details, accept, pretty)
Change Shop Item
Modifies values for this shop item Required permissions: - vshop.vshop.item.edit
// 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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
VillagerShopsStockItem body = new VillagerShopsStockItem(); // VillagerShopsStockItem |
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 {
VillagerShopsStockItem result = apiInstance.updateShopItem(id, item, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#updateShopItem");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
body | VillagerShopsStockItem | [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
VillagerShopsStockItem updateShopItem_0(id, item, body, details, accept, pretty)
Change Shop Item
Modifies values for this shop item Required permissions: - vshop.vshop.item.edit
// 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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
Integer item = 56; // Integer |
VillagerShopsStockItem body = new VillagerShopsStockItem(); // VillagerShopsStockItem |
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 {
VillagerShopsStockItem result = apiInstance.updateShopItem_0(id, item, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#updateShopItem_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
item | Integer | ||
body | VillagerShopsStockItem | [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
VillagerShopsShop updateShop_0(id, body, details, accept, pretty)
Change Shop
Modifies values for this shop, but items Required permissions: - vshop.vshop.edit
// 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.VillagerShopsApi;
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");
VillagerShopsApi apiInstance = new VillagerShopsApi();
UUID id = new UUID(); // UUID |
VillagerShopsShop body = new VillagerShopsShop(); // VillagerShopsShop |
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 {
VillagerShopsShop result = apiInstance.updateShop_0(id, body, details, accept, pretty);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling VillagerShopsApi#updateShop_0");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | ||
body | VillagerShopsShop | [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