getAttachments

Function

import { getAttachments } from '@esri/arcgis-rest-feature-service';
//
getAttachments({
  url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer/0",
  featureId: 8484
});

Request attachmentInfos of a feature by id. See Attachment Infos for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IGetAttachmentsOptions

Options for the request.

Returns

Promise<IGetAttachmentsResponse> - A Promise that will resolve with the getAttachments() response.


Function defined in packages/arcgis-rest-feature-service/src/getAttachments.ts:55