Class MetaData

java.lang.Object
org.wso2.carbon.registry.rest.api.RegistryRestSuper
org.wso2.carbon.registry.rest.api.MetaData

@Path("/metadata") public class MetaData extends RegistryRestSuper
This class is to get the meta data of the resource using REST verb GET.
  • Constructor Details

    • MetaData

      public MetaData()
  • Method Details

    • getMetaData

      public javax.ws.rs.core.Response getMetaData(String resourcePath, @HeaderParam("X-JWT-Assertion") String JWTToken)
      This method gets the metadata info about the given resource
      Parameters:
      resourcePath - resource path
      Returns:
      JSON ResourceModel object, HTTP 200 OK.