Versions Compared

Key

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

The Registry REST API is one of many APIs supported by the WSO2 Governance Registry. Read more on Supported APIs and Standards for a complete list of APIs supported by WSO2 Governance Registry.

The Registry 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)}

See the sections below for information relating to invoking the REST API after generating the access token and some sample requests:
Table of Contents
maxLevel3

Invoking the REST API

The Registry REST API basically facilitates the capability to perform the CRUD operations via the well-defined HTTP protocol on the registry resources and its attributes such as tags, properties, associations, etc. 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 Registry REST API.

...

Panel

Comments ---- Information on how to add, retrieve, edit and delete comments of a resource

Properties --- Information on how to add, retrieve, edit and delete properties of a resource

Tags --- Information on how to add, retrieve and delete tags of a resource and retrieve resources tagged together

Associations --- Information on how to add, retrieve, edit and delete associations of a resource

Rating --- Information on how to add, retrieve, edit and delete rating of a resource.

Resources --- Information on how to add, retrieve and delete a resource

Collection --- Information on how to add, retrieve and delete a collection.

Metadata --- Metadata information about the resources and collections

Sample requests

Following are some sample  REST calls format to the Registry REST API. 

...

      Header   :  Content-Type = text/plain