Skip to main content
The 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 all stored credentials.
  • HTTP endpoint: GET /api/credentials
  • Signature: credentials.list(options: RequestOptions = .init()) async throws -> [Credential]
list_credentials.swift
Create a new credential.
  • HTTP endpoint: POST /api/credentials
  • Signature: credentials.create(_ input: CredentialInput, options: RequestOptions = .init()) async throws -> Credential
create_credential.swift
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 a credential.
  • HTTP endpoint: DELETE /api/credentials/{credentialId}
  • Signature: credentials.delete(_ id: String, options: RequestOptions = .init()) async throws -> JSONObject
delete_credential.swift
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
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

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.