getItemGroups

Function

import { getItemGroups } from "@esri/arcgis-rest-items";
//
getItemGroups("30e5fe3149c34df1ba922e6f5bbf808f")
  .then(response)

Lists the groups of which the item is a part, only showing the groups that the calling user can access. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
id Required string

The Id of the item to query group association for.

requestOptions Optional IRequestOptions

Options for the request

Returns

Promise<IItemGroupResponse> - A Promise to get some item groups.


Function defined in packages/arcgis-rest-items/src/get.ts:169