Skip to main content

get_watches_by_owner

Get all watches (pins and subscriptions) for an entity.

Parameters

Returns

A list of WatchDto objects, each containing:
  • watchId — unique watch identifier
  • ownerId — the entity being watched
  • watcherId — the watcher (user, email, or user group)
  • type — watch type (Pin or Follower)
  • watcherType — watcher entity type

get_watches_by_watcher

Get all watches created by a specific watcher.

Parameters

Returns

A list of WatchDto objects.

get_watch

Get a single watch by its ID.

Parameters

Returns

A WatchDto with watch details.

create_watch

Create a new watch (pin or subscription) on an entity.

Parameters

Returns

The created WatchDto.

update_watch

Update a watch’s type.

Parameters

Returns

The updated WatchDto.

delete_watch

Delete a watch by its ID.

Parameters

Returns

A confirmation message.