The formats of the URLs to resources that represent objects in the configuration and monitoring object trees are as follows:
Configuration: http://host:port/management/domain/path
Monitoring: http://host:port/monitoring/domain/path
The replaceable items in these URLs are as follows:
The host where the DAS is running.
The HTTP port or HTTPS port for administration.
The path to the object. The path is the dotted name of the object in which each dot (.) is replaced with a slash (/).
Note - The path to a GlassFish Server instance is servers/server/instance-name, where instance-name is the name of the instance. For the DAS, instance-name is server and the path is servers/server/server.
For more information, see the following documentation:
If the URL to a REST resource for GlassFish Server monitoring or configuration data is opened in a web browser, the browser displays a web page that contains the following information about the resource:
A list of the attributes of the resource and their values. If the resource represents an object in the configuration tree, these attributes are presented in an HTML form that you can use to update the resource. Attributes of a resource for an object in the monitoring tree are read only.
A list of hypertext links to the children of the resource. This list of links enables you to traverse the tree that contains the resource and to discover the all resources in the tree.
A list of hypertext links to resources that represent asadmin subcommands for non-CRUD operations on the resource.
The following figure shows the web page for the REST resource for managing a domain.
Figure 2-1 Web Page for the REST Resource for Managing a Domain