PubNub
DOCS
Ask AI
SupportContact SalesLoginStart building
  • Introduction
  • Illuminate
  • Routes
  • Messages
  • Route Inputs
  • Routers
  • Functions
  • Configs
  • Insights
  • DataSync
    • Entity Class
    • Relationship Class
      • Get all relationship classes
      • Get relationship class by name and version
      • Update relationship class with complete resource replacement
      • Create a new relationship class
      • Delete relationship class by name and version
  • OEM Customer
  • Usage
  • Audit Log
  • App
  • Keyset
Debug Console
For AI agents: this page in Markdown: https://www.pubnub.com/docs/admin-api/data-sync-relationship-class-introduction.md. Documentation index: https://www.pubnub.com/llms-full.txt.

DataSync:Relationship Class Introduction

Create, read, replace and delete the relationship class versions of a subscribe key.

GET Get all relationship classes

Returns every relationship class version the subscribe key can use, the SubKey

GET Get relationship class by name and version

Returns one relationship class version with its cardinality and class properties.

PUT Update relationship class with complete resource replacement

Replaces the description of one relationship class version of this subscribe key

POST Create a new relationship class

Creates a new relationship class that defines a type of relationship between entities.

DELETE Delete relationship class by name and version

Deletes one class version.