Optional
confirmOptional
credentialsA string indicating whether credentials (cookies) will be sent with the request. Used internally for authentication workflows.
Optional
fetchThe implementation of fetch
to use. Defaults to a global fetch
.
Optional
init: RequestInitGroup identifier
Optional
headersAdditional Headers to pass into the request.
Optional
hidePrevents the token from being passed in a URL Query param that is saved in browser history. Instead, the token will be passed in POST request body or through X-Esri-Authorization header. NOTE: This will force POST requests in browsers since auth header is not yet supported by preflight OPTIONS check with CORS.
Optional
httpThe HTTP method to send the request with.
Unique identifier for the item.
Optional
maxIf the length of a GET request's URL exceeds maxUrlLength
the request will use POST instead.
Optional
ownerItem owner, if different from the authenticated user.
Optional
paramsAdditional parameters to pass in the request.
Optional
portalBase url for the portal you want to make the request to. Defaults to authentication.portal if authentication exists, otherwise to 'https://www.arcgis.com/sharing/rest'.
Optional
rawReturn the raw response
A session representing a logged in user.