* v2.1.46 * Update pro version to 2.1.46 * v2.2.0 * Update pro version to 2.2.0 * Fix for budibase plugin skeleton, which utilises the old import style. * Fix side nav styles * v2.2.1 * Update pro version to 2.2.1 * using dist folder to allow importing constants for openAPI specs * v2.2.2 * Update pro version to 2.2.2 * Fix for user enrichment call (updating to @budibase/nano fork) (#9038) * Fix for #9029 - this should fix the issue users have been experiencing with user enrichment calls in apps, essentially it utilises a fork of the nano library we use to interact with CouchDB, which has been updated to use a POST request rather than a GET request as it supports a larger set of data being sent as query parameters. * Incrementing Nano version to attempt to fix yarn registry issues. * v2.2.3 * Update pro version to 2.2.3 * Fix SQL table `_id` filtering (#9030) * Re-add support for filtering on _id using external SQL tables and fix filter key prefixes not working with _id field * Remove like operator from internal tables and only allow basic operators on SQL table _id column * Update data section filtering to respect new rules * Update automation section filtering to respect new rules * Update dynamic filter component to respect new rules Co-authored-by: Martin McKeaveney <martin@budibase.com> Co-authored-by: Budibase Release Bot <> Co-authored-by: mike12345567 <me@michaeldrury.co.uk> Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com> |
||
---|---|---|
.. | ||
scripts | ||
src | ||
.gitignore | ||
package.json | ||
README.md | ||
rollup.config.js | ||
yarn.lock |
Budibase Public API SDK
JS SDK for the Budibase Public API.
This SDK is generated by swagger-codegen.
Docker is used to run the generator, so Java is not required. Docker is the only requirement to generate the SDK.
The generated code will only run in a browser. It is not currently useable in a NodeJS environment.
Example usage
import { configure, ApplicationsApi } from "@budibase/sdk"
// Configure the API client
configure({
apiKey: "my-api-key",
host: "https://my.budibase.app"
})
// Search for an app.
// We can use the promisified version...
const res = await ApplicationsApi.applicationsSearchPost({ name: "foo" })
console.log("Applications:", res.data)
// ...or the callback version
ApplicationsApi.applicationsSearchPost({ name: "foo" }, ((error, data) => {
if (error) {
console.error("Failed to search:", error)
} else {
console.log("Applications:", data.data)
}
}))