getServiceAdminInfo

Function

Given a Feature Service url, fetch the service admin information.

The response from this call includes all the detailed information for each layer/table in the service as well as some admin properties

Parameters

Parameter Type Default Notes
serviceUrl Required string
session Required UserSession

Returns

{Promise}

Promise<IServiceInfo>
Property Type Notes
adminServiceInfo {
database:
{
datasource:
{
name:
string
}
}
name:
string
status:
string
type:
string
}
layers Record<stringunknown>[] | Record<stringunknown>

Function defined in packages/arcgis-rest-service-admin/src/get-service-admin-info.ts:19