diff --git a/2.2-dev/.doctrees/environment.pickle b/2.2-dev/.doctrees/environment.pickle index cf7d36f7be..260d6c3ace 100644 Binary files a/2.2-dev/.doctrees/environment.pickle and b/2.2-dev/.doctrees/environment.pickle differ diff --git a/2.2-dev/restapi/index.html b/2.2-dev/restapi/index.html index 7c7f1bc828..19102c6147 100644 --- a/2.2-dev/restapi/index.html +++ b/2.2-dev/restapi/index.html @@ -689,6 +689,23 @@ -
- - - @@ -6716,7 +6756,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/FileResponse" + "$ref" : "#/components/schemas/FileSizeResponse" } } } @@ -7432,7 +7472,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getSimulationTime"); @@ -7451,7 +7491,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getSimulationTime"); @@ -7471,7 +7511,7 @@

Usage and SDK Samples

// Retrieve the current simulated time. [apiInstance getSimulationTimeWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(TimeResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -7522,7 +7562,7 @@

Usage and SDK Samples

try { // Retrieve the current simulated time. - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); Debug.WriteLine(result); } catch (Exception e) @@ -7644,7 +7684,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/TimeResponse" } } } @@ -7718,7 +7758,6 @@

Usage and SDK Samples

curl -X GET\
 -H "Accept: application/json"\
--H "Content-Type: application/json"\
 "https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
@@ -7735,11 +7774,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Job_name_tasks_body body = ; // Job_name_tasks_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String jobName = jobName_example; // String | ID of the job try { - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); @@ -7756,11 +7794,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Job_name_tasks_body body = ; // Job_name_tasks_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String jobName = jobName_example; // String | ID of the job try { - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); @@ -7774,15 +7811,13 @@

Usage and SDK Samples

Coming Soon!
-->
-
Job_name_tasks_body *body = ; // Job characteristics.
-String *simid = simid_example; // ID of the simulation
+                              
String *simid = simid_example; // ID of the simulation
 String *jobName = jobName_example; // ID of the job
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
 // Retrieve job's tasks
-[apiInstance getStandardJobTasksWith:body
-    simid:simid
+[apiInstance getStandardJobTasksWith:simid
     jobName:jobName
               completionHandler: ^(TaskList output, NSError* error) {
                             if (output) {
@@ -7799,7 +7834,6 @@ 

Usage and SDK Samples

var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Job_name_tasks_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
 var jobName = jobName_example; // {{String}} ID of the job
 
@@ -7810,7 +7844,7 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getStandardJobTasks(bodysimidjobName, callback); +api.getStandardJobTasks(simid, jobName, callback);
@@ -7832,14 +7866,13 @@

Usage and SDK Samples

{ var apiInstance = new WRENCHApi(); - var body = new Job_name_tasks_body(); // Job_name_tasks_body | Job characteristics. var simid = simid_example; // String | ID of the simulation var jobName = jobName_example; // String | ID of the job try { // Retrieve job's tasks - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); Debug.WriteLine(result); } catch (Exception e) @@ -7857,12 +7890,11 @@

Usage and SDK Samples

require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiWRENCHApi(); -$body = ; // Job_name_tasks_body | Job characteristics. $simid = simid_example; // String | ID of the simulation $jobName = jobName_example; // String | ID of the job try { - $result = $api_instance->getStandardJobTasks($body, $simid, $jobName); + $result = $api_instance->getStandardJobTasks($simid, $jobName); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL; @@ -7876,12 +7908,11 @@

Usage and SDK Samples

use WWW::SwaggerClient::WRENCHApi; my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); -my $body = WWW::SwaggerClient::Object::Job_name_tasks_body->new(); # Job_name_tasks_body | Job characteristics. my $simid = simid_example; # String | ID of the simulation my $jobName = jobName_example; # String | ID of the job eval { - my $result = $api_instance->getStandardJobTasks(body => $body, simid => $simid, jobName => $jobName); + my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName); print Dumper($result); }; if ($@) { @@ -7898,13 +7929,12 @@

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Job_name_tasks_body | Job characteristics. simid = simid_example # String | ID of the simulation jobName = jobName_example # String | ID of the job try: # Retrieve job's tasks - api_response = api_instance.get_standard_job_tasks(body, simid, jobName) + api_response = api_instance.get_standard_job_tasks(simid, jobName) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
@@ -7966,50 +7996,6 @@

Parameters

-
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
@@ -8436,7 +8422,7 @@

getTaskInputFiles


-
/simulation/{simid}/tasks/{tid}/inputFiles
+
/simulation/{simid}/tasks/{tid}/inputFiles

Usage and SDK Samples

@@ -8456,9 +8442,8 @@

Usage and SDK Samples

-
curl -X POST\
+                           
curl -X GET\
 -H "Accept: application/json"\
--H "Content-Type: application/json"\
 "https://wrench-project.org/v1/simulation/{simid}/tasks/{tid}/inputFiles"
@@ -8475,11 +8460,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_inputFiles_body body = ; // Tid_inputFiles_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); @@ -8496,11 +8480,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_inputFiles_body body = ; // Tid_inputFiles_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); @@ -8514,15 +8497,13 @@

Usage and SDK Samples

Coming Soon!
-->
-
Tid_inputFiles_body *body = ; // Job characteristics.
-String *simid = simid_example; // ID of the simulation
+                              
String *simid = simid_example; // ID of the simulation
 String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
 // Retrieve task's input files
-[apiInstance getTaskInputFilesWith:body
-    simid:simid
+[apiInstance getTaskInputFilesWith:simid
     tid:tid
               completionHandler: ^(FileList output, NSError* error) {
                             if (output) {
@@ -8539,7 +8520,6 @@ 

Usage and SDK Samples

var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Tid_inputFiles_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
 var tid = tid_example; // {{String}} ID of the task
 
@@ -8550,7 +8530,7 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskInputFiles(bodysimidtid, callback); +api.getTaskInputFiles(simid, tid, callback);
@@ -8572,14 +8552,13 @@

Usage and SDK Samples

{ var apiInstance = new WRENCHApi(); - var body = new Tid_inputFiles_body(); // Tid_inputFiles_body | Job characteristics. var simid = simid_example; // String | ID of the simulation var tid = tid_example; // String | ID of the task try { // Retrieve task's input files - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); Debug.WriteLine(result); } catch (Exception e) @@ -8597,12 +8576,11 @@

Usage and SDK Samples

require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiWRENCHApi(); -$body = ; // Tid_inputFiles_body | Job characteristics. $simid = simid_example; // String | ID of the simulation $tid = tid_example; // String | ID of the task try { - $result = $api_instance->getTaskInputFiles($body, $simid, $tid); + $result = $api_instance->getTaskInputFiles($simid, $tid); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL; @@ -8616,12 +8594,11 @@

Usage and SDK Samples

use WWW::SwaggerClient::WRENCHApi; my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); -my $body = WWW::SwaggerClient::Object::Tid_inputFiles_body->new(); # Tid_inputFiles_body | Job characteristics. my $simid = simid_example; # String | ID of the simulation my $tid = tid_example; # String | ID of the task eval { - my $result = $api_instance->getTaskInputFiles(body => $body, simid => $simid, tid => $tid); + my $result = $api_instance->getTaskInputFiles(simid => $simid, tid => $tid); print Dumper($result); }; if ($@) { @@ -8638,13 +8615,12 @@

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_inputFiles_body | Job characteristics. simid = simid_example # String | ID of the simulation tid = tid_example # String | ID of the task try: # Retrieve task's input files - api_response = api_instance.get_task_input_files(body, simid, tid) + api_response = api_instance.get_task_input_files(simid, tid) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
@@ -8706,50 +8682,6 @@

Parameters

-
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
@@ -9850,8 +9782,351 @@

Status: 405 - Invalid input


-
-
+
+
+
+

getTaskOutputFiles

+

Retrieve task's output files

+
+
+
+

+

+

+
+
/simulation/{simid}/tasks/{tid}/outputFiles
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/tasks/{tid}/outputFiles"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.WRENCHApi;
+
+import java.io.File;
+import java.util.*;
+
+public class WRENCHApiExample {
+
+    public static void main(String[] args) {
+        
+        WRENCHApi apiInstance = new WRENCHApi();
+        String simid = simid_example; // String | ID of the simulation
+        String tid = tid_example; // String | ID of the task
+        try {
+            FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+    public static void main(String[] args) {
+        WRENCHApi apiInstance = new WRENCHApi();
+        String simid = simid_example; // String | ID of the simulation
+        String tid = tid_example; // String | ID of the task
+        try {
+            FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
String *simid = simid_example; // ID of the simulation
+String *tid = tid_example; // ID of the task
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve task's output files
+[apiInstance getTaskOutputFilesWith:simid
+    tid:tid
+              completionHandler: ^(FileList output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var WrenchRestApi = require('wrench_rest_api');
+
+var api = new WrenchRestApi.WRENCHApi()
+var simid = simid_example; // {{String}} ID of the simulation
+var tid = tid_example; // {{String}} ID of the task
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.getTaskOutputFiles(simid, tid, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class getTaskOutputFilesExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new WRENCHApi();
+            var simid = simid_example;  // String | ID of the simulation
+            var tid = tid_example;  // String | ID of the task
+
+            try
+            {
+                // Retrieve task's output files
+                FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of the simulation
+$tid = tid_example; // String | ID of the task
+
+try {
+    $result = $api_instance->getTaskOutputFiles($simid, $tid);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::WRENCHApi;
+
+my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $simid = simid_example; # String | ID of the simulation
+my $tid = tid_example; # String | ID of the task
+
+eval { 
+    my $result = $api_instance->getTaskOutputFiles(simid => $simid, tid => $tid);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+import time
+import swagger_client
+from swagger_client.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_client.WRENCHApi()
+simid = simid_example # String | ID of the simulation
+tid = tid_example # String | ID of the task
+
+try: 
+    # Retrieve task's output files
+    api_response = api_instance.get_task_output_files(simid, tid)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + + + + +
NameDescription
simid* + + +
+
+
+ + String + + +
+ ID of the simulation +
+
+
+ Required +
+
+
+
tid* + + +
+
+
+ + String + + +
+ ID of the task +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Task not found

+ + + +
+
+ +

Status: 405 - Invalid input

+ + + +
+
+ +
+
+
+
+

shutdownVM

Shutdown a VM.

@@ -10898,7 +11173,7 @@

submitStandardJob


-
/simulation/{simid}/{job_name}/submit
+
/simulation/{simid}/jobs/{job_name}/submit

Usage and SDK Samples

@@ -10921,7 +11196,7 @@

Usage and SDK Samples

curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{job_name}/submit"
+"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/submit"
import io.swagger.client.*;
@@ -11327,7 +11602,7 @@ 

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs"); @@ -11346,7 +11621,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs"); @@ -11366,7 +11641,7 @@

Usage and SDK Samples

// Returns true if the service supports compound jobs. [apiInstance supportsCompoundJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -11417,7 +11692,7 @@

Usage and SDK Samples

try { // Returns true if the service supports compound jobs. - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -11539,7 +11814,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } } @@ -11631,7 +11906,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsPilotJobs"); @@ -11650,7 +11925,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsPilotJobs"); @@ -11670,7 +11945,7 @@

Usage and SDK Samples

// Returns true if the service supports pilot jobs. [apiInstance supportsPilotJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -11721,7 +11996,7 @@

Usage and SDK Samples

try { // Returns true if the service supports pilot jobs. - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -11843,7 +12118,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } } @@ -11935,7 +12210,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsStandardJobs"); @@ -11954,7 +12229,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsStandardJobs"); @@ -11974,7 +12249,7 @@

Usage and SDK Samples

// Returns true if the service supports standard jobs. [apiInstance supportsStandardJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -12025,7 +12300,7 @@

Usage and SDK Samples

try { // Returns true if the service supports standard jobs. - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -12147,7 +12422,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } } diff --git a/latest/.doctrees/environment.pickle b/latest/.doctrees/environment.pickle index cf7d36f7be..260d6c3ace 100644 Binary files a/latest/.doctrees/environment.pickle and b/latest/.doctrees/environment.pickle differ diff --git a/latest/restapi/index.html b/latest/restapi/index.html index 7c7f1bc828..19102c6147 100644 --- a/latest/restapi/index.html +++ b/latest/restapi/index.html @@ -689,6 +689,23 @@ -
- - - @@ -6716,7 +6756,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/FileResponse" + "$ref" : "#/components/schemas/FileSizeResponse" } } } @@ -7432,7 +7472,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getSimulationTime"); @@ -7451,7 +7491,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getSimulationTime"); @@ -7471,7 +7511,7 @@

Usage and SDK Samples

// Retrieve the current simulated time. [apiInstance getSimulationTimeWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(TimeResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -7522,7 +7562,7 @@

Usage and SDK Samples

try { // Retrieve the current simulated time. - GenericResponse result = apiInstance.getSimulationTime(simid); + TimeResponse result = apiInstance.getSimulationTime(simid); Debug.WriteLine(result); } catch (Exception e) @@ -7644,7 +7684,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/TimeResponse" } } } @@ -7718,7 +7758,6 @@

Usage and SDK Samples

curl -X GET\
 -H "Accept: application/json"\
--H "Content-Type: application/json"\
 "https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/tasks"
@@ -7735,11 +7774,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Job_name_tasks_body body = ; // Job_name_tasks_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String jobName = jobName_example; // String | ID of the job try { - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); @@ -7756,11 +7794,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Job_name_tasks_body body = ; // Job_name_tasks_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String jobName = jobName_example; // String | ID of the job try { - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getStandardJobTasks"); @@ -7774,15 +7811,13 @@

Usage and SDK Samples

Coming Soon!
-->
-
Job_name_tasks_body *body = ; // Job characteristics.
-String *simid = simid_example; // ID of the simulation
+                              
String *simid = simid_example; // ID of the simulation
 String *jobName = jobName_example; // ID of the job
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
 // Retrieve job's tasks
-[apiInstance getStandardJobTasksWith:body
-    simid:simid
+[apiInstance getStandardJobTasksWith:simid
     jobName:jobName
               completionHandler: ^(TaskList output, NSError* error) {
                             if (output) {
@@ -7799,7 +7834,6 @@ 

Usage and SDK Samples

var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Job_name_tasks_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
 var jobName = jobName_example; // {{String}} ID of the job
 
@@ -7810,7 +7844,7 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getStandardJobTasks(bodysimidjobName, callback); +api.getStandardJobTasks(simid, jobName, callback);
@@ -7832,14 +7866,13 @@

Usage and SDK Samples

{ var apiInstance = new WRENCHApi(); - var body = new Job_name_tasks_body(); // Job_name_tasks_body | Job characteristics. var simid = simid_example; // String | ID of the simulation var jobName = jobName_example; // String | ID of the job try { // Retrieve job's tasks - TaskList result = apiInstance.getStandardJobTasks(body, simid, jobName); + TaskList result = apiInstance.getStandardJobTasks(simid, jobName); Debug.WriteLine(result); } catch (Exception e) @@ -7857,12 +7890,11 @@

Usage and SDK Samples

require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiWRENCHApi(); -$body = ; // Job_name_tasks_body | Job characteristics. $simid = simid_example; // String | ID of the simulation $jobName = jobName_example; // String | ID of the job try { - $result = $api_instance->getStandardJobTasks($body, $simid, $jobName); + $result = $api_instance->getStandardJobTasks($simid, $jobName); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->getStandardJobTasks: ', $e->getMessage(), PHP_EOL; @@ -7876,12 +7908,11 @@

Usage and SDK Samples

use WWW::SwaggerClient::WRENCHApi; my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); -my $body = WWW::SwaggerClient::Object::Job_name_tasks_body->new(); # Job_name_tasks_body | Job characteristics. my $simid = simid_example; # String | ID of the simulation my $jobName = jobName_example; # String | ID of the job eval { - my $result = $api_instance->getStandardJobTasks(body => $body, simid => $simid, jobName => $jobName); + my $result = $api_instance->getStandardJobTasks(simid => $simid, jobName => $jobName); print Dumper($result); }; if ($@) { @@ -7898,13 +7929,12 @@

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Job_name_tasks_body | Job characteristics. simid = simid_example # String | ID of the simulation jobName = jobName_example # String | ID of the job try: # Retrieve job's tasks - api_response = api_instance.get_standard_job_tasks(body, simid, jobName) + api_response = api_instance.get_standard_job_tasks(simid, jobName) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->getStandardJobTasks: %s\n" % e)
@@ -7966,50 +7996,6 @@

Parameters

-
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
@@ -8436,7 +8422,7 @@

getTaskInputFiles


-
/simulation/{simid}/tasks/{tid}/inputFiles
+
/simulation/{simid}/tasks/{tid}/inputFiles

Usage and SDK Samples

@@ -8456,9 +8442,8 @@

Usage and SDK Samples

-
curl -X POST\
+                           
curl -X GET\
 -H "Accept: application/json"\
--H "Content-Type: application/json"\
 "https://wrench-project.org/v1/simulation/{simid}/tasks/{tid}/inputFiles"
@@ -8475,11 +8460,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_inputFiles_body body = ; // Tid_inputFiles_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); @@ -8496,11 +8480,10 @@

Usage and SDK Samples

public static void main(String[] args) { WRENCHApi apiInstance = new WRENCHApi(); - Tid_inputFiles_body body = ; // Tid_inputFiles_body | Job characteristics. String simid = simid_example; // String | ID of the simulation String tid = tid_example; // String | ID of the task try { - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#getTaskInputFiles"); @@ -8514,15 +8497,13 @@

Usage and SDK Samples

Coming Soon!
-->
-
Tid_inputFiles_body *body = ; // Job characteristics.
-String *simid = simid_example; // ID of the simulation
+                              
String *simid = simid_example; // ID of the simulation
 String *tid = tid_example; // ID of the task
 
 WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
 
 // Retrieve task's input files
-[apiInstance getTaskInputFilesWith:body
-    simid:simid
+[apiInstance getTaskInputFilesWith:simid
     tid:tid
               completionHandler: ^(FileList output, NSError* error) {
                             if (output) {
@@ -8539,7 +8520,6 @@ 

Usage and SDK Samples

var WrenchRestApi = require('wrench_rest_api');
 
 var api = new WrenchRestApi.WRENCHApi()
-var body = ; // {{Tid_inputFiles_body}} Job characteristics.
 var simid = simid_example; // {{String}} ID of the simulation
 var tid = tid_example; // {{String}} ID of the task
 
@@ -8550,7 +8530,7 @@ 

Usage and SDK Samples

console.log('API called successfully. Returned data: ' + data); } }; -api.getTaskInputFiles(bodysimidtid, callback); +api.getTaskInputFiles(simid, tid, callback);
@@ -8572,14 +8552,13 @@

Usage and SDK Samples

{ var apiInstance = new WRENCHApi(); - var body = new Tid_inputFiles_body(); // Tid_inputFiles_body | Job characteristics. var simid = simid_example; // String | ID of the simulation var tid = tid_example; // String | ID of the task try { // Retrieve task's input files - FileList result = apiInstance.getTaskInputFiles(body, simid, tid); + FileList result = apiInstance.getTaskInputFiles(simid, tid); Debug.WriteLine(result); } catch (Exception e) @@ -8597,12 +8576,11 @@

Usage and SDK Samples

require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Swagger\Client\ApiWRENCHApi(); -$body = ; // Tid_inputFiles_body | Job characteristics. $simid = simid_example; // String | ID of the simulation $tid = tid_example; // String | ID of the task try { - $result = $api_instance->getTaskInputFiles($body, $simid, $tid); + $result = $api_instance->getTaskInputFiles($simid, $tid); print_r($result); } catch (Exception $e) { echo 'Exception when calling WRENCHApi->getTaskInputFiles: ', $e->getMessage(), PHP_EOL; @@ -8616,12 +8594,11 @@

Usage and SDK Samples

use WWW::SwaggerClient::WRENCHApi; my $api_instance = WWW::SwaggerClient::WRENCHApi->new(); -my $body = WWW::SwaggerClient::Object::Tid_inputFiles_body->new(); # Tid_inputFiles_body | Job characteristics. my $simid = simid_example; # String | ID of the simulation my $tid = tid_example; # String | ID of the task eval { - my $result = $api_instance->getTaskInputFiles(body => $body, simid => $simid, tid => $tid); + my $result = $api_instance->getTaskInputFiles(simid => $simid, tid => $tid); print Dumper($result); }; if ($@) { @@ -8638,13 +8615,12 @@

Usage and SDK Samples

# create an instance of the API class api_instance = swagger_client.WRENCHApi() -body = # Tid_inputFiles_body | Job characteristics. simid = simid_example # String | ID of the simulation tid = tid_example # String | ID of the task try: # Retrieve task's input files - api_response = api_instance.get_task_input_files(body, simid, tid) + api_response = api_instance.get_task_input_files(simid, tid) pprint(api_response) except ApiException as e: print("Exception when calling WRENCHApi->getTaskInputFiles: %s\n" % e)
@@ -8706,50 +8682,6 @@

Parameters

-
Body parameters
- - - - - - - - -
NameDescription
body * - - - -
-
@@ -9850,8 +9782,351 @@

Status: 405 - Invalid input


-
-
+
+
+
+

getTaskOutputFiles

+

Retrieve task's output files

+
+
+
+

+

+

+
+
/simulation/{simid}/tasks/{tid}/outputFiles
+

+

Usage and SDK Samples

+

+ + +
+
+
curl -X GET\
+-H "Accept: application/json"\
+"https://wrench-project.org/v1/simulation/{simid}/tasks/{tid}/outputFiles"
+
+
+
import io.swagger.client.*;
+import io.swagger.client.auth.*;
+import io.swagger.client.model.*;
+import io.swagger.client.api.WRENCHApi;
+
+import java.io.File;
+import java.util.*;
+
+public class WRENCHApiExample {
+
+    public static void main(String[] args) {
+        
+        WRENCHApi apiInstance = new WRENCHApi();
+        String simid = simid_example; // String | ID of the simulation
+        String tid = tid_example; // String | ID of the task
+        try {
+            FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
import io.swagger.client.api.WRENCHApi;
+
+public class WRENCHApiExample {
+
+    public static void main(String[] args) {
+        WRENCHApi apiInstance = new WRENCHApi();
+        String simid = simid_example; // String | ID of the simulation
+        String tid = tid_example; // String | ID of the task
+        try {
+            FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+            System.out.println(result);
+        } catch (ApiException e) {
+            System.err.println("Exception when calling WRENCHApi#getTaskOutputFiles");
+            e.printStackTrace();
+        }
+    }
+}
+
+ +
+
String *simid = simid_example; // ID of the simulation
+String *tid = tid_example; // ID of the task
+
+WRENCHApi *apiInstance = [[WRENCHApi alloc] init];
+
+// Retrieve task's output files
+[apiInstance getTaskOutputFilesWith:simid
+    tid:tid
+              completionHandler: ^(FileList output, NSError* error) {
+                            if (output) {
+                                NSLog(@"%@", output);
+                            }
+                            if (error) {
+                                NSLog(@"Error: %@", error);
+                            }
+                        }];
+
+
+ +
+
var WrenchRestApi = require('wrench_rest_api');
+
+var api = new WrenchRestApi.WRENCHApi()
+var simid = simid_example; // {{String}} ID of the simulation
+var tid = tid_example; // {{String}} ID of the task
+
+var callback = function(error, data, response) {
+  if (error) {
+    console.error(error);
+  } else {
+    console.log('API called successfully. Returned data: ' + data);
+  }
+};
+api.getTaskOutputFiles(simid, tid, callback);
+
+
+ + +
+
using System;
+using System.Diagnostics;
+using IO.Swagger.Api;
+using IO.Swagger.Client;
+using IO.Swagger.Model;
+
+namespace Example
+{
+    public class getTaskOutputFilesExample
+    {
+        public void main()
+        {
+
+            var apiInstance = new WRENCHApi();
+            var simid = simid_example;  // String | ID of the simulation
+            var tid = tid_example;  // String | ID of the task
+
+            try
+            {
+                // Retrieve task's output files
+                FileList result = apiInstance.getTaskOutputFiles(simid, tid);
+                Debug.WriteLine(result);
+            }
+            catch (Exception e)
+            {
+                Debug.Print("Exception when calling WRENCHApi.getTaskOutputFiles: " + e.Message );
+            }
+        }
+    }
+}
+
+
+ +
+
<?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\ApiWRENCHApi();
+$simid = simid_example; // String | ID of the simulation
+$tid = tid_example; // String | ID of the task
+
+try {
+    $result = $api_instance->getTaskOutputFiles($simid, $tid);
+    print_r($result);
+} catch (Exception $e) {
+    echo 'Exception when calling WRENCHApi->getTaskOutputFiles: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+ +
+
use Data::Dumper;
+use WWW::SwaggerClient::Configuration;
+use WWW::SwaggerClient::WRENCHApi;
+
+my $api_instance = WWW::SwaggerClient::WRENCHApi->new();
+my $simid = simid_example; # String | ID of the simulation
+my $tid = tid_example; # String | ID of the task
+
+eval { 
+    my $result = $api_instance->getTaskOutputFiles(simid => $simid, tid => $tid);
+    print Dumper($result);
+};
+if ($@) {
+    warn "Exception when calling WRENCHApi->getTaskOutputFiles: $@\n";
+}
+
+ +
+
from __future__ import print_statement
+import time
+import swagger_client
+from swagger_client.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_client.WRENCHApi()
+simid = simid_example # String | ID of the simulation
+tid = tid_example # String | ID of the task
+
+try: 
+    # Retrieve task's output files
+    api_response = api_instance.get_task_output_files(simid, tid)
+    pprint(api_response)
+except ApiException as e:
+    print("Exception when calling WRENCHApi->getTaskOutputFiles: %s\n" % e)
+
+
+ +

Parameters

+ +
Path parameters
+ + + + + + + + + + + +
NameDescription
simid* + + +
+
+
+ + String + + +
+ ID of the simulation +
+
+
+ Required +
+
+
+
tid* + + +
+
+
+ + String + + +
+ ID of the task +
+
+
+ Required +
+
+
+
+ + + + + +

Responses

+

Status: 200 - OK

+ + + +
+
+
+ +
+ +
+
+ +

Status: 404 - Task not found

+ + + +
+
+ +

Status: 405 - Invalid input

+ + + +
+
+ +
+
+
+
+

shutdownVM

Shutdown a VM.

@@ -10898,7 +11173,7 @@

submitStandardJob


-
/simulation/{simid}/{job_name}/submit
+
/simulation/{simid}/jobs/{job_name}/submit

Usage and SDK Samples

@@ -10921,7 +11196,7 @@

Usage and SDK Samples

curl -X POST\
 -H "Accept: application/json"\
 -H "Content-Type: application/json"\
-"https://wrench-project.org/v1/simulation/{simid}/{job_name}/submit"
+"https://wrench-project.org/v1/simulation/{simid}/jobs/{job_name}/submit"
import io.swagger.client.*;
@@ -11327,7 +11602,7 @@ 

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs"); @@ -11346,7 +11621,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsCompoundJobs"); @@ -11366,7 +11641,7 @@

Usage and SDK Samples

// Returns true if the service supports compound jobs. [apiInstance supportsCompoundJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -11417,7 +11692,7 @@

Usage and SDK Samples

try { // Returns true if the service supports compound jobs. - GenericResponse result = apiInstance.supportsCompoundJobs(simid); + BooleanResponse result = apiInstance.supportsCompoundJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -11539,7 +11814,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } } @@ -11631,7 +11906,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsPilotJobs"); @@ -11650,7 +11925,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsPilotJobs"); @@ -11670,7 +11945,7 @@

Usage and SDK Samples

// Returns true if the service supports pilot jobs. [apiInstance supportsPilotJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -11721,7 +11996,7 @@

Usage and SDK Samples

try { // Returns true if the service supports pilot jobs. - GenericResponse result = apiInstance.supportsPilotJobs(simid); + BooleanResponse result = apiInstance.supportsPilotJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -11843,7 +12118,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } } @@ -11935,7 +12210,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsStandardJobs"); @@ -11954,7 +12229,7 @@

Usage and SDK Samples

WRENCHApi apiInstance = new WRENCHApi(); String simid = simid_example; // String | ID of the simulation try { - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling WRENCHApi#supportsStandardJobs"); @@ -11974,7 +12249,7 @@

Usage and SDK Samples

// Returns true if the service supports standard jobs. [apiInstance supportsStandardJobsWith:simid - completionHandler: ^(GenericResponse output, NSError* error) { + completionHandler: ^(BooleanResponse output, NSError* error) { if (output) { NSLog(@"%@", output); } @@ -12025,7 +12300,7 @@

Usage and SDK Samples

try { // Returns true if the service supports standard jobs. - GenericResponse result = apiInstance.supportsStandardJobs(simid); + BooleanResponse result = apiInstance.supportsStandardJobs(simid); Debug.WriteLine(result); } catch (Exception e) @@ -12147,7 +12422,7 @@

Status: 200 - OK

"content" : { "application/json" : { "schema" : { - "$ref" : "#/components/schemas/GenericResponse" + "$ref" : "#/components/schemas/BooleanResponse" } } }