credentials resource on the Figranium Swift SDK manages named credential sets used by tasks for external integrations. You can list, create, update, and delete credentials, and you can proxy Baserow requests through a stored credential to list databases and tables without handling tokens manually.
main.swift
Methods
list
list
List all stored credentials.
- HTTP endpoint:
GET /api/credentials - Signature:
credentials.list(options: RequestOptions = .init()) async throws -> [Credential]
list_credentials.swift
create
create
Create a new credential.
- HTTP endpoint:
POST /api/credentials - Signature:
credentials.create(_ input: CredentialInput, options: RequestOptions = .init()) async throws -> Credential
create_credential.swift
update
update
Update an existing credential in place.
- HTTP endpoint:
PUT /api/credentials/{credentialId} - Signature:
credentials.update(_ id: String, input: CredentialInput, options: RequestOptions = .init()) async throws -> Credential
update_credential.swift
delete
delete
Delete a credential.
- HTTP endpoint:
DELETE /api/credentials/{credentialId} - Signature:
credentials.delete(_ id: String, options: RequestOptions = .init()) async throws -> JSONObject
delete_credential.swift
baserowDatabases
baserowDatabases
List Baserow databases through a stored credential. The server proxies the request using the credential’s token.
- HTTP endpoint:
GET /api/credentials/{credentialId}/proxy/baserow/databases - Signature:
credentials.baserowDatabases(_ id: String, options: RequestOptions = .init()) async throws -> JSONObject
baserow_databases.swift
baserowTables
baserowTables
List tables inside a Baserow database through a stored credential.
- HTTP endpoint:
GET /api/credentials/{credentialId}/proxy/baserow/databases/{databaseId}/tables - Signature:
credentials.baserowTables(_ id: String, databaseID: String, options: RequestOptions = .init()) async throws -> JSONObject
baserow_tables.swift
Models
CredentialInput
Credential
Related resources
Request options
Pass custom headers and per-request timeouts.
Errors
Handle FigraniumError responses.
Tasks resource
Save tasks that reference credentials by ID.
Executions
Start runs that use credentials for external integrations.