Options
All
  • Public
  • Public/Protected
  • All
Menu

Module index

Index

Enumerations

Classes

Interfaces

Type aliases

Functions

Type aliases

IDerivativeOutputType

WebhookScope

WebhookScope: { folder: string } | { workflow: string } | { workspace: string } | { workflow.transition: string }

Functions

urnify

  • urnify(id: string): string
  • Converts ID of an object to base64-encoded URN expected by ModelDerivativeClient.

    example

    urnify('urn:adsk.objects:os.object:my-bucket/my-file.dwg'); // Returns 'dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bXktYnVja2V0L215LWZpbGUuZHdn'

    Parameters

    • id: string

      Object ID.

    Returns string

    base64-encoded object URN.

webhookEventScopes

  • List all scope keys available for specific webhook event.

    Parameters

    • event: WebhookEvent

      Webhook event (e.g., "dm.folder.moved").

    Returns string[]

    List of scope names that can be used when creating or updating a webhook.

webhookSystemEvents

  • List all event types available for specific webhook system.

    Parameters

    Returns WebhookEvent[]

    List of webhook events.

Generated using TypeDoc