Skip to content

Latest commit

 

History

History
286 lines (203 loc) · 9.85 KB

ReleaseEventSeriesApi.md

File metadata and controls

286 lines (203 loc) · 9.85 KB

ReleaseEventSeriesApi

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}

apiReleaseEventSeriesGet

ReleaseEventSeriesForApiContractPartialFindResult apiReleaseEventSeriesGet(query, fields, start, maxResults, getTotalCount, nameMatchMode, lang)

Example

// 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();
        }
    }
}

Parameters

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]

Return type

ReleaseEventSeriesForApiContractPartialFindResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

HTTP response details

Status code Description Response headers
200 Success -

apiReleaseEventSeriesIdDelete

apiReleaseEventSeriesIdDelete(id, notes, hardDelete)

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer
notes String [optional] [default to ]
hardDelete Boolean [optional] [default to false]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 Success -

apiReleaseEventSeriesIdForEditGet

ReleaseEventSeriesForEditForApiContract apiReleaseEventSeriesIdForEditGet(id)

Example

// 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();
        }
    }
}

Parameters

Name Type Description Notes
id Integer

Return type

ReleaseEventSeriesForEditForApiContract

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

HTTP response details

Status code Description Response headers
200 Success -

apiReleaseEventSeriesIdGet

ReleaseEventSeriesForApiContract apiReleaseEventSeriesIdGet(id, fields, lang)

Example

// 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();
        }
    }
}

Parameters

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]

Return type

ReleaseEventSeriesForApiContract

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json

HTTP response details

Status code Description Response headers
200 Success -