Package org.iplantc.agave.client

Examples of org.iplantc.agave.client.ApiException


  }

  public MultipleMetadataResponse listMetadata(String q) throws ApiException {
    // verify required params are set
    if (q == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/data".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here


  public MetadataResponse addMetadata(MetadataRequest body)
      throws ApiException {
    // verify required params are set
    if (body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/data".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here

  }

  public MetadataResponse getMetadata(String uuid) throws ApiException {
    // verify required params are set
    if (uuid == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/data/{uuid}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "uuid" + "\\}",
            apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  public MetadataResponse updateMetadata(String uuid, MetadataRequest body)
      throws ApiException {
    // verify required params are set
    if (uuid == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/data/{uuid}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "uuid" + "\\}",
            apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  public EmptyMetadataResponse deleteMetadata(String uuid)
      throws ApiException {
    // verify required params are set
    if (uuid == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/data/{uuid}".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "uuid" + "\\}",
            apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  }

  public MetadataSchemaResponse searchSchema(String uuid) throws ApiException {
    // verify required params are set
    if (uuid == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/schemas".replaceAll("\\{format\\}", "json")
        .replaceAll("\\{" + "uuid" + "\\}",
            apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  }

  public MetadataSchemaResponse addSchema(String body) throws ApiException {
    // verify required params are set
    if (body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/schemas".replaceAll("\\{format\\}", "json");

    // query params
View Full Code Here

  }

  public MetadataSchemaResponse getSchema(String uuid) throws ApiException {
    // verify required params are set
    if (uuid == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/schemas/{uuid}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "uuid" + "\\}",
        apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  public MetadataSchemaResponse updateSchema(String uuid, String body)
      throws ApiException {
    // verify required params are set
    if (uuid == null || body == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/schemas/{uuid}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "uuid" + "\\}",
        apiInvoker.escapeString(uuid.toString()));
View Full Code Here

  }

  public EmptyMetadataResponse deleteSchema(String uuid) throws ApiException {
    // verify required params are set
    if (uuid == null) {
      throw new ApiException(400, "missing required params");
    }
    // create path and map variables
    String path = "/meta/" + Settings.API_VERSION + "/schemas/{uuid}".replaceAll("\\{format\\}",
        "json").replaceAll("\\{" + "uuid" + "\\}",
        apiInvoker.escapeString(uuid.toString()));
View Full Code Here

TOP

Related Classes of org.iplantc.agave.client.ApiException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.