Container Configuration Data API
{ urn:com.soa.rest.services.container.configuration } ContainerConfigMgmt
This API is used to fetch container configuration information.
GET/{key}/configGet Container Configuration
Returns the configuration document for the container with the given key. A usage example illustrating a request for configuration changes since 8AM EST on 5/5/2015 is as follows:
Request:
GET /rest/containers/17b8a59d-c8e6-4467-a31a-794116d7/config?since=1430740800000 HTTP/1.1
Response:
HTTP/1.1 200 OK
<c:ContainerConfiguration LastUpdated="1430740860000" xmlns:c="http://federatedgovernance.org/mc/configuration">
<c:ContainerKey>17b8a59d-c8e6-4467-a31a-794116d7<c:ContainerKey>
<c:CapabilityConfiguration CapabilityId="http://federatedgovernance.org/capabilities/managedendpoints" LastUpdated="1430740860000">
... Not within the scope of this API ...
</c:CapabilityConfiguration>
</c:ContainerConfiguration>
In this example a single capability configuration for managed (hosted) endpoints has changed since the requested time. The capability is identified by its URI of http://federatedgovernance.org/capabilities/managedendpoints. The time it changed was 8:01AM as indicated by the LastUpdated attribute. Since this is the most recent change to the container's configuration the same timestamp is reflected in the top level configuration element's LastUpdated attribute. The content of the capability is not within the scope of this APIdescription.
Parameters
Name
Type
Description
Model
key
path
The container's key
string
since
query
Date in millis from which all changes must be reported
long
Reponse
Produces application/xmlapplication/json
200
Success
ContainerConfigurationType
ContainerConfigurationType {
CapabilityConfiguration( Collection of CapabilityConfigurationType )
LastUpdated( long )
ContainerKey( string )
any( anyType )
}
CapabilityConfigurationType {
any( anyType )
CapabilityId( anyURI )
LastUpdated( long )
}
400
Invalid "since" value provided.
404
Container with the given key could not be found.