Skip to content

Commit

Permalink
feat: add overwrite and isView options (#1175)
Browse files Browse the repository at this point in the history
added overwrite and isView options to ICreateServiceOptions,
per https://developers.arcgis.com/rest/users-groups-and-items/create-service/#request-parameters
  • Loading branch information
gavinr-maps authored Dec 17, 2024
1 parent bfd7ce9 commit 949e341
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ export interface ICreateServiceOptions extends ICreateUpdateItemOptions {
* root folder.
*/
folderId?: string;
/**
* If true, the service is overwritten. The default value is false.
*/
overwrite?: boolean;
/**
* Specifies if the request is generating a location tracking view. A view can only be
* created if there is already a Location Tracking Service that has been created.
*/
isView?: boolean;
}

export interface ICreateServiceResult {
Expand Down

0 comments on commit 949e341

Please sign in to comment.