The Governance REST API is one of many APIs supported by WSO2 Governance Registry. Read more on Supported APIs and Standards for a complete list of APIs supported by WSO2 Governance Registry.
The Governance REST API basically facilitates the capability to perform the CRUD operations via the well-defined HTTP protocol. The REST API uses the GET, POST, PUT, and DELETE operations of the well-defined HTTP protocol to do the CRUD operation via any REST Client. Google Chrome's Advanced REST client is one of the client tools used to test the functionality of the Governance REST API.
The Governance REST API is secured with Basic Auth access token. You can invoke the rest API with Basic Auth header
Authorization: Basic YWRtaW46YWRtaW4=
where the format is Authorization: Basic {base64encoded(username:password)}
At the moment REST API only supports configurable governance artifacts. Support for Content artifacts such as WSDL and Policy are limited. Future versions of REST API will equally support both types of artifacts.
You must send valid HTTP BasicAuth credentials when invoking the REST API.
See the sections below for information relating to invoking the REST API after generating the access token and some sample requests and complete URI formats:
Assets
Following are the REST API functions that are related to assets.
Endpoints
Following are the REST API functions that are related to assets.