Function _updateItemURLPrivate

  • Private

    Updates the URL of an item.

    Parameters

    • id: string

      AGOL id of item to update

    • url: string

      URL to assign to item's base section

    • authentication: UserSession

      Credentials for the request

    • numAttempts: number = 1

      Number of times to try to set the URL if AGO says that it updated the URL, but really didn't

    Returns Promise<string>

    A promise that will resolve with the item id when the item has been updated or an AGO-style JSON failure response