For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Database Schema Version Diff

Structural diff between two published versions of a database schema.

A schema defines a collection's fields, types, and validation. Schemas support drafts, versions, and publishing. This method returns a single database schema version diff by id.

This method is on the Hub surface (norbix.hub.database) — call it from admin tooling or IaC.

These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.hub.database.getDatabaseSchemaVersionDiff({
  id: 'sch_4kX9mQvR2tYw7ZbC1dFgHj',
  fromVersion: 10,
  toVersion: 10,
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;

using var client = new NorbixClient();

var result = await client.Database.GetDatabaseSchemaVersionDiffAsync(new GetDatabaseSchemaVersionDiff
{
    Id = "sch_4kX9mQvR2tYw7ZbC1dFgHj",
    FromVersion = 10,
    ToVersion = 10,
});
from norbix_python import NorbixHub

norbix = NorbixHub()

result = norbix.database.get_database_schema_version_diff(
    id="sch_4kX9mQvR2tYw7ZbC1dFgHj",
    fromVersion=10,
    toVersion=10,
)

In the dashboard

Manage this visually in Norbix Cloud — see Database → Schemas.

API reference

Full request and response for this endpoint: Get Database Schema Version Diff.

Last updated