All URIs are relative to https://api.builtbybit.com
| Method | HTTP request | Description |
|---|---|---|
| getV2ResourcesCreatorBundles | GET /v2/resources/creator/bundles | Fetch a list of your bundles |
| getV2ResourcesCreatorBundlesEntries | GET /v2/resources/creator/bundles/entries | Fetch a list of your bundle entries |
GetV2ResourcesCreatorBundles200Response getV2ResourcesCreatorBundles(bundleIds)
Fetch a list of your bundles
// Import classes:
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.auth.*;
import org.openapitools.client.models.*;
import org.openapitools.client.api.ResourcesCreatorBundlesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.builtbybit.com");
// Configure API key authorization: token
ApiKeyAuth token = (ApiKeyAuth) defaultClient.getAuthentication("token");
token.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.setApiKeyPrefix("Token");
ResourcesCreatorBundlesApi apiInstance = new ResourcesCreatorBundlesApi(defaultClient);
List bundleIds = new List(); // List | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
try {
GetV2ResourcesCreatorBundles200Response result = apiInstance.getV2ResourcesCreatorBundles(bundleIds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ResourcesCreatorBundlesApi#getV2ResourcesCreatorBundles");
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 |
|---|---|---|---|
| bundleIds | List | A comma-separated list of bundle IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorBundles200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
GetV2ResourcesCreatorBundlesEntries200Response getV2ResourcesCreatorBundlesEntries(bundleIds)
Fetch a list of your bundle entries
// Import classes:
import org.openapitools.client.ApiClient;
import org.openapitools.client.ApiException;
import org.openapitools.client.Configuration;
import org.openapitools.client.auth.*;
import org.openapitools.client.models.*;
import org.openapitools.client.api.ResourcesCreatorBundlesApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.builtbybit.com");
// Configure API key authorization: token
ApiKeyAuth token = (ApiKeyAuth) defaultClient.getAuthentication("token");
token.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.setApiKeyPrefix("Token");
ResourcesCreatorBundlesApi apiInstance = new ResourcesCreatorBundlesApi(defaultClient);
List bundleIds = new List(); // List | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
try {
GetV2ResourcesCreatorBundlesEntries200Response result = apiInstance.getV2ResourcesCreatorBundlesEntries(bundleIds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ResourcesCreatorBundlesApi#getV2ResourcesCreatorBundlesEntries");
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 |
|---|---|---|---|
| bundleIds | List | A comma-separated list of bundle IDs to filter on. No filter is applied if empty. | [optional] |
GetV2ResourcesCreatorBundlesEntries200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |