Skip to main content

FastAPI

Project description

across.sdk.v1

Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.4.0
  • Package version: 1.0.0
  • Generator version: 7.14.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import across.sdk.v1

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import across.sdk.v1

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import across.sdk.v1
from across.sdk.v1.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to /api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = across.sdk.v1.Configuration(
    host = "/api/v1"
)



# Enter a context with an instance of the API client
with across.sdk.v1.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = across.sdk.v1.AuthApi(api_client)
    email = 'email_example' # str | 

    try:
        # Local Token
        api_response = api_instance.local_token_auth_local_token_get(email)
        print("The response of AuthApi->local_token_auth_local_token_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->local_token_auth_local_token_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /api/v1

Class Method HTTP request Description
AuthApi local_token_auth_local_token_get GET /auth/local-token Local Token
AuthApi login POST /auth/login Login
AuthApi refresh POST /auth/refresh Refresh Token
AuthApi token POST /auth/token Token
AuthApi verify GET /auth/verify Verify
FilterApi get_filter_filter_id_get GET /filter/{filter_id} Read a filter
FilterApi get_many_filter_get GET /filter/ Read filters(s)
GroupApi get_group GET /group/{group_id} Read a group
GroupApi get_many_group_get GET /group/ Read groups
GroupApi remove_user DELETE /group/{group_id}/user/{user_id} Remove a user from a group
GroupInviteApi delete_invite DELETE /group/{group_id}/invite/{invite_id} Delete a group invite
GroupInviteApi get_invite GET /group/{group_id}/invite/{invite_id} Read a group invite
GroupInviteApi get_invites GET /group/{group_id}/invite Read group invites
GroupInviteApi send_invite POST /group/{group_id}/invite Create and send a group invite
GroupRoleApi assign_to_user PUT /group/{group_id}/user/{user_id}/role/{group_role_id} Assign a group role to a user
GroupRoleApi create_group_role POST /group/{group_id}/role Create a group role
GroupRoleApi delete_group_role DELETE /group/{group_id}/role/{group_role_id} Delete a group role
GroupRoleApi get_group_role GET /group/{group_id}/role/{group_role_id} Read a group role
GroupRoleApi get_group_roles GET /group/{group_id}/role Read group roles
GroupRoleApi remove_from_user DELETE /group/{group_id}/user/{user_id}/role/{group_role_id} Remove a group role from a user
GroupRoleApi update_group_role PUT /group/{group_id}/role/{group_role_id} Update a group role
InstrumentApi get_instrument GET /instrument/{instrument_id} Read an instrument
InstrumentApi get_instruments GET /instrument/ Read instruments(s)
InternalApi get_service_account GET /service-account/{service_account_id} Get a system service account
InternalApi service_account_rotate_key PATCH /service-account/{service_account_id}/rotate_key Rotate a service account key
ObservationApi get_observation GET /observation/{observation_id} Read an observation
ObservationApi get_observations GET /observation/ Read observations(s)
ObservatoryApi get_observatories GET /observatory/ Read observatory(s)
ObservatoryApi get_observatory GET /observatory/{observatory_id} Read an observatory
PermissionApi get_permissions GET /permission/ Read permissions
RoleApi get_many_role_get GET /role/ Read roles
RoleApi get_role_role_id_get GET /role/{role_id} Read a role
ScheduleApi create_many_schedules POST /schedule/bulk Create many Schedules
ScheduleApi create_schedule POST /schedule/ Create a Schedule
ScheduleApi get_schedule GET /schedule/{schedule_id} Read a schedule
ScheduleApi get_schedules GET /schedule/ Read schedule(s)
ScheduleApi get_schedules_history GET /schedule/history Read schedule(s)
ServiceAccountApi assign_to_service_account POST /user/{user_id}/service-account/{service_account_id}/group-role/{group_role_id} Assign group role
ServiceAccountApi create_user_service_account POST /user/{user_id}/service_account/ Create a service account
ServiceAccountApi delete_user_service_account DELETE /user/{user_id}/service_account/{service_account_id} Delete a service_account
ServiceAccountApi get_service_accounts GET /user/{user_id}/service_account/ Read service accounts
ServiceAccountApi get_user_service_account GET /user/{user_id}/service_account/{service_account_id} Read a service account
ServiceAccountApi remove_from_service_account DELETE /user/{user_id}/service-account/{service_account_id}/group-role/{group_role_id} Remove group role
ServiceAccountApi update_user_service_account PATCH /user/{user_id}/service_account/{service_account_id} Update a service account
ServiceAccountApi user_service_account_rotate_key PATCH /user/{user_id}/service_account/{service_account_id}/rotate_key Rotate a service account key
TLEApi create_tle POST /tle/ Create a TLE
TelescopeApi get_telescope GET /telescope/{telescope_id} Read an telescope
TelescopeApi get_telescopes GET /telescope/ Read telescopes(s)
ToolsApi calculate_joint_windows_tools_visibility_calculator_windows_get GET /tools/visibility-calculator/windows/ Calculated Joint Visibility Windows
ToolsApi calculate_joint_windows_tools_visibility_calculator_windows_get_0 GET /tools/visibility-calculator/windows/ Calculated Joint Visibility Windows
ToolsApi calculate_windows_tools_visibility_calculator_windows_instrument_id_get GET /tools/visibility-calculator/windows/{instrument_id} Calculated Visibility Windows
ToolsApi calculate_windows_tools_visibility_calculator_windows_instrument_id_get_0 GET /tools/visibility-calculator/windows/{instrument_id} Calculated Visibility Windows
ToolsApi resolve_tools_resolve_object_get GET /tools/resolve-object/ Resolve an object name
ToolsApi resolve_tools_resolve_object_get_0 GET /tools/resolve-object/ Resolve an object name
UserApi accept_invite PATCH /user/{user_id}/invite/{invite_id} Accept a group invitation
UserApi create_user POST /user/ Create a user
UserApi decline_invite DELETE /user/{user_id}/invite/{invite_id} Decline a group invitation
UserApi delete_user DELETE /user/{user_id} Deactivate a user
UserApi get_group_invites GET /user/{user_id}/invite Read a user's group invites
UserApi get_many_user_get GET /user/ Read users
UserApi get_user GET /user/{user_id} Read a user
UserApi leave_group DELETE /user/{user_id}/group/{group_id} Leave a group
UserApi update_user PATCH /user/{user_id} Update a user

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Authorization

  • Type: Bearer authentication

ServiceAccountAuthorization

  • Type: HTTP basic authentication

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

across_server_openapi_python-1.3.0.tar.gz (89.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

across_server_openapi_python-1.3.0-py3-none-any.whl (211.8 kB view details)

Uploaded Python 3

File details

Details for the file across_server_openapi_python-1.3.0.tar.gz.

File metadata

File hashes

Hashes for across_server_openapi_python-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9c9fa2502dc91b7bc3a8fb46631c4e5949374a55ff626b1058a62fdf66d66e35
MD5 dd29be7ceb71948fed6a6f3e55fd073e
BLAKE2b-256 780e1216677a4690bf006216ca9f987423371f626331dbf91a1ed9bc6d0f6040

See more details on using hashes here.

Provenance

The following attestation bundles were made for across_server_openapi_python-1.3.0.tar.gz:

Publisher: publish-to-pypi.yml on NASA-ACROSS/across-server-openapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file across_server_openapi_python-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for across_server_openapi_python-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93d0773c1c1c3f5a29afd41b2fd95e09f35ae46b175bb604cef327c781b700a0
MD5 4dca9c08cea81a961540375e8bd5a387
BLAKE2b-256 8abc57daffc6cb827bc8067dd5717e54c7534c79bf18c8f89374e931398dfd1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for across_server_openapi_python-1.3.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on NASA-ACROSS/across-server-openapi-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page