Options
All
  • Public
  • Public/Protected
  • All
Menu

Service used for interacting with communities on a federated host.

Hierarchy

  • CommunitiesFederationService

Index

Constructors

Methods

Constructors

constructor

Methods

getAll

  • getAll(host: string): Promise<Community[]>

getOne

  • getOne(host: string, id: string): Promise<null | Community>
  • Returns information for a given community on a host.

    Parameters

    • host: string

      The host to get community information from.

    • id: string

      The ID of the community.

    Returns Promise<null | Community>

    Information about the community, or null if it does not exist.

Generated using TypeDoc