• Gets the primary information of an AGO item.

    Parameters

    • itemId: string

      Id of an item whose primary information is sought

    • authentication: UserSession

      Credentials for the request to AGO

    Returns Promise<IItem>

    A promise that will resolve with item's JSON or error JSON or throws ArcGISRequestError in case of HTTP error or response error code