Skip to content

Latest commit

 

History

History
112 lines (76 loc) · 3.35 KB

File metadata and controls

112 lines (76 loc) · 3.35 KB

BuiltByBitApi.ResourcesCreatorBundlesApi

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

getV2ResourcesCreatorBundles

GetV2ResourcesCreatorBundles200Response getV2ResourcesCreatorBundles(opts)

Fetch a list of your bundles

Example

import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';

let apiInstance = new BuiltByBitApi.ResourcesCreatorBundlesApi();
let opts = {
  'bundleIds': null // Array | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorBundles(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
bundleIds Array A comma-separated list of bundle IDs to filter on. No filter is applied if empty. [optional]

Return type

GetV2ResourcesCreatorBundles200Response

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getV2ResourcesCreatorBundlesEntries

GetV2ResourcesCreatorBundlesEntries200Response getV2ResourcesCreatorBundlesEntries(opts)

Fetch a list of your bundle entries

Example

import BuiltByBitApi from 'built_by_bit_api';
let defaultClient = BuiltByBitApi.ApiClient.instance;
// Configure API key authorization: token
let token = defaultClient.authentications['token'];
token.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//token.apiKeyPrefix = 'Token';

let apiInstance = new BuiltByBitApi.ResourcesCreatorBundlesApi();
let opts = {
  'bundleIds': null // Array | A comma-separated list of bundle IDs to filter on. No filter is applied if empty.
};
apiInstance.getV2ResourcesCreatorBundlesEntries(opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
bundleIds Array A comma-separated list of bundle IDs to filter on. No filter is applied if empty. [optional]

Return type

GetV2ResourcesCreatorBundlesEntries200Response

Authorization

token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json