A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/arcgis-rest-js/api-reference/arcgis-rest-portal/getItem/ below:

getItem | ArcGIS REST JS

getItem Function getItem(id: string, requestOptions?: IRequestOptions): Promise<IItem>

Use dark colors for code blocks Copy

1
2
3
4
5
6
7
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 Parameter Type Notes id string

Item Id

requestOptions IRequestOptions

Options for the request

Returns Promise<IItem>

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4