CredentialsResource on figranium.credentials lets you manage output credentials for the Figranium platform. Currently, the only supported provider is Baserow. You can create credentials, update their name or configuration, delete them, and browse Baserow metadata such as databases and tables.
RequestOptions argument with signal, timeoutMs, and headers. See Request options for details.
Methods
list
list
Credential objects.- HTTP endpoint:
GET /api/credentials
list-credentials.ts
create
create
CredentialInput shape requires a name, provider (currently only "baserow"), and a config object with baseUrl and token.- HTTP endpoint:
POST /api/credentials
create-credential.ts
update
update
- HTTP endpoint:
PUT /api/credentials/:id
update-credential.ts
delete
delete
ok field indicating success.- HTTP endpoint:
DELETE /api/credentials/:id
delete-credential.ts
baserowDatabases
baserowDatabases
id, name, and workspaceName.- HTTP endpoint:
GET /api/credentials/:id/proxy/baserow/databases
list-databases.ts
baserowTables
baserowTables
baserowDatabases).- HTTP endpoint:
GET /api/credentials/:id/proxy/baserow/databases/:databaseId/tables
list-tables.ts
Full Baserow workflow
This example creates a credential, lists databases, and then lists tables for the first database:baserow-workflow.ts