You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*AdminResourceApi* | [**get_usage**](docs/AdminResourceApi.md#get_usage) | **GET** /api/v1/admin/usage | Get usage summary
93
93
*BioModelResourceApi* | [**delete_bio_model**](docs/BioModelResourceApi.md#delete_bio_model) | **DELETE** /api/v1/bioModel/{bioModelID} | Delete the BioModel from VCell's database.
94
-
*BioModelResourceApi* | [**get_biomodel_by_id**](docs/BioModelResourceApi.md#get_biomodel_by_id) | **GET** /api/v1/bioModel/{bioModelID} | Get BioModel information in JSON format by ID.
95
-
*BioModelResourceApi* | [**upload_bio_model**](docs/BioModelResourceApi.md#upload_bio_model) | **POST** /api/v1/bioModel/upload_bioModel | Upload the BioModel to VCell database. Returns BioModel ID.
94
+
*BioModelResourceApi* | [**get_bio_model**](docs/BioModelResourceApi.md#get_bio_model) | **GET** /api/v1/bioModel/{bioModelID} | Get BioModel.
95
+
*BioModelResourceApi* | [**get_bio_model_vcml**](docs/BioModelResourceApi.md#get_bio_model_vcml) | **GET** /api/v1/bioModel/{bioModelID}/vcml_download | Get the BioModel in VCML format.
96
+
*BioModelResourceApi* | [**save_bio_model**](docs/BioModelResourceApi.md#save_bio_model) | **POST** /api/v1/bioModel/save | Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
96
97
*FieldDataResourceApi* | [**advanced_create**](docs/FieldDataResourceApi.md#advanced_create) | **POST** /api/v1/fieldData/advancedCreate | Create Field Data with granular detail in one request.The following files are accepted: .tif and .zip.
97
98
*FieldDataResourceApi* | [**analyze_file**](docs/FieldDataResourceApi.md#analyze_file) | **POST** /api/v1/fieldData/analyzeFile | Analyze uploaded image file (Tiff, Zip, and Non-GPL BioFormats) and return field data. Color mapped images not supported (the colors in those images will be interpreted as separate channels). Filenames must be lowercase alphanumeric, and can contain underscores.
98
99
*FieldDataResourceApi* | [**copy_models_field_data**](docs/FieldDataResourceApi.md#copy_models_field_data) | **POST** /api/v1/fieldData/copyModelsFieldData | Copy all existing field data from a BioModel/MathModel that you have access to, but don't own.
Copy file name to clipboardExpand all lines: python-restclient/docs/BioModelResourceApi.md
+94-29Lines changed: 94 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
1
# vcell_client.BioModelResourceApi
2
2
3
-
All URIs are relative to *https://vcell-dev.cam.uchc.edu*
3
+
All URIs are relative to *https://vcell.cam.uchc.edu*
4
4
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
7
[**delete_bio_model**](BioModelResourceApi.md#delete_bio_model) | **DELETE** /api/v1/bioModel/{bioModelID} | Delete the BioModel from VCell's database.
8
-
[**get_biomodel_by_id**](BioModelResourceApi.md#get_biomodel_by_id) | **GET** /api/v1/bioModel/{bioModelID} | Get BioModel information in JSON format by ID.
9
-
[**upload_bio_model**](BioModelResourceApi.md#upload_bio_model) | **POST** /api/v1/bioModel/upload_bioModel | Upload the BioModel to VCell database. Returns BioModel ID.
8
+
[**get_bio_model**](BioModelResourceApi.md#get_bio_model) | **GET** /api/v1/bioModel/{bioModelID} | Get BioModel.
9
+
[**get_bio_model_vcml**](BioModelResourceApi.md#get_bio_model_vcml) | **GET** /api/v1/bioModel/{bioModelID}/vcml_download | Get the BioModel in VCML format.
10
+
[**save_bio_model**](BioModelResourceApi.md#save_bio_model) | **POST** /api/v1/bioModel/save | Save's the given BioModel. Optional parameters of name and simulations to update due to math changes. Returns saved BioModel as VCML.
10
11
11
12
12
13
# **delete_bio_model**
@@ -23,10 +24,10 @@ import vcell_client
23
24
from vcell_client.rest import ApiException
24
25
from pprint import pprint
25
26
26
-
# Defining the host is optional and defaults to https://vcell-dev.cam.uchc.edu
27
+
# Defining the host is optional and defaults to https://vcell.cam.uchc.edu
27
28
# See configuration.py for a list of all supported configuration parameters.
28
29
configuration = vcell_client.Configuration(
29
-
host="https://vcell-dev.cam.uchc.edu"
30
+
host="https://vcell.cam.uchc.edu"
30
31
)
31
32
32
33
@@ -71,10 +72,10 @@ No authorization required
71
72
72
73
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
73
74
74
-
# **get_biomodel_by_id**
75
-
> BioModel get_biomodel_by_id(bio_model_id)
75
+
# **get_bio_model**
76
+
> BioModel get_bio_model(bio_model_id)
76
77
77
-
Get BioModel information in JSON format by ID.
78
+
Get BioModel.
78
79
79
80
### Example
80
81
@@ -86,10 +87,10 @@ from vcell_client.models.bio_model import BioModel
86
87
from vcell_client.rest import ApiException
87
88
from pprint import pprint
88
89
89
-
# Defining the host is optional and defaults to https://vcell-dev.cam.uchc.edu
90
+
# Defining the host is optional and defaults to https://vcell.cam.uchc.edu
90
91
# See configuration.py for a list of all supported configuration parameters.
91
92
configuration = vcell_client.Configuration(
92
-
host="https://vcell-dev.cam.uchc.edu"
93
+
host="https://vcell.cam.uchc.edu"
93
94
)
94
95
95
96
@@ -100,12 +101,12 @@ with vcell_client.ApiClient(configuration) as api_client:
print("The response of BioModelResourceApi->get_bio_model:\n")
106
107
pprint(api_response)
107
108
exceptExceptionas e:
108
-
print("Exception when calling BioModelResourceApi->get_biomodel_by_id: %s\n"% e)
109
+
print("Exception when calling BioModelResourceApi->get_bio_model: %s\n"% e)
109
110
```
110
111
111
112
@@ -132,29 +133,93 @@ No authorization required
132
133
### HTTP response details
133
134
| Status code | Description | Response headers |
134
135
|-------------|-------------|------------------|
135
-
**200** | return BioModel information in JSON format | - |
136
-
**404** | BioModel not found | - |
136
+
**200** | OK | - |
137
+
138
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
139
+
140
+
# **get_bio_model_vcml**
141
+
> str get_bio_model_vcml(bio_model_id)
142
+
143
+
Get the BioModel in VCML format.
144
+
145
+
### Example
146
+
147
+
```python
148
+
import time
149
+
import os
150
+
import vcell_client
151
+
from vcell_client.rest import ApiException
152
+
from pprint import pprint
153
+
154
+
# Defining the host is optional and defaults to https://vcell.cam.uchc.edu
155
+
# See configuration.py for a list of all supported configuration parameters.
156
+
configuration = vcell_client.Configuration(
157
+
host="https://vcell.cam.uchc.edu"
158
+
)
159
+
160
+
161
+
# Enter a context with an instance of the API client
162
+
with vcell_client.ApiClient(configuration) as api_client:
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments