Skip to content

Commit 5d422c1

Browse files
author
Marco (Valandur)
committed
feat(webapi): Update to Web-API v5.0.10
1 parent 33eef10 commit 5d422c1

File tree

566 files changed

+71300
-22720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

566 files changed

+71300
-22720
lines changed

.swagger-codegen/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.3
1+
2.3.1

README.md

Lines changed: 233 additions & 165 deletions
Large diffs are not rendered by default.

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ dependencies {
9898
compile 'com.squareup.okhttp:okhttp:2.7.5'
9999
compile 'com.squareup.okhttp:logging-interceptor:2.7.5'
100100
compile 'com.google.code.gson:gson:2.8.1'
101-
compile 'joda-time:joda-time:2.9.9'
101+
compile 'io.gsonfire:gson-fire:1.8.0'
102+
compile 'org.threeten:threetenbp:1.3.5'
102103
testCompile 'junit:junit:4.12'
103104
}

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ lazy val root = (project in file(".")).
1313
"com.squareup.okhttp" % "okhttp" % "2.7.5",
1414
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5",
1515
"com.google.code.gson" % "gson" % "2.8.1",
16-
"joda-time" % "joda-time" % "2.9.9" % "compile",
16+
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
17+
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
1718
"junit" % "junit" % "4.12" % "test",
1819
"com.novocode" % "junit-interface" % "0.10" % "test"
1920
)

