public UntagRun UntagRun(int runId, string tag) { var parameters = new Parameters(); parameters.AddPostParameter("run_id", runId); parameters.AddPostParameter("tag", tag); return(_dao.ExecuteAuthenticatedRequest <UntagRun>("/run/untag ", ApiKey, parameters, Method.POST)); }
public UntagFlow UntagFlow(int flowId, string tag) { var parameters = new Parameters(); parameters.AddPostParameter("flow_id", flowId); parameters.AddPostParameter("tag", tag); return(_dao.ExecuteAuthenticatedRequest <UntagFlow>("/flow/untag", ApiKey, parameters, Method.POST)); }
public DataUntag UntagDataSet(int datasetId, string tag) { var parameters = new Parameters(); parameters.AddPostParameter("data_id", datasetId); parameters.AddPostParameter("tag", tag); return(_dao.ExecuteAuthenticatedRequest <DataUntag>("/data/untag", ApiKey, parameters, Method.POST)); }
public UntagTask UntagTask(int taskId, string tag) { var parameters = new Parameters(); parameters.AddPostParameter("task_id", taskId); parameters.AddPostParameter("tag", tag); return(_dao.ExecuteAuthenticatedRequest <UntagTask>("/task/untag", ApiKey, parameters, Method.POST)); }
/// <summary> /// Upload a new dataset /// </summary> /// <param name="datasetPath">Path of the dataset</param> /// <param name="datasetDescription">Description of the dataset</param> /// <returns></returns> public UploadDataSet UploadDataSet(string datasetPath, UploadDatasetDescription datasetDescription) { var parameters = new Parameters(); parameters.AddPostParameter("description", datasetDescription.ToXml()); var fileParameters = new List <FileParameter> { new FileParameter("dataset", datasetPath) }; return(_dao.ExecuteAuthenticatedRequest <UploadDataSet>("/data", ApiKey, parameters, Method.POST, fileParameters)); }