Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URI syntax

Each API is constructed as a URI. For example, to get all the comments, the syntax is: 

http://{ip:port}/{context}/{version}/comments?path={resource path}&start={start page}&size={no of records}

The prefix of each URI contains the following elements:

  • ip - IP address of the Governance Registry

  • port -  Port at which the Governance Registry is running.
  • context - Context of REST API invocation. By default it is "resource".
  • version - Since it is the initial version of the REST API, it is denoted as "1.0.0"

Here is a sample request that gets all the comments:

curl

-X

GET

-H

"Authorization:

Basic

YWRtaW46YWRtaW4="

-H

"Cache-Control:

no-cache"

"https://localhost:9443/resource/1.0.0/comments?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService"

-i

-k

API reference and samples

...