docs/AcceptsItems.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# AcceptsItems
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**operator** | [**OperatorEnum**](#OperatorEnum) | | [optional]
8+
**key** | **String** | | [optional]
9+
**value** | [**List<CatalogType>**](CatalogType.md) | | [optional]
10+
11+
12+
<a name="OperatorEnum"></a>
13+
## Enum: OperatorEnum
14+
Name | Value
15+
---- | -----
16+
DELEGATE | &quot;DELEGATE&quot;
17+
EQUAL | &quot;EQUAL&quot;
18+
NOTEQUAL | &quot;NOTEQUAL&quot;
19+
GREATER | &quot;GREATER&quot;
20+
GEQUAL | &quot;GEQUAL&quot;
21+
LESS | &quot;LESS&quot;
22+
LEQUAL | &quot;LEQUAL&quot;
23+
24+
25+

docs/Account.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# Account
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**balances** | [**Map&lt;String, BigDecimal&gt;**](BigDecimal.md) | | [optional]
8+
**displayName** | **String** | | [optional]
9+
**friendlyId** | **String** | | [optional]
10+
**id** | **String** | | [optional]
11+
12+
13+

docs/ActiveTimeApi.md

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
# ActiveTimeApi
2+
3+
All URIs are relative to *https://localhost/api/v5*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getServerReport**](ActiveTimeApi.md#getServerReport) | **GET** /active-time | Server report
8+
[**getUserReport**](ActiveTimeApi.md#getUserReport) | **GET** /active-time/user/{uuid} | User report
9+
10+
11+
<a name="getServerReport"></a>
12+
# **getServerReport**
13+
> ServerReport getServerReport(details, accept, pretty)
14+
15+
Server report
16+
17+
Generates a report for the whole server from week ago until now **Required permissions:** - **active-time.report.server**
18+
19+
### Example
20+
```java
21+
// Import classes:
22+
//import io.swagger.client.ApiClient;
23+
//import io.swagger.client.ApiException;
24+
//import io.swagger.client.Configuration;
25+
//import io.swagger.client.auth.*;
26+
//import io.swagger.client.api.ActiveTimeApi;
27+
28+
ApiClient defaultClient = Configuration.getDefaultApiClient();
29+
30+
// Configure API key authorization: ApiKeyHeader
31+
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
32+
ApiKeyHeader.setApiKey("YOUR API KEY");
33+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
34+
//ApiKeyHeader.setApiKeyPrefix("Token");
35+
36+
// Configure API key authorization: ApiKeyQuery
37+
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
38+
ApiKeyQuery.setApiKey("YOUR API KEY");
39+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
40+
//ApiKeyQuery.setApiKeyPrefix("Token");
41+
42+
ActiveTimeApi apiInstance = new ActiveTimeApi();
43+
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
44+
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
45+
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
46+
try {
47+
ServerReport result = apiInstance.getServerReport(details, accept, pretty);
48+
System.out.println(result);
49+
} catch (ApiException e) {
50+
System.err.println("Exception when calling ActiveTimeApi#getServerReport");
51+
e.printStackTrace();
52+
}
53+
```
54+
55+
### Parameters
56+
57+
Name | Type | Description | Notes
58+
------------- | ------------- | ------------- | -------------
59+
**details** | **Boolean**| Add to include additional details, omit or false otherwise | [optional]
60+
**accept** | **String**| Override the &#39;Accept&#39; request header (useful for debugging your requests) | [optional] [enum: json, xml]
61+
**pretty** | **Boolean**| Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional]
62+
63+
### Return type
64+
65+
[**ServerReport**](ServerReport.md)
66+
67+
### Authorization
68+
69+
[ApiKeyHeader](../README.md#ApiKeyHeader), [ApiKeyQuery](../README.md#ApiKeyQuery)
70+
71+
### HTTP request headers
72+
73+
- **Content-Type**: application/json, application/xml
74+
- **Accept**: application/json, application/xml
75+
76+
<a name="getUserReport"></a>
77+
# **getUserReport**
78+
> UserReport getUserReport(uuid, details, accept, pretty)
79+
80+
User report
81+
82+
Generates a report for a specific user from a week ago until now **Required permissions:** - **active-time.report.user**
83+
84+
### Example
85+
```java
86+
// Import classes:
87+
//import io.swagger.client.ApiClient;
88+
//import io.swagger.client.ApiException;
89+
//import io.swagger.client.Configuration;
90+
//import io.swagger.client.auth.*;
91+
//import io.swagger.client.api.ActiveTimeApi;
92+
93+
ApiClient defaultClient = Configuration.getDefaultApiClient();
94+
95+
// Configure API key authorization: ApiKeyHeader
96+
ApiKeyAuth ApiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyHeader");
97+
ApiKeyHeader.setApiKey("YOUR API KEY");
98+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
99+
//ApiKeyHeader.setApiKeyPrefix("Token");
100+
101+
// Configure API key authorization: ApiKeyQuery
102+
ApiKeyAuth ApiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyQuery");
103+
ApiKeyQuery.setApiKey("YOUR API KEY");
104+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
105+
//ApiKeyQuery.setApiKeyPrefix("Token");
106+
107+
ActiveTimeApi apiInstance = new ActiveTimeApi();
108+
String uuid = "uuid_example"; // String |
109+
Boolean details = true; // Boolean | Add to include additional details, omit or false otherwise
110+
String accept = "accept_example"; // String | Override the 'Accept' request header (useful for debugging your requests)
111+
Boolean pretty = true; // Boolean | Add to make the Web-API pretty print the response (useful for debugging your requests)
112+
try {
113+
UserReport result = apiInstance.getUserReport(uuid, details, accept, pretty);
114+
System.out.println(result);
115+
} catch (ApiException e) {
116+
System.err.println("Exception when calling ActiveTimeApi#getUserReport");
117+
e.printStackTrace();
118+
}
119+
```
120+
121+
### Parameters
122+
123+
Name | Type | Description | Notes
124+
------------- | ------------- | ------------- | -------------
125+
**uuid** | **String**| |
126+
**details** | **Boolean**| Add to include additional details, omit or false otherwise | [optional]
127+
**accept** | **String**| Override the &#39;Accept&#39; request header (useful for debugging your requests) | [optional] [enum: json, xml]
128+
**pretty** | **Boolean**| Add to make the Web-API pretty print the response (useful for debugging your requests) | [optional]
129+
130+
### Return type
131+
132+
[**UserReport**](UserReport.md)
133+
134+
### Authorization
135+
136+
[ApiKeyHeader](../README.md#ApiKeyHeader), [ApiKeyQuery](../README.md#ApiKeyQuery)
137+
138+
### HTTP request headers
139+
140+
- **Content-Type**: application/json, application/xml
141+
- **Accept**: application/json, application/xml
142+

docs/Advancement.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
2+
# Advancement
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **String** | The unique id of the advancement |
8+
**link** | **String** | The API link that can be used to obtain more information about this object |
9+
**name** | **String** | The name of the advancement |
10+
**title** | **String** | The title of the advancement |
11+
**announceToChat** | **Boolean** | True if the achieving of this advancement is announced in chat, false otherwise | [optional]
12+
**description** | **String** | The description of the advancement | [optional]
13+
**hidden** | **Boolean** | True if this is a hidden advancement | [optional]
14+
**parent** | [**Advancement**](Advancement.md) | The parent advancement, which must be unlocked prior to this advancement | [optional]
15+
**showToast** | **Boolean** | True if achieving this advancement shows the player a toast message, false otherwise | [optional]
16+
**tree** | [**CatalogTypeAdvancementTree**](CatalogTypeAdvancementTree.md) | The advancement tree that this advancement belongs to | [optional]
17+
18+
19+

docs/AgeableData.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# AgeableData
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**adult** | **Boolean** | True if this entity is an adult, false otherwise |
8+
**age** | **Integer** | The age of the entity |
9+
10+
11+

docs/ArmorSlotType.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# ArmorSlotType
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**operator** | [**OperatorEnum**](#OperatorEnum) | | [optional]
8+
**key** | **String** | | [optional]
9+
**value** | [**CatalogType**](CatalogType.md) | | [optional]
10+
11+
12+
<a name="OperatorEnum"></a>
13+
## Enum: OperatorEnum
14+
Name | Value
15+
---- | -----
16+
DELEGATE | &quot;DELEGATE&quot;
17+
EQUAL | &quot;EQUAL&quot;
18+
NOTEQUAL | &quot;NOTEQUAL&quot;
19+
GREATER | &quot;GREATER&quot;
20+
GEQUAL | &quot;GEQUAL&quot;
21+
LESS | &quot;LESS&quot;
22+
LEQUAL | &quot;LEQUAL&quot;
23+
24+
25+

0 commit comments

Comments
 (0)