1
- # openapi_client .FileOperationsApi
1
+ # lsf_client .FileOperationsApi
2
2
3
3
All URIs are relative to * http://localhost:8088/lsf *
4
4
@@ -23,13 +23,13 @@ Delete file by a specific path, wildcard '*' and '?' are both supported
23
23
* Api Key Authentication (LSF-Web-Service-authentication):
24
24
25
25
``` python
26
- import openapi_client
27
- from openapi_client .rest import ApiException
26
+ import lsf_client
27
+ from lsf_client .rest import ApiException
28
28
from pprint import pprint
29
29
30
30
# Defining the host is optional and defaults to http://localhost:8088/lsf
31
31
# See configuration.py for a list of all supported configuration parameters.
32
- configuration = openapi_client .Configuration(
32
+ configuration = lsf_client .Configuration(
33
33
host = " http://localhost:8088/lsf"
34
34
)
35
35
@@ -45,9 +45,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
45
45
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
46
46
47
47
# Enter a context with an instance of the API client
48
- with openapi_client .ApiClient(configuration) as api_client:
48
+ with lsf_client .ApiClient(configuration) as api_client:
49
49
# Create an instance of the API class
50
- api_instance = openapi_client .FileOperationsApi(api_client)
50
+ api_instance = lsf_client .FileOperationsApi(api_client)
51
51
file_path = ' file_path_example' # str | base64 encoded file path
52
52
53
53
try :
@@ -104,13 +104,13 @@ Download a single file
104
104
* Api Key Authentication (LSF-Web-Service-authentication):
105
105
106
106
``` python
107
- import openapi_client
108
- from openapi_client .rest import ApiException
107
+ import lsf_client
108
+ from lsf_client .rest import ApiException
109
109
from pprint import pprint
110
110
111
111
# Defining the host is optional and defaults to http://localhost:8088/lsf
112
112
# See configuration.py for a list of all supported configuration parameters.
113
- configuration = openapi_client .Configuration(
113
+ configuration = lsf_client .Configuration(
114
114
host = " http://localhost:8088/lsf"
115
115
)
116
116
@@ -126,9 +126,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
126
126
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
127
127
128
128
# Enter a context with an instance of the API client
129
- with openapi_client .ApiClient(configuration) as api_client:
129
+ with lsf_client .ApiClient(configuration) as api_client:
130
130
# Create an instance of the API class
131
- api_instance = openapi_client .FileOperationsApi(api_client)
131
+ api_instance = lsf_client .FileOperationsApi(api_client)
132
132
file_path = ' file_path_example' # str | base64 encoded file path
133
133
134
134
try :
@@ -187,14 +187,14 @@ List file under a specific path
187
187
* Api Key Authentication (LSF-Web-Service-authentication):
188
188
189
189
``` python
190
- import openapi_client
191
- from openapi_client .models.tree_node import TreeNode
192
- from openapi_client .rest import ApiException
190
+ import lsf_client
191
+ from lsf_client .models.tree_node import TreeNode
192
+ from lsf_client .rest import ApiException
193
193
from pprint import pprint
194
194
195
195
# Defining the host is optional and defaults to http://localhost:8088/lsf
196
196
# See configuration.py for a list of all supported configuration parameters.
197
- configuration = openapi_client .Configuration(
197
+ configuration = lsf_client .Configuration(
198
198
host = " http://localhost:8088/lsf"
199
199
)
200
200
@@ -210,9 +210,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
210
210
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
211
211
212
212
# Enter a context with an instance of the API client
213
- with openapi_client .ApiClient(configuration) as api_client:
213
+ with lsf_client .ApiClient(configuration) as api_client:
214
214
# Create an instance of the API class
215
- api_instance = openapi_client .FileOperationsApi(api_client)
215
+ api_instance = lsf_client .FileOperationsApi(api_client)
216
216
path = ' path_example' # str | (optional)
217
217
218
218
try :
@@ -270,14 +270,14 @@ List repositories to current logged in user
270
270
* Api Key Authentication (LSF-Web-Service-authentication):
271
271
272
272
``` python
273
- import openapi_client
274
- from openapi_client .models.repositories import Repositories
275
- from openapi_client .rest import ApiException
273
+ import lsf_client
274
+ from lsf_client .models.repositories import Repositories
275
+ from lsf_client .rest import ApiException
276
276
from pprint import pprint
277
277
278
278
# Defining the host is optional and defaults to http://localhost:8088/lsf
279
279
# See configuration.py for a list of all supported configuration parameters.
280
- configuration = openapi_client .Configuration(
280
+ configuration = lsf_client .Configuration(
281
281
host = " http://localhost:8088/lsf"
282
282
)
283
283
@@ -293,9 +293,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
293
293
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
294
294
295
295
# Enter a context with an instance of the API client
296
- with openapi_client .ApiClient(configuration) as api_client:
296
+ with lsf_client .ApiClient(configuration) as api_client:
297
297
# Create an instance of the API class
298
- api_instance = openapi_client .FileOperationsApi(api_client)
298
+ api_instance = lsf_client .FileOperationsApi(api_client)
299
299
300
300
try :
301
301
# List repositories
@@ -347,13 +347,13 @@ Upload a single file
347
347
* Api Key Authentication (LSF-Web-Service-authentication):
348
348
349
349
``` python
350
- import openapi_client
351
- from openapi_client .rest import ApiException
350
+ import lsf_client
351
+ from lsf_client .rest import ApiException
352
352
from pprint import pprint
353
353
354
354
# Defining the host is optional and defaults to http://localhost:8088/lsf
355
355
# See configuration.py for a list of all supported configuration parameters.
356
- configuration = openapi_client .Configuration(
356
+ configuration = lsf_client .Configuration(
357
357
host = " http://localhost:8088/lsf"
358
358
)
359
359
@@ -369,9 +369,9 @@ configuration.api_key['LSF-Web-Service-authentication'] = os.environ["API_KEY"]
369
369
# configuration.api_key_prefix['LSF-Web-Service-authentication'] = 'Bearer'
370
370
371
371
# Enter a context with an instance of the API client
372
- with openapi_client .ApiClient(configuration) as api_client:
372
+ with lsf_client .ApiClient(configuration) as api_client:
373
373
# Create an instance of the API class
374
- api_instance = openapi_client .FileOperationsApi(api_client)
374
+ api_instance = lsf_client .FileOperationsApi(api_client)
375
375
file = None # bytearray |
376
376
path = ' path_example' # str | (optional)
377
377
compress = ' compress_example' # str | A filename extension, if specified, the uploaded file will be automatically de-compressed by related command (optional)
0 commit comments