Skip to content

Commit 54b278d

Browse files
committed
Auto-generate wrapper from updated spec
1 parent 0506986 commit 54b278d

152 files changed

Lines changed: 4162 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: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
BuiltByBit API
44
- API version: v2
5-
- Build date: 2026-05-15T09:36:59.288654Z[Etc/UTC]
5+
- Build date: 2026-05-19T10:29:07.570173Z[Etc/UTC]
66

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

@@ -133,7 +133,6 @@ Class | Method | HTTP request | Description
133133
*HealthApi* | [**getV2Health**](docs/HealthApi.md#getV2Health) | **GET** /v2/health | Retrieve a health status
134134
*Oauth2Api* | [**getOauth2Token**](docs/Oauth2Api.md#getOauth2Token) | **POST** /oauth2/token | Request an access token using an existing grant
135135
*Oauth2Api* | [**getOauth2TokenRevoke**](docs/Oauth2Api.md#getOauth2TokenRevoke) | **POST** /oauth2/token/revoke | Revoke an existing access or refresh token
136-
*ResourcesBuyerApi* | [**getV2ResourcesBuyerLatest**](docs/ResourcesBuyerApi.md#getV2ResourcesBuyerLatest) | **GET** /v2/resources/buyer/latest | Fetches the latest versions & license information
137136
*ResourcesCreatorApi* | [**getV2ResourcesCreatorAddons**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorAddons) | **GET** /v2/resources/creator/addons | Fetch a list of your resources' addons
138137
*ResourcesCreatorApi* | [**getV2ResourcesCreatorLicenses**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorLicenses) | **GET** /v2/resources/creator/licenses | Fetch a list of your resources' licenses
139138
*ResourcesCreatorApi* | [**getV2ResourcesCreatorPurchases**](docs/ResourcesCreatorApi.md#getV2ResourcesCreatorPurchases) | **GET** /v2/resources/creator/purchases | Fetch a list of your resources' purchases
@@ -161,6 +160,9 @@ Class | Method | HTTP request | Description
161160
*ResourcesDiscoverCartApi* | [**postV2ResourcesDiscoverCartCouponAdd**](docs/ResourcesDiscoverCartApi.md#postV2ResourcesDiscoverCartCouponAdd) | **POST** /v2/resources/discover/cart/coupon/add | Add a coupon to the user's cart
162161
*ResourcesDiscoverCartApi* | [**postV2ResourcesDiscoverCartCouponRemove**](docs/ResourcesDiscoverCartApi.md#postV2ResourcesDiscoverCartCouponRemove) | **POST** /v2/resources/discover/cart/coupon/remove | Remove a coupon from the user's cart
163162
*ResourcesDiscoverCartApi* | [**postV2ResourcesDiscoverCartRemove**](docs/ResourcesDiscoverCartApi.md#postV2ResourcesDiscoverCartRemove) | **POST** /v2/resources/discover/cart/remove | Remove an item from the user's cart
163+
*ResourcesEmbedApi* | [**getV2ResourcesEmbedDownload**](docs/ResourcesEmbedApi.md#getV2ResourcesEmbedDownload) | **GET** /v2/resources/embed/download | Fetch the status of a download request
164+
*ResourcesEmbedApi* | [**getV2ResourcesEmbedLatest**](docs/ResourcesEmbedApi.md#getV2ResourcesEmbedLatest) | **GET** /v2/resources/embed/latest | Fetches the latest versions & license information
165+
*ResourcesEmbedApi* | [**postV2ResourcesEmbedDownload**](docs/ResourcesEmbedApi.md#postV2ResourcesEmbedDownload) | **POST** /v2/resources/embed/download | Submit a new download request
164166

165167

166168
## Documentation for Models
@@ -179,6 +181,8 @@ Class | Method | HTTP request | Description
179181
- [Category](docs/Category.md)
180182
- [Coupon](docs/Coupon.md)
181183
- [CouponEntry](docs/CouponEntry.md)
184+
- [DownloadRequest](docs/DownloadRequest.md)
185+
- [DownloadStatus](docs/DownloadStatus.md)
182186
- [Event](docs/Event.md)
183187
- [Filter](docs/Filter.md)
184188
- [FilterChoice](docs/FilterChoice.md)
@@ -200,8 +204,6 @@ Class | Method | HTTP request | Description
200204
- [GetV2Events200Response](docs/GetV2Events200Response.md)
201205
- [GetV2Events200ResponseData](docs/GetV2Events200ResponseData.md)
202206
- [GetV2Health200Response](docs/GetV2Health200Response.md)
203-
- [GetV2ResourcesBuyerLatest200Response](docs/GetV2ResourcesBuyerLatest200Response.md)
204-
- [GetV2ResourcesBuyerLatest200ResponseData](docs/GetV2ResourcesBuyerLatest200ResponseData.md)
205207
- [GetV2ResourcesCreatorAddons200Response](docs/GetV2ResourcesCreatorAddons200Response.md)
206208
- [GetV2ResourcesCreatorAddons200ResponseData](docs/GetV2ResourcesCreatorAddons200ResponseData.md)
207209
- [GetV2ResourcesCreatorBatch200Response](docs/GetV2ResourcesCreatorBatch200Response.md)
@@ -236,6 +238,10 @@ Class | Method | HTTP request | Description
236238
- [GetV2ResourcesDiscoverCartView200ResponseData](docs/GetV2ResourcesDiscoverCartView200ResponseData.md)
237239
- [GetV2ResourcesDiscoverLicenses200Response](docs/GetV2ResourcesDiscoverLicenses200Response.md)
238240
- [GetV2ResourcesDiscoverLicenses200ResponseData](docs/GetV2ResourcesDiscoverLicenses200ResponseData.md)
241+
- [GetV2ResourcesEmbedDownload200Response](docs/GetV2ResourcesEmbedDownload200Response.md)
242+
- [GetV2ResourcesEmbedDownload200ResponseData](docs/GetV2ResourcesEmbedDownload200ResponseData.md)
243+
- [GetV2ResourcesEmbedLatest200Response](docs/GetV2ResourcesEmbedLatest200Response.md)
244+
- [GetV2ResourcesEmbedLatest200ResponseData](docs/GetV2ResourcesEmbedLatest200ResponseData.md)
239245
- [License](docs/License.md)
240246
- [ListStats](docs/ListStats.md)
241247
- [Member](docs/Member.md)
@@ -267,6 +273,9 @@ Class | Method | HTTP request | Description
267273
- [PostV2ResourcesDiscoverCartCouponRemoveRequest](docs/PostV2ResourcesDiscoverCartCouponRemoveRequest.md)
268274
- [PostV2ResourcesDiscoverCartRemove200Response](docs/PostV2ResourcesDiscoverCartRemove200Response.md)
269275
- [PostV2ResourcesDiscoverCartRemoveRequest](docs/PostV2ResourcesDiscoverCartRemoveRequest.md)
276+
- [PostV2ResourcesEmbedDownload200Response](docs/PostV2ResourcesEmbedDownload200Response.md)
277+
- [PostV2ResourcesEmbedDownload200ResponseData](docs/PostV2ResourcesEmbedDownload200ResponseData.md)
278+
- [PostV2ResourcesEmbedDownloadRequest](docs/PostV2ResourcesEmbedDownloadRequest.md)
270279
- [Price](docs/Price.md)
271280
- [Purchase](docs/Purchase.md)
272281
- [Resource](docs/Resource.md)

api/openapi.yaml

Lines changed: 198 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ tags:
4444
- name: resources/discover/cart
4545
x-parent: resources/discover
4646
x-page-title: Cart
47+
- name: resources/embed
48+
x-page-title: Resources/Embed
4749
paths:
4850
/oauth2/token:
4951
post:
@@ -1014,9 +1016,9 @@ paths:
10141016
x-stoplight:
10151017
id: 2srju4vu6icgb
10161018
x-accepts: application/json
1017-
/v2/resources/buyer/latest:
1019+
/v2/resources/embed/latest:
10181020
get:
1019-
operationId: get-v2-resources-buyer-latest
1021+
operationId: get-v2-resources-embed-latest
10201022
parameters:
10211023
- description: "32 character hash provided by an anti-piracy placeholder of\
10221024
\ the NONCE type. Must be from a resource download (cannot be an addon download’\
@@ -1033,13 +1035,13 @@ paths:
10331035
content:
10341036
application/json:
10351037
schema:
1036-
$ref: '#/components/schemas/get_v2_resources_buyer_latest_200_response'
1038+
$ref: '#/components/schemas/get_v2_resources_embed_latest_200_response'
10371039
description: OK
10381040
security:
10391041
- token: []
10401042
summary: Fetches the latest versions & license information
10411043
tags:
1042-
- resources/buyer
1044+
- resources/embed
10431045
x-stoplight:
10441046
id: z2obo5xmlssl1
10451047
x-accepts: application/json
@@ -1242,6 +1244,58 @@ paths:
12421244
id: ghbjy9uq3jfx3
12431245
x-content-type: application/json
12441246
x-accepts: application/json
1247+
/v2/resources/embed/download:
1248+
get:
1249+
operationId: get-v2-resources-embed-download
1250+
parameters:
1251+
- description: The token provided when submitting a download request.
1252+
explode: true
1253+
in: query
1254+
name: token
1255+
required: true
1256+
schema:
1257+
type: string
1258+
style: form
1259+
responses:
1260+
"200":
1261+
content:
1262+
application/json:
1263+
schema:
1264+
$ref: '#/components/schemas/get_v2_resources_embed_download_200_response'
1265+
description: OK
1266+
security:
1267+
- token: []
1268+
summary: Fetch the status of a download request
1269+
tags:
1270+
- resources/embed
1271+
x-stoplight:
1272+
id: 91tvd6cd1au67
1273+
x-accepts: application/json
1274+
post:
1275+
description: "Supported content types:\r\n- 'resource_version'\r\n- 'api_asset'"
1276+
operationId: post-v2-resources-embed-download
1277+
requestBody:
1278+
content:
1279+
application/json:
1280+
schema:
1281+
$ref: '#/components/schemas/post_v2_resources_embed_download_request'
1282+
responses:
1283+
"200":
1284+
content:
1285+
application/json:
1286+
schema:
1287+
$ref: '#/components/schemas/post_v2_resources_embed_download_200_response'
1288+
description: OK
1289+
security:
1290+
- token: []
1291+
summary: Submit a new download request
1292+
tags:
1293+
- resources/embed
1294+
x-stoplight:
1295+
id: s4z1rvddmo5wv
1296+
x-content-type: application/json
1297+
x-accepts: application/json
1298+
/2/resources/embed/download/poll: {}
12451299
components:
12461300
examples: {}
12471301
parameters:
@@ -3896,6 +3950,60 @@ components:
38963950
type: object
38973951
x-stoplight:
38983952
id: sm1s0a4gbjwm0
3953+
DownloadRequest:
3954+
example:
3955+
expires: 5
3956+
content_type: content_type
3957+
content_id: 6
3958+
user_id: 1
3959+
download_request_id: 0
3960+
token: token
3961+
properties:
3962+
download_request_id:
3963+
type: integer
3964+
x-stoplight:
3965+
id: z6baz63i9udyo
3966+
content_type:
3967+
type: string
3968+
x-stoplight:
3969+
id: frcsm50vdvhph
3970+
content_id:
3971+
type: integer
3972+
x-stoplight:
3973+
id: owix1glw5uvmy
3974+
user_id:
3975+
type: integer
3976+
x-stoplight:
3977+
id: f8isx4gucnmeq
3978+
token:
3979+
type: string
3980+
x-stoplight:
3981+
id: 1vj7r96ijkvox
3982+
expires:
3983+
type: integer
3984+
x-stoplight:
3985+
id: hi7dowe54f9d7
3986+
title: DownloadRequest
3987+
type: object
3988+
x-stoplight:
3989+
id: 6boevaquo14l2
3990+
DownloadStatus:
3991+
example:
3992+
retry: true
3993+
url: url
3994+
properties:
3995+
retry:
3996+
type: boolean
3997+
x-stoplight:
3998+
id: 50o4464lwv8aq
3999+
url:
4000+
type: string
4001+
x-stoplight:
4002+
id: 8jnp7b7asrbwx
4003+
title: DownloadResponse
4004+
type: object
4005+
x-stoplight:
4006+
id: qc3ai0naipzva
38994007
get_oauth2_token_request:
39004008
properties:
39014009
grant_type:
@@ -10994,7 +11102,7 @@ components:
1099411102
data:
1099511103
$ref: '#/components/schemas/get_v2_resources_creator_reviews_200_response_data'
1099611104
type: object
10997-
get_v2_resources_buyer_latest_200_response_data:
11105+
get_v2_resources_embed_latest_200_response_data:
1099811106
example:
1099911107
current:
1100011108
Resource: null
@@ -11027,7 +11135,7 @@ components:
1102711135
type: object
1102811136
x-stoplight:
1102911137
id: 086gai3wsenos
11030-
get_v2_resources_buyer_latest_200_response:
11138+
get_v2_resources_embed_latest_200_response:
1103111139
example:
1103211140
result: success
1103311141
data:
@@ -11058,7 +11166,7 @@ components:
1105811166
x-stoplight:
1105911167
id: xe86bnx44ra3f
1106011168
data:
11061-
$ref: '#/components/schemas/get_v2_resources_buyer_latest_200_response_data'
11169+
$ref: '#/components/schemas/get_v2_resources_embed_latest_200_response_data'
1106211170
type: object
1106311171
get_v2_resources_creator_coupons_200_response_data:
1106411172
example:
@@ -12576,6 +12684,89 @@ components:
1257612684
data:
1257712685
$ref: '#/components/schemas/post_v2_deployments_upgrade_200_response_data'
1257812686
type: object
12687+
get_v2_resources_embed_download_200_response_data:
12688+
example:
12689+
status:
12690+
retry: true
12691+
url: url
12692+
properties:
12693+
status:
12694+
$ref: '#/components/schemas/DownloadStatus'
12695+
type: object
12696+
x-stoplight:
12697+
id: 4keoengwafhx0
12698+
get_v2_resources_embed_download_200_response:
12699+
example:
12700+
result: success
12701+
data:
12702+
status:
12703+
retry: true
12704+
url: url
12705+
properties:
12706+
result:
12707+
enum:
12708+
- success
12709+
type: string
12710+
x-stoplight:
12711+
id: k64eiks21w9ie
12712+
data:
12713+
$ref: '#/components/schemas/get_v2_resources_embed_download_200_response_data'
12714+
type: object
12715+
post_v2_resources_embed_download_request:
12716+
properties:
12717+
nonce:
12718+
type: string
12719+
x-stoplight:
12720+
id: en5yzy9rql7hf
12721+
content_type:
12722+
type: string
12723+
x-stoplight:
12724+
id: vpt6xh012cadg
12725+
content_id:
12726+
type: integer
12727+
x-stoplight:
12728+
id: 9ca2t84ofck5t
12729+
required:
12730+
- content_id
12731+
- content_type
12732+
- nonce
12733+
type: object
12734+
post_v2_resources_embed_download_200_response_data:
12735+
example:
12736+
request:
12737+
expires: 5
12738+
content_type: content_type
12739+
content_id: 6
12740+
user_id: 1
12741+
download_request_id: 0
12742+
token: token
12743+
properties:
12744+
request:
12745+
$ref: '#/components/schemas/DownloadRequest'
12746+
type: object
12747+
x-stoplight:
12748+
id: gttw71oxpvtmc
12749+
post_v2_resources_embed_download_200_response:
12750+
example:
12751+
result: success
12752+
data:
12753+
request:
12754+
expires: 5
12755+
content_type: content_type
12756+
content_id: 6
12757+
user_id: 1
12758+
download_request_id: 0
12759+
token: token
12760+
properties:
12761+
result:
12762+
enum:
12763+
- success
12764+
type: string
12765+
x-stoplight:
12766+
id: tff1v9q6hmuaz
12767+
data:
12768+
$ref: '#/components/schemas/post_v2_resources_embed_download_200_response_data'
12769+
type: object
1257912770
Analytic_filters_value:
1258012771
example:
1258112772
type: type

docs/DownloadRequest.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
3+
# DownloadRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**downloadRequestId** | **Integer** | | [optional] |
11+
|**contentType** | **String** | | [optional] |
12+
|**contentId** | **Integer** | | [optional] |
13+
|**userId** | **Integer** | | [optional] |
14+
|**token** | **String** | | [optional] |
15+
|**expires** | **Integer** | | [optional] |
16+
17+
18+

docs/DownloadStatus.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# DownloadStatus
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**retry** | **Boolean** | | [optional] |
11+
|**url** | **String** | | [optional] |
12+
13+
14+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
3+
# GetV2ResourcesEmbedDownload200Response
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**result** | [**ResultEnum**](#ResultEnum) | | [optional] |
11+
|**data** | [**GetV2ResourcesEmbedDownload200ResponseData**](GetV2ResourcesEmbedDownload200ResponseData.md) | | [optional] |
12+
13+
14+
15+
## Enum: ResultEnum
16+
17+
| Name | Value |
18+
|---- | -----|
19+
| SUCCESS | "success" |
20+
21+
22+

0 commit comments

Comments
 (0)