All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
apiReleaseEventSeriesGet | GET /api/releaseEventSeries | |
apiReleaseEventSeriesIdDelete | DELETE /api/releaseEventSeries/{id} | |
apiReleaseEventSeriesIdForEditGet | GET /api/releaseEventSeries/{id}/for-edit | |
apiReleaseEventSeriesIdGet | GET /api/releaseEventSeries/{id} |
ReleaseEventSeriesForApiContractPartialFindResult apiReleaseEventSeriesGet(query, fields, start, maxResults, getTotalCount, nameMatchMode, lang)
// Import classes:
import mikufan.cx.vocadbapiclient.client.ApiClient;
import mikufan.cx.vocadbapiclient.client.ApiException;
import mikufan.cx.vocadbapiclient.client.Configuration;
import mikufan.cx.vocadbapiclient.client.models.*;
import mikufan.cx.vocadbapiclient.api.ReleaseEventSeriesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ReleaseEventSeriesApi apiInstance = new ReleaseEventSeriesApi(defaultClient);
String query = ""; // String |
ReleaseEventSeriesOptionalFields fields = ReleaseEventSeriesOptionalFields.fromValue("None"); // ReleaseEventSeriesOptionalFields |
Integer start = 0; // Integer |
Integer maxResults = 10; // Integer |
Boolean getTotalCount = false; // Boolean |
NameMatchMode nameMatchMode = NameMatchMode.fromValue("Auto"); // NameMatchMode |
ContentLanguagePreference lang = ContentLanguagePreference.fromValue("Default"); // ContentLanguagePreference |
try {
ReleaseEventSeriesForApiContractPartialFindResult result = apiInstance.apiReleaseEventSeriesGet(query, fields, start, maxResults, getTotalCount, nameMatchMode, lang);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReleaseEventSeriesApi#apiReleaseEventSeriesGet");
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 |
---|---|---|---|
query | String | [optional] [default to ] | |
fields | ReleaseEventSeriesOptionalFields | [optional] [enum: None, AdditionalNames, Description, Events, MainPicture, Names, WebLinks] | |
start | Integer | [optional] [default to 0] | |
maxResults | Integer | [optional] [default to 10] | |
getTotalCount | Boolean | [optional] [default to false] | |
nameMatchMode | NameMatchMode | [optional] [enum: Auto, Partial, StartsWith, Exact, Words] | |
lang | ContentLanguagePreference | [optional] [enum: Default, Japanese, Romaji, English] |
ReleaseEventSeriesForApiContractPartialFindResult
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
apiReleaseEventSeriesIdDelete(id, notes, hardDelete)
// Import classes:
import mikufan.cx.vocadbapiclient.client.ApiClient;
import mikufan.cx.vocadbapiclient.client.ApiException;
import mikufan.cx.vocadbapiclient.client.Configuration;
import mikufan.cx.vocadbapiclient.client.models.*;
import mikufan.cx.vocadbapiclient.api.ReleaseEventSeriesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ReleaseEventSeriesApi apiInstance = new ReleaseEventSeriesApi(defaultClient);
Integer id = 56; // Integer |
String notes = ""; // String |
Boolean hardDelete = false; // Boolean |
try {
apiInstance.apiReleaseEventSeriesIdDelete(id, notes, hardDelete);
} catch (ApiException e) {
System.err.println("Exception when calling ReleaseEventSeriesApi#apiReleaseEventSeriesIdDelete");
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 | Integer | ||
notes | String | [optional] [default to ] | |
hardDelete | Boolean | [optional] [default to false] |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
ReleaseEventSeriesForEditForApiContract apiReleaseEventSeriesIdForEditGet(id)
// Import classes:
import mikufan.cx.vocadbapiclient.client.ApiClient;
import mikufan.cx.vocadbapiclient.client.ApiException;
import mikufan.cx.vocadbapiclient.client.Configuration;
import mikufan.cx.vocadbapiclient.client.models.*;
import mikufan.cx.vocadbapiclient.api.ReleaseEventSeriesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ReleaseEventSeriesApi apiInstance = new ReleaseEventSeriesApi(defaultClient);
Integer id = 56; // Integer |
try {
ReleaseEventSeriesForEditForApiContract result = apiInstance.apiReleaseEventSeriesIdForEditGet(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReleaseEventSeriesApi#apiReleaseEventSeriesIdForEditGet");
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 | Integer |
ReleaseEventSeriesForEditForApiContract
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |
ReleaseEventSeriesForApiContract apiReleaseEventSeriesIdGet(id, fields, lang)
// Import classes:
import mikufan.cx.vocadbapiclient.client.ApiClient;
import mikufan.cx.vocadbapiclient.client.ApiException;
import mikufan.cx.vocadbapiclient.client.Configuration;
import mikufan.cx.vocadbapiclient.client.models.*;
import mikufan.cx.vocadbapiclient.api.ReleaseEventSeriesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
ReleaseEventSeriesApi apiInstance = new ReleaseEventSeriesApi(defaultClient);
Integer id = 56; // Integer |
ReleaseEventSeriesOptionalFields fields = ReleaseEventSeriesOptionalFields.fromValue("None"); // ReleaseEventSeriesOptionalFields |
ContentLanguagePreference lang = ContentLanguagePreference.fromValue("Default"); // ContentLanguagePreference |
try {
ReleaseEventSeriesForApiContract result = apiInstance.apiReleaseEventSeriesIdGet(id, fields, lang);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReleaseEventSeriesApi#apiReleaseEventSeriesIdGet");
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 | Integer | ||
fields | ReleaseEventSeriesOptionalFields | [optional] [enum: None, AdditionalNames, Description, Events, MainPicture, Names, WebLinks] | |
lang | ContentLanguagePreference | [optional] [enum: Default, Japanese, Romaji, English] |
ReleaseEventSeriesForApiContract
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
Status code | Description | Response headers |
---|---|---|
200 | Success | - |