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 Notesid
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