Skip to content

Commit 8523b87

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 54f3686 commit 8523b87

148 files changed

Lines changed: 1859 additions & 132 deletions

File tree

Some content is hidden

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

‎README.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
BuiltByBit API
44
- API version: v2
5-
- Build date: 2026-07-31T13:16:52.665929Z[Etc/UTC]
5+
- Build date: 2026-08-01T20:29:13.832214Z[Etc/UTC]
66

77
All operations not tagged 'free' require an active [Ultimate](https://builtbybit.com/account/ultimate) subscription or invite-only permissions.
88

@@ -141,6 +141,8 @@ Class | Method | HTTP request | Description
141141
*ResourcesCreatorApi* | [**getV2ResourcesCreatorStores**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorStores) | **GET** /v2/resources/creator/stores | Fetch a list of your stores
142142
*ResourcesCreatorApi* | [**getV2ResourcesCreatorUpdates**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorUpdates) | **GET** /v2/resources/creator/updates | Fetch a list of your resource's updates
143143
*ResourcesCreatorApi* | [**getV2ResourcesCreatorVersions**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorVersions) | **GET** /v2/resources/creator/versions | Fetch a list of your resources' versions
144+
*ResourcesCreatorApi* | [**postV2ResourcesCreatorAddonsUpdate**](docs/ResourcesCreatorApi.md#postV2ResourcesCreatorAddonsUpdate) | **POST** /v2/resources/creator/addons/update | Post an addon update
145+
*ResourcesCreatorApi* | [**postV2ResourcesCreatorApiAssetsUpdate**](docs/ResourcesCreatorApi.md#postV2ResourcesCreatorApiAssetsUpdate) | **POST** /v2/resources/creator/api-assets/update | Post an API asset update
144146
*ResourcesCreatorApi* | [**postV2ResourcesCreatorUpdate**](docs/ResourcesCreatorApi.md#postV2ResourcesCreatorUpdate) | **POST** /v2/resources/creator/update | Post a resource update
145147
*ResourcesCreatorBatchApi* | [**getV2ResourcesCreatorBatch**](docs/ResourcesCreatorBatchApi.md#getV2ResourcesCreatorBatch) | **GET** /v2/resources/creator/batch | Fetch a list of your batches edits
146148
*ResourcesCreatorBatchApi* | [**postV2ResourcesCreatorBatch**](docs/ResourcesCreatorBatchApi.md#postV2ResourcesCreatorBatch) | **POST** /v2/resources/creator/batch | Submit a new batch edit
@@ -259,6 +261,10 @@ Class | Method | HTTP request | Description
259261
- [PostV2DeploymentsUpgradeRequest](docs/PostV2DeploymentsUpgradeRequest.md)
260262
- [PostV2EventsComplete200Response](docs/PostV2EventsComplete200Response.md)
261263
- [PostV2EventsCompleteRequest](docs/PostV2EventsCompleteRequest.md)
264+
- [PostV2ResourcesCreatorAddonsUpdateRequest](docs/PostV2ResourcesCreatorAddonsUpdateRequest.md)
265+
- [PostV2ResourcesCreatorAddonsUpdateRequestFile](docs/PostV2ResourcesCreatorAddonsUpdateRequestFile.md)
266+
- [PostV2ResourcesCreatorApiAssetsUpdateRequest](docs/PostV2ResourcesCreatorApiAssetsUpdateRequest.md)
267+
- [PostV2ResourcesCreatorApiAssetsUpdateRequestFile](docs/PostV2ResourcesCreatorApiAssetsUpdateRequestFile.md)
262268
- [PostV2ResourcesCreatorBatch200Response](docs/PostV2ResourcesCreatorBatch200Response.md)
263269
- [PostV2ResourcesCreatorBatch200ResponseData](docs/PostV2ResourcesCreatorBatch200ResponseData.md)
264270
- [PostV2ResourcesCreatorBatchRequest](docs/PostV2ResourcesCreatorBatchRequest.md)

‎api/openapi.yaml‎

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,6 +1391,50 @@ paths:
13911391
x-stoplight:
13921392
id: 7adv392i58h8y
13931393
x-accepts: application/json
1394+
/v2/resources/creator/addons/update:
1395+
post:
1396+
operationId: post-v2-resources-creator-addons-update
1397+
requestBody:
1398+
content:
1399+
application/json:
1400+
schema:
1401+
$ref: '#/components/schemas/post_v2_resources_creator_addons_update_request'
1402+
description: |-
1403+
Creates a new version for the addon. The uploaded file must be encoded using base64 as part of the JSON request body shown below.
1404+
1405+
The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses.
1406+
responses: {}
1407+
security:
1408+
- token: []
1409+
summary: Post an addon update
1410+
tags:
1411+
- resources/creator
1412+
x-stoplight:
1413+
id: v0ebb2r8uile9
1414+
x-content-type: application/json
1415+
x-accepts: application/json
1416+
/v2/resources/creator/api-assets/update:
1417+
post:
1418+
operationId: post-v2-resources-creator-api-assets-update
1419+
requestBody:
1420+
content:
1421+
application/json:
1422+
schema:
1423+
$ref: '#/components/schemas/post_v2_resources_creator_api_assets_update_request'
1424+
description: |-
1425+
Creates a new version for the API asset. The uploaded file must be encoded using base64 as part of the JSON request body shown below.
1426+
1427+
The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses.
1428+
responses: {}
1429+
security:
1430+
- token: []
1431+
summary: Post an API asset update
1432+
tags:
1433+
- resources/creator
1434+
x-stoplight:
1435+
id: a3oq9ufnxt653
1436+
x-content-type: application/json
1437+
x-accepts: application/json
13941438
components:
13951439
examples: {}
13961440
parameters:
@@ -12905,6 +12949,71 @@ components:
1290512949
data:
1290612950
$ref: '#/components/schemas/get_v2_resources_embed_download_status_200_response_data'
1290712951
type: object
12952+
post_v2_resources_creator_addons_update_request_file:
12953+
properties:
12954+
name:
12955+
description: The name of the file (including extension).
12956+
type: string
12957+
x-stoplight:
12958+
id: 0donv8fmvnmu3
12959+
data:
12960+
description: The base64 encoded file data.
12961+
type: string
12962+
x-stoplight:
12963+
id: 7in4dkx1ihv4s
12964+
required:
12965+
- data
12966+
- name
12967+
type: object
12968+
x-stoplight:
12969+
id: bj27na9uv6o9u
12970+
post_v2_resources_creator_addons_update_request:
12971+
properties:
12972+
addon_id:
12973+
type: integer
12974+
x-stoplight:
12975+
id: ty78bvr9jcoa3
12976+
file:
12977+
$ref: '#/components/schemas/post_v2_resources_creator_addons_update_request_file'
12978+
version_name:
12979+
type: string
12980+
x-stoplight:
12981+
id: 1arsrqb9oz08w
12982+
required:
12983+
- addon_id
12984+
- file
12985+
- version_name
12986+
type: object
12987+
post_v2_resources_creator_api_assets_update_request_file:
12988+
properties:
12989+
name:
12990+
description: The name of the file (including extension).
12991+
type: string
12992+
x-stoplight:
12993+
id: aw5csx3cc365l
12994+
data:
12995+
description: The base64 encoded file data.
12996+
type: string
12997+
x-stoplight:
12998+
id: r5j4wleek3dsm
12999+
required:
13000+
- data
13001+
- name
13002+
type: object
13003+
x-stoplight:
13004+
id: 965s1vvntdbr9
13005+
post_v2_resources_creator_api_assets_update_request:
13006+
properties:
13007+
api_asset_id:
13008+
type: string
13009+
x-stoplight:
13010+
id: usepopbra506f
13011+
file:
13012+
$ref: '#/components/schemas/post_v2_resources_creator_api_assets_update_request_file'
13013+
required:
13014+
- api_asset_id
13015+
- file
13016+
type: object
1290813017
Analytic_filters_value:
1290913018
example:
1291013019
type: type
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
# PostV2ResourcesCreatorAddonsUpdateRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**addonId** | **Integer** | | |
11+
|**_file** | [**PostV2ResourcesCreatorAddonsUpdateRequestFile**](PostV2ResourcesCreatorAddonsUpdateRequestFile.md) | | |
12+
|**versionName** | **String** | | |
13+
14+
15+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# PostV2ResourcesCreatorAddonsUpdateRequestFile
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**name** | **String** | The name of the file (including extension). | |
11+
|**data** | **String** | The base64 encoded file data. | |
12+
13+
14+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# PostV2ResourcesCreatorApiAssetsUpdateRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**apiAssetId** | **String** | | |
11+
|**_file** | [**PostV2ResourcesCreatorApiAssetsUpdateRequestFile**](PostV2ResourcesCreatorApiAssetsUpdateRequestFile.md) | | |
12+
13+
14+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# PostV2ResourcesCreatorApiAssetsUpdateRequestFile
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**name** | **String** | The name of the file (including extension). | |
11+
|**data** | **String** | The base64 encoded file data. | |
12+
13+
14+

‎docs/ResourcesCreatorApi.md‎

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ All URIs are relative to *https://api.builtbybit.com*
1212
| [**getV2ResourcesCreatorStores**](ResourcesCreatorApi.md#getV2ResourcesCreatorStores) | **GET** /v2/resources/creator/stores | Fetch a list of your stores |
1313
| [**getV2ResourcesCreatorUpdates**](ResourcesCreatorApi.md#getV2ResourcesCreatorUpdates) | **GET** /v2/resources/creator/updates | Fetch a list of your resource's updates |
1414
| [**getV2ResourcesCreatorVersions**](ResourcesCreatorApi.md#getV2ResourcesCreatorVersions) | **GET** /v2/resources/creator/versions | Fetch a list of your resources' versions |
15+
| [**postV2ResourcesCreatorAddonsUpdate**](ResourcesCreatorApi.md#postV2ResourcesCreatorAddonsUpdate) | **POST** /v2/resources/creator/addons/update | Post an addon update |
16+
| [**postV2ResourcesCreatorApiAssetsUpdate**](ResourcesCreatorApi.md#postV2ResourcesCreatorApiAssetsUpdate) | **POST** /v2/resources/creator/api-assets/update | Post an API asset update |
1517
| [**postV2ResourcesCreatorUpdate**](ResourcesCreatorApi.md#postV2ResourcesCreatorUpdate) | **POST** /v2/resources/creator/update | Post a resource update |
1618

1719

@@ -546,6 +548,130 @@ public class Example {
546548
|-------------|-------------|------------------|
547549
| **200** | OK | - |
548550

551+
<a id="postV2ResourcesCreatorAddonsUpdate"></a>
552+
# **postV2ResourcesCreatorAddonsUpdate**
553+
> postV2ResourcesCreatorAddonsUpdate(postV2ResourcesCreatorAddonsUpdateRequest)
554+
555+
Post an addon update
556+
557+
### Example
558+
```java
559+
// Import classes:
560+
import org.openapitools.client.ApiClient;
561+
import org.openapitools.client.ApiException;
562+
import org.openapitools.client.Configuration;
563+
import org.openapitools.client.auth.*;
564+
import org.openapitools.client.models.*;
565+
import org.openapitools.client.api.ResourcesCreatorApi;
566+
567+
public class Example {
568+
public static void main(String[] args) {
569+
ApiClient defaultClient = Configuration.getDefaultApiClient();
570+
defaultClient.setBasePath("https://api.builtbybit.com");
571+
572+
// Configure API key authorization: token
573+
ApiKeyAuth token = (ApiKeyAuth) defaultClient.getAuthentication("token");
574+
token.setApiKey("YOUR API KEY");
575+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
576+
//token.setApiKeyPrefix("Token");
577+
578+
ResourcesCreatorApi apiInstance = new ResourcesCreatorApi(defaultClient);
579+
PostV2ResourcesCreatorAddonsUpdateRequest postV2ResourcesCreatorAddonsUpdateRequest = new PostV2ResourcesCreatorAddonsUpdateRequest(); // PostV2ResourcesCreatorAddonsUpdateRequest | Creates a new version for the addon. The uploaded file must be encoded using base64 as part of the JSON request body shown below. The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses.
580+
try {
581+
apiInstance.postV2ResourcesCreatorAddonsUpdate(postV2ResourcesCreatorAddonsUpdateRequest);
582+
} catch (ApiException e) {
583+
System.err.println("Exception when calling ResourcesCreatorApi#postV2ResourcesCreatorAddonsUpdate");
584+
System.err.println("Status code: " + e.getCode());
585+
System.err.println("Reason: " + e.getResponseBody());
586+
System.err.println("Response headers: " + e.getResponseHeaders());
587+
e.printStackTrace();
588+
}
589+
}
590+
}
591+
```
592+
593+
### Parameters
594+
595+
| Name | Type | Description | Notes |
596+
|------------- | ------------- | ------------- | -------------|
597+
| **postV2ResourcesCreatorAddonsUpdateRequest** | [**PostV2ResourcesCreatorAddonsUpdateRequest**](PostV2ResourcesCreatorAddonsUpdateRequest.md)| Creates a new version for the addon. The uploaded file must be encoded using base64 as part of the JSON request body shown below. The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses. | [optional] |
598+
599+
### Return type
600+
601+
null (empty response body)
602+
603+
### Authorization
604+
605+
[token](../README.md#token)
606+
607+
### HTTP request headers
608+
609+
- **Content-Type**: application/json
610+
- **Accept**: Not defined
611+
612+
613+
<a id="postV2ResourcesCreatorApiAssetsUpdate"></a>
614+
# **postV2ResourcesCreatorApiAssetsUpdate**
615+
> postV2ResourcesCreatorApiAssetsUpdate(postV2ResourcesCreatorApiAssetsUpdateRequest)
616+
617+
Post an API asset update
618+
619+
### Example
620+
```java
621+
// Import classes:
622+
import org.openapitools.client.ApiClient;
623+
import org.openapitools.client.ApiException;
624+
import org.openapitools.client.Configuration;
625+
import org.openapitools.client.auth.*;
626+
import org.openapitools.client.models.*;
627+
import org.openapitools.client.api.ResourcesCreatorApi;
628+
629+
public class Example {
630+
public static void main(String[] args) {
631+
ApiClient defaultClient = Configuration.getDefaultApiClient();
632+
defaultClient.setBasePath("https://api.builtbybit.com");
633+
634+
// Configure API key authorization: token
635+
ApiKeyAuth token = (ApiKeyAuth) defaultClient.getAuthentication("token");
636+
token.setApiKey("YOUR API KEY");
637+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
638+
//token.setApiKeyPrefix("Token");
639+
640+
ResourcesCreatorApi apiInstance = new ResourcesCreatorApi(defaultClient);
641+
PostV2ResourcesCreatorApiAssetsUpdateRequest postV2ResourcesCreatorApiAssetsUpdateRequest = new PostV2ResourcesCreatorApiAssetsUpdateRequest(); // PostV2ResourcesCreatorApiAssetsUpdateRequest | Creates a new version for the API asset. The uploaded file must be encoded using base64 as part of the JSON request body shown below. The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses.
642+
try {
643+
apiInstance.postV2ResourcesCreatorApiAssetsUpdate(postV2ResourcesCreatorApiAssetsUpdateRequest);
644+
} catch (ApiException e) {
645+
System.err.println("Exception when calling ResourcesCreatorApi#postV2ResourcesCreatorApiAssetsUpdate");
646+
System.err.println("Status code: " + e.getCode());
647+
System.err.println("Reason: " + e.getResponseBody());
648+
System.err.println("Response headers: " + e.getResponseHeaders());
649+
e.printStackTrace();
650+
}
651+
}
652+
}
653+
```
654+
655+
### Parameters
656+
657+
| Name | Type | Description | Notes |
658+
|------------- | ------------- | ------------- | -------------|
659+
| **postV2ResourcesCreatorApiAssetsUpdateRequest** | [**PostV2ResourcesCreatorApiAssetsUpdateRequest**](PostV2ResourcesCreatorApiAssetsUpdateRequest.md)| Creates a new version for the API asset. The uploaded file must be encoded using base64 as part of the JSON request body shown below. The request body (including the base64 encoded file data) cannot exceed 100MB. This roughly equates to a 67MB upload limit for the raw file when taking into account base64 encoding losses. | [optional] |
660+
661+
### Return type
662+
663+
null (empty response body)
664+
665+
### Authorization
666+
667+
[token](../README.md#token)
668+
669+
### HTTP request headers
670+
671+
- **Content-Type**: application/json
672+
- **Accept**: Not defined
673+
674+
549675
<a id="postV2ResourcesCreatorUpdate"></a>
550676
# **postV2ResourcesCreatorUpdate**
551677
> PostV2ResourcesCreatorUpdate200Response postV2ResourcesCreatorUpdate(postV2ResourcesCreatorUpdateRequest)

‎src/main/java/org/openapitools/client/ApiException.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* <p>ApiException class.</p>
2222
*/
2323
@SuppressWarnings("serial")
24-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-07-31T13:16:52.665929Z[Etc/UTC]")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-08-01T20:29:13.832214Z[Etc/UTC]")
2525
public class ApiException extends Exception {
2626
private int code = 0;
2727
private Map<String, List<String>> responseHeaders = null;

‎src/main/java/org/openapitools/client/Configuration.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package org.openapitools.client;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-07-31T13:16:52.665929Z[Etc/UTC]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-08-01T20:29:13.832214Z[Etc/UTC]")
1717
public class Configuration {
1818
public static final String VERSION = "v2";
1919

‎src/main/java/org/openapitools/client/JSON.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
183183
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2DeploymentsUpgradeRequest.CustomTypeAdapterFactory());
184184
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2EventsComplete200Response.CustomTypeAdapterFactory());
185185
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2EventsCompleteRequest.CustomTypeAdapterFactory());
186+
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorAddonsUpdateRequest.CustomTypeAdapterFactory());
187+
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorAddonsUpdateRequestFile.CustomTypeAdapterFactory());
188+
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorApiAssetsUpdateRequest.CustomTypeAdapterFactory());
189+
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorApiAssetsUpdateRequestFile.CustomTypeAdapterFactory());
186190
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorBatch200Response.CustomTypeAdapterFactory());
187191
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorBatch200ResponseData.CustomTypeAdapterFactory());
188192
gsonBuilder.registerTypeAdapterFactory(new org.openapitools.client.model.PostV2ResourcesCreatorBatchRequest.CustomTypeAdapterFactory());

0 commit comments

Comments
 (0)