• import { getItem } from "@esri/arcgis-rest-portal";
    //
    getItem("ae7")
    .then(response);
    // or
    getItem("ae7", { authentication })
    .then(response)

    Get an item by id. See the REST Documentation for more information.

    Parameters

    • id: string

      Item Id

    • Optional requestOptions: IRequestOptions

      Options for the request

    Returns Promise<IItem>

    A Promise that will resolve with the data from the response.