getUserContent
constant
FunctiongetUserContent(requestOptions: IUserContentRequestOptions): Promise<IUserContentResponse>
Returns a listing of the user's content. If the username
is not supplied, it defaults to the username of the authenticated user. If start
is not specified it defaults to the first page.
If the num
is not supplied it is defaulted to 10. See the REST Documentation for more information.
import { getUserContent } from "@esri/arcgis-rest-portal";
getUserContent({
owner: 'geemike',
folderId: 'bao7',
start: 1,
num: 20,
authentication
})
Parameters
Parameter | Type | Notes |
---|---|---|
request | IUserContentRequestOptions | Options for the request |
Returns
Promise<IUserContentResponse>
A Promise<IUserContentResponse>