All URIs are relative to http://localhost:2005/sdk/v1
Method | HTTP request | Description |
---|---|---|
command_adcs | POST /adcs | |
get_adcs | GET /adcs | |
get_tfrs | GET /tfrs | |
query_available_files | GET /query_available_files/{topic} | |
retrieve_file | POST /retrieve_file | |
send_file | POST /send_file |
AdcsCommandResponse command_adcs(adcs_command_request)
request adcs operation
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
adcs_command_request = oort_sdk_client.AdcsCommandRequest() # AdcsCommandRequest | The file and parameters for sending
try:
api_response = api_instance.command_adcs(adcs_command_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->command_adcs: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
adcs_command_request | AdcsCommandRequest | The file and parameters for sending |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | ERROR | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AdcsResponse get_adcs()
query adcs status
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
try:
api_response = api_instance.get_adcs()
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->get_adcs: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TfrsResponse get_tfrs()
get tfrs values
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
try:
api_response = api_instance.get_tfrs()
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->get_tfrs: %s\n" % e)
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AvailableFilesResponse query_available_files(topic)
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
topic = 'topic_example' # str |
try:
api_response = api_instance.query_available_files(topic)
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->query_available_files: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
topic | str |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FileInfo retrieve_file(retrieve_file_request)
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
retrieve_file_request = oort_sdk_client.RetrieveFileRequest() # RetrieveFileRequest |
try:
api_response = api_instance.retrieve_file(retrieve_file_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->retrieve_file: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
retrieve_file_request | RetrieveFileRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SendFileResponse send_file(send_file_request)
from __future__ import print_function
import time
import oort_sdk_client
from oort_sdk_client.rest import ApiException
from pprint import pprint
# Enter a context with an instance of the API client
with oort_sdk_client.ApiClient() as api_client:
# Create an instance of the API class
api_instance = oort_sdk_client.SdkApi(api_client)
send_file_request = oort_sdk_client.SendFileRequest() # SendFileRequest | The file and parameters for sending
try:
api_response = api_instance.send_file(send_file_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling SdkApi->send_file: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
send_file_request | SendFileRequest | The file and parameters for sending |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad request | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]