All URIs are relative to https://api.dofusdu.de
Method | HTTP request | Description |
---|---|---|
getAllMountsList | GET /{game}/v1/{language}/mounts/all | List All Mounts |
getMountsList | GET /{game}/v1/{language}/mounts | List Mounts |
getMountsSearch | GET /{game}/v1/{language}/mounts/search | Search Mounts |
getMountsSingle | GET /{game}/v1/{language}/mounts/{ankama_id} | Single Mounts |
ListMounts getAllMountsList(language, game, filterFamilyName, acceptEncoding, filterFamilyId)
List All Mounts
Retrieve all mounts with one request. This endpoint is just an alias for the a list with disabled pagination (page[size]=-1) and all fields[type] set. If you want everything unfiltered, delete the other query parameters. Be careful with testing or (god forbid) using /all in your browser, the returned json is huge and will slow down the browser! Tip: set the HTTP Header 'Accept-Encoding: gzip' for saving bandwidth. You will need to uncompress it on your end. Example with cURL: ``` curl -sH 'Accept-Encoding: gzip' <api-endpoint> | gunzip - ```
// Import classes:
import com.dofusdude.client.ApiClient;
import com.dofusdude.client.ApiException;
import com.dofusdude.client.Configuration;
import com.dofusdude.client.models.*;
import com.dofusdude.client.api.MountsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.dofusdu.de");
MountsApi apiInstance = new MountsApi(defaultClient);
String language = "en"; // String | a valid language code
String game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
String filterFamilyName = "Dragoturkey"; // String | only results with the translated family name
String acceptEncoding = "gzip"; // String | optional compression for saving bandwidth
Integer filterFamilyId = 56; // Integer | only results with the unique family id
try {
ListMounts result = apiInstance.getAllMountsList(language, game, filterFamilyName, acceptEncoding, filterFamilyId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MountsApi#getAllMountsList");
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 |
---|---|---|---|
language | String | a valid language code | [enum: en, fr, de, es, pt] |
game | String | game main 'dofus3' or beta channel 'dofus3beta' | [enum: dofus3, dofus3beta] |
filterFamilyName | String | only results with the translated family name | [optional] |
acceptEncoding | String | optional compression for saving bandwidth | [optional] [enum: gzip] |
filterFamilyId | Integer | only results with the unique family id | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - | |
400 | - | |
404 | - |
ListMounts getMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId)
List Mounts
Retrieve a list of mounts.
// Import classes:
import com.dofusdude.client.ApiClient;
import com.dofusdude.client.ApiException;
import com.dofusdude.client.Configuration;
import com.dofusdude.client.models.*;
import com.dofusdude.client.api.MountsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.dofusdu.de");
MountsApi apiInstance = new MountsApi(defaultClient);
String language = "en"; // String | a valid language code
String game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
String filterFamilyName = "Dragoturkey"; // String | only results with the translated family name
Integer pageSize = 10; // Integer | size of the results from the list. -1 disables pagination and gets all in one response.
Integer pageNumber = 1; // Integer | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16.
Set<String> fieldsMount = Arrays.asList(); // Set<String> | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed.
Integer filterFamilyId = 56; // Integer | only results with the unique family id
try {
ListMounts result = apiInstance.getMountsList(language, game, filterFamilyName, pageSize, pageNumber, fieldsMount, filterFamilyId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MountsApi#getMountsList");
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 |
---|---|---|---|
language | String | a valid language code | [enum: en, fr, de, es, pt] |
game | String | game main 'dofus3' or beta channel 'dofus3beta' | [enum: dofus3, dofus3beta] |
filterFamilyName | String | only results with the translated family name | [optional] |
pageSize | Integer | size of the results from the list. -1 disables pagination and gets all in one response. | [optional] |
pageNumber | Integer | page number based on the current page[size]. So you could get page 1 with 8 entrys and page 2 would have entries 8 to 16. | [optional] |
fieldsMount | Set<String> | adds fields from their detail endpoint to the item list entries. Multiple comma separated values allowed. | [optional] [enum: effects] |
filterFamilyId | Integer | only results with the unique family id | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - | |
400 | - | |
404 | - |
List<Mount> getMountsSearch(language, game, query, filterFamilyName, limit, filterFamilyId)
Search Mounts
Search in all names and descriptions of mounts with a query.
// Import classes:
import com.dofusdude.client.ApiClient;
import com.dofusdude.client.ApiException;
import com.dofusdude.client.Configuration;
import com.dofusdude.client.models.*;
import com.dofusdude.client.api.MountsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.dofusdu.de");
MountsApi apiInstance = new MountsApi(defaultClient);
String language = "en"; // String | a valid language code
String game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
String query = "Dorée"; // String | case sensitive search query
String filterFamilyName = "Dragodinde"; // String | only results with the translated family name
Integer limit = 8; // Integer | maximum number of returned results
Integer filterFamilyId = 56; // Integer | only results with the unique family id
try {
List<Mount> result = apiInstance.getMountsSearch(language, game, query, filterFamilyName, limit, filterFamilyId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MountsApi#getMountsSearch");
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 |
---|---|---|---|
language | String | a valid language code | [enum: en, fr, de, es, pt] |
game | String | game main 'dofus3' or beta channel 'dofus3beta' | [enum: dofus3, dofus3beta] |
query | String | case sensitive search query | |
filterFamilyName | String | only results with the translated family name | [optional] |
limit | Integer | maximum number of returned results | [optional] [default to 8] |
filterFamilyId | Integer | only results with the unique family id | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - | |
400 | - | |
404 | - |
Mount getMountsSingle(language, ankamaId, game)
Single Mounts
Retrieve a specific mount with id.
// Import classes:
import com.dofusdude.client.ApiClient;
import com.dofusdude.client.ApiException;
import com.dofusdude.client.Configuration;
import com.dofusdude.client.models.*;
import com.dofusdude.client.api.MountsApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.dofusdu.de");
MountsApi apiInstance = new MountsApi(defaultClient);
String language = "en"; // String | a valid language code
Integer ankamaId = 180; // Integer | identifier
String game = "dofus3"; // String | game main 'dofus3' or beta channel 'dofus3beta'
try {
Mount result = apiInstance.getMountsSingle(language, ankamaId, game);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling MountsApi#getMountsSingle");
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 |
---|---|---|---|
language | String | a valid language code | [enum: en, fr, de, es, pt] |
ankamaId | Integer | identifier | |
game | String | game main 'dofus3' or beta channel 'dofus3beta' | [enum: dofus3, dofus3beta] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | - | |
400 | - | |
404 | - |