umami-api-js
    Preparing search index...

    Function post

    • post(
          this: API,
          parameters: {
              entityId: string;
              name: string;
              parameters: Parameters;
              shareType: ShareType;
              slug: string;
          },
      ): Promise<Share.Share>

      Parameters

      • this: API
      • parameters: {
            entityId: string;
            name: string;
            parameters: Parameters;
            shareType: ShareType;
            slug: string;
        }
        • entityId: string

          ID of entity to be added (websiteId, pixelId, linkId, etc.)

        • name: string

          Name of the share page

        • parameters: Parameters

          Parameters for share page

        • shareType: ShareType
        • slug: string

          Slug of the share page

      Returns Promise<Share.Share>