- URL:
- https://<notebookserveradmin>/services
- Methods:
GET
- Child Resources:
- Service, Create service, Types, Analyze Notebooks, Delete
- Required Capability:
- Administrator or Create and Edit
- Version Introduced:
- 10.9.1
Description
The services
resource is a container of services published on Notebook Server. You can create a geoprocessing service (web tool) using the create
operation. The types
resource returns a list of all service types and their extensions supported on ArcGIS Notebook Server.
This list includes services published by all users when accessed by an administrator. Users with the Publish Web Tool privileges who are not administrators can see only their services listed.
Request parameters
Parameter | Details |
---|---|
| The number of the first entry in the result set response. The index number is 1-based. Default value: Example:
|
| The maximum number of results to be included in the result set response. The default value is Example:
|
| The response format. The default response format is Values: |
Example usage
https://machine.domain.com/webadaptor/admin/services?f=json
JSON Response syntax
{
"total" : <total number of results>,
"start" : <The number of the first entry in the result set response>,
"num": < maximum number of results to be included in the result set response >,
"services": [
{
"owner": "service 1 owner username",
"name": "service name",
"id": "itemId of Web Tool item 1",
"type": "GPServer"
},
{
"owner": "service 2 owner username",
"name": "service name",
"id": "itemId of Web Tool item 2",
"type": "GPServer"
}
],
"currentVersion": "currentVersion"
}
JSON Response example
{
"total": 3,
"num": 10,
"start": 1,
"services": [
{
"owner": "nbdemo",
"name": "Calculate Market Area",
"id": "d83d3a26a6be47e88d44337aa655ece1",
"type": "GPServer"
},
{
"owner": "nbdemo",
"name": "EV Route Planning Tool",
"id": "928975fc42454fb39626db5d178a8e38",
"type": "GPServer"
},
{
"owner": "nbdemo",
"name": "Web tool demo",
"id": "d38b2de4b3844703887228b9db256b7c",
"type": "GPServer"
}
],
"currentVersion": 11.1
}