A session representing a logged in user.
Optional
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: RequestInitUnique identifier of the folder.
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.
Optional
maxIf the length of a GET request's URL exceeds maxUrlLength
the request will use POST instead.
Optional
ownerItem owner username. If not present, authentication.username
is utilized.
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
Used internally by packages for requests that require authentication.