Skip to main content

Fyn-Tech API

Project description

fyn-api-client

Schema for the REST API of fyn-api

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

  • API version: 0.0.1
  • Package version: 0.0.18
  • Generator version: 7.18.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 fyn_api_client

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 fyn_api_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import fyn_api_client
from fyn_api_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.fyn-tech.com
# See configuration.py for a list of all supported configuration parameters.
configuration = fyn_api_client.Configuration(
    host = "https://api.fyn-tech.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: basicAuth
configuration = fyn_api_client.Configuration(
    username = os.environ["USERNAME"],
    password = os.environ["PASSWORD"]
)

# Configure API key authorization: tokenAuth
configuration.api_key['tokenAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['tokenAuth'] = 'Bearer'

# Configure Bearer authorization (JWT): jwtAuth
configuration = fyn_api_client.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Configure API key authorization: runnerTokenAuth
configuration.api_key['runnerTokenAuth'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['runnerTokenAuth'] = 'Bearer'


# Enter a context with an instance of the API client
with fyn_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = fyn_api_client.AccountsApi(api_client)
    user_request = fyn_api_client.UserRequest() # UserRequest | 

    try:
        api_response = api_instance.accounts_users_create(user_request)
        print("The response of AccountsApi->accounts_users_create:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AccountsApi->accounts_users_create: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.fyn-tech.com

Class Method HTTP request Description
AccountsApi accounts_users_create POST /accounts/users/
AccountsApi accounts_users_destroy DELETE /accounts/users/{id}/
AccountsApi accounts_users_partial_update PATCH /accounts/users/{id}/
AccountsApi accounts_users_retrieve GET /accounts/users/{id}/
AccountsApi accounts_users_update PUT /accounts/users/{id}/
AccountsApi accounts_users_update_password_create POST /accounts/users/{id}/update-password/
ApiApi api_token_create POST /api/token/
ApiApi api_token_refresh_create POST /api/token/refresh/
ApiApi api_token_verify_create POST /api/token/verify/
ApplicationRegistryApi application_registry_list GET /application_registry/
ApplicationRegistryApi application_registry_program_retrieve GET /application_registry/{id}/program/
ApplicationRegistryApi application_registry_program_schema_retrieve GET /application_registry/{id}/program_schema/
ApplicationRegistryApi application_registry_retrieve GET /application_registry/{id}/
AuthApi auth_user_login_create POST /auth/user/login/ User login (DEPRECATED - Use /api/token/ instead)
AuthApi auth_user_logout_create POST /auth/user/logout/ User logout
JobManagerApi job_manager_resources_runner_create POST /job_manager/resources/runner/
JobManagerApi job_manager_resources_runner_destroy DELETE /job_manager/resources/runner/{id}/
JobManagerApi job_manager_resources_runner_download_retrieve GET /job_manager/resources/runner/{id}/download/
JobManagerApi job_manager_resources_runner_list GET /job_manager/resources/runner/
JobManagerApi job_manager_resources_runner_partial_update PATCH /job_manager/resources/runner/{id}/
JobManagerApi job_manager_resources_runner_retrieve GET /job_manager/resources/runner/{id}/
JobManagerApi job_manager_resources_runner_update PUT /job_manager/resources/runner/{id}/
JobManagerApi job_manager_resources_users_create POST /job_manager/resources/users/
JobManagerApi job_manager_resources_users_destroy DELETE /job_manager/resources/users/{id}/
JobManagerApi job_manager_resources_users_list GET /job_manager/resources/users/
JobManagerApi job_manager_resources_users_partial_update PATCH /job_manager/resources/users/{id}/
JobManagerApi job_manager_resources_users_retrieve GET /job_manager/resources/users/{id}/
JobManagerApi job_manager_resources_users_update PUT /job_manager/resources/users/{id}/
JobManagerApi job_manager_runner_create POST /job_manager/runner/
JobManagerApi job_manager_runner_destroy DELETE /job_manager/runner/{id}/
JobManagerApi job_manager_runner_list GET /job_manager/runner/
JobManagerApi job_manager_runner_partial_update PATCH /job_manager/runner/{id}/
JobManagerApi job_manager_runner_retrieve GET /job_manager/runner/{id}/
JobManagerApi job_manager_runner_update PUT /job_manager/runner/{id}/
JobManagerApi job_manager_users_create POST /job_manager/users/
JobManagerApi job_manager_users_destroy DELETE /job_manager/users/{id}/
JobManagerApi job_manager_users_list GET /job_manager/users/
JobManagerApi job_manager_users_partial_update PATCH /job_manager/users/{id}/
JobManagerApi job_manager_users_retrieve GET /job_manager/users/{id}/
JobManagerApi job_manager_users_update PUT /job_manager/users/{id}/
RunnerManagerApi runner_manager_runner_create POST /runner_manager/runner/
RunnerManagerApi runner_manager_runner_destroy DELETE /runner_manager/runner/{id}/
RunnerManagerApi runner_manager_runner_list GET /runner_manager/runner/
RunnerManagerApi runner_manager_runner_partial_update PATCH /runner_manager/runner/{id}/
RunnerManagerApi runner_manager_runner_retrieve GET /runner_manager/runner/{id}/
RunnerManagerApi runner_manager_runner_update PUT /runner_manager/runner/{id}/
RunnerManagerApi runner_manager_users_create POST /runner_manager/users/
RunnerManagerApi runner_manager_users_destroy DELETE /runner_manager/users/{id}/
RunnerManagerApi runner_manager_users_list GET /runner_manager/users/
RunnerManagerApi runner_manager_users_partial_update PATCH /runner_manager/users/{id}/
RunnerManagerApi runner_manager_users_retrieve GET /runner_manager/users/{id}/
RunnerManagerApi runner_manager_users_update PUT /runner_manager/users/{id}/

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • Type: HTTP basic authentication

jwtAuth

  • Type: Bearer authentication (JWT)

runnerTokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

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

fyn_api_client-0.0.18.tar.gz (51.3 kB view details)

Uploaded Source

Built Distribution

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

fyn_api_client-0.0.18-py3-none-any.whl (88.5 kB view details)

Uploaded Python 3

File details

Details for the file fyn_api_client-0.0.18.tar.gz.

File metadata

  • Download URL: fyn_api_client-0.0.18.tar.gz
  • Upload date:
  • Size: 51.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fyn_api_client-0.0.18.tar.gz
Algorithm Hash digest
SHA256 44001540fe1d61efddd994d4640f6b35545331fa1e4a22ed4db91de26059209f
MD5 8ded5800054338a74b4dadfbde20e783
BLAKE2b-256 d3cde39b9475101a4ee71b04ed0324239cc41b5a9035d06d6639e8c5cc02ea68

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyn_api_client-0.0.18.tar.gz:

Publisher: publish_to_pypi.yml on fyn-tech/fyn-api

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

File details

Details for the file fyn_api_client-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for fyn_api_client-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 574595042261764d8b95eefabfe1ac7f020d642891270e308fa8efa16bffb8c8
MD5 2b5e5e3f9bc8231096f7a6f41a0ae77f
BLAKE2b-256 3051492f61afc25a9395bea203833ce8b26269472667504c6d114926b451634d

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyn_api_client-0.0.18-py3-none-any.whl:

Publisher: publish_to_pypi.yml on fyn-tech/fyn-api

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