Federate

URL:
https://<root>/services/federate
Methods:
POST
Required Capability:
Access allowed with any authorized privilege
Version Introduced:
10.2

Description

The federate operation imports any services that you have previously published to your server site and makes them available as items within the organization you are federating the server with. Services are imported automatically as part of the federate process.

If the automatic import of services fails as part of the federation process, the following severe-level message will appear in the server logs:

Use dark colors for code blocksCopy
1
Failed to import GIS services as items within portal.

If this failure occurs, you can manually re-run the operation to import your services as items in the portal. Before you do this, obtain a portal token and then validate ArcGIS Server is federated with the organization.

After you run the Federate operation, specify sharing properties to determine which users and groups will be able to access each service.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the federate operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/services/federate HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.