Skip to main content

MultiFlexi API

Project description

multiflexi-api-client

MultiFlexi API provides comprehensive access to job execution, application management, and user data operations. The API includes GDPR compliance endpoints for data export (Article 15 - Right of Access) and uses OAuth2 Application Flow for security.

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

  • API version: 1.2.0
  • Package version: 1.1.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 multiflexi_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 multiflexi_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import multiflexi_client
from multiflexi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://virtserver.swaggerhub.com/VitexSoftware/MultiFlexi/1.0.0
# See configuration.py for a list of all supported configuration parameters.
configuration = multiflexi_client.Configuration(
    host = "https://virtserver.swaggerhub.com/VitexSoftware/MultiFlexi/1.0.0"
)

# 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 = multiflexi_client.Configuration(
    username = os.environ["USERNAME"],
    password = os.environ["PASSWORD"]
)


# Enter a context with an instance of the API client
with multiflexi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = multiflexi_client.AppApi(api_client)
    app_id = 56 # int | ID of app to return
    suffix = html # str | force format suffix (default to html)
    limit = 20 # int | maximum number of results to return (optional) (default to 20)

    try:
        # Get App by ID
        api_response = api_instance.get_app_by_id(app_id, suffix, limit=limit)
        print("The response of AppApi->get_app_by_id:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AppApi->get_app_by_id: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://virtserver.swaggerhub.com/VitexSoftware/MultiFlexi/1.0.0

Class Method HTTP request Description
AppApi get_app_by_id GET /app/{appId}.{suffix} Get App by ID
AppApi list_apps GET /apps.{suffix} Show All Apps
AppApi set_app_by_id POST /app/ Create or Update Application
CompanyApi get_company_by_id GET /company/{companyId}.{suffix} Get Company by ID
CompanyApi list_companies GET /companies.{suffix} Show All Companies
CompanyApi set_company_by_id POST /company/ Create or Update Company
DefaultApi get_all_credential_types GET /credential_types.{suffix} Get All Credential Types
DefaultApi get_all_topics GET /topics.{suffix} Get All Topics
DefaultApi get_all_user_credentials GET /credentials.{suffix} Get All User Credentials
DefaultApi get_api_index GET /index.{suffix} Endpoints listing
DefaultApi get_credential GET /credential/{credentialId}.{suffix} Get User Credentials
DefaultApi get_credential_type GET /credential_type/{credentialTypeID}.{suffix} Get Credential Type by ID
DefaultApi get_jobs_status GET /jobs/status.{suffix} Get Jobs Status
DefaultApi get_topic GET /topic/{topicId}.{suffix} Get Topic by ID
DefaultApi login_suffix_get GET /login.{suffix} Return User's token
DefaultApi login_suffix_post POST /login.{suffix} Return User's token
DefaultApi logout_post POST /logout Odhlášení uživatele (invalidate token/session)
DefaultApi ping_suffix_get GET /ping.{suffix} job heartbeat operation
DefaultApi root_get GET / Redirect to index
DefaultApi status_suffix_get GET /status.{suffix} Get API status
DefaultApi update_credential_type POST /credential_type/{credentialTypeID}.{suffix} Update Credential Type
DefaultApi update_credentials POST /credential/{credentialId}.{suffix} Update Credentials
DefaultApi update_topic POST /topic/{topicId}.{suffix} Update Topic
GdprApi download_data_export GET /data-export-download Download personal data export file
GdprApi request_data_export GET /data-export Request personal data export (GDPR Article 15)
GdprApi request_data_export_post POST /data-export Request personal data export (GDPR Article 15)
JobApi getjob_by_id GET /job/{jobId}.{suffix} Get job by ID
JobApi listjobs GET /jobs.{suffix} Show All jobs
JobApi setjob_by_id POST /job/ Create or Update job record
RuntemplateApi get_run_template_by_id GET /runtemplate/{runTemplateId}.{suffix} Get RunTemplate by ID
RuntemplateApi list_run_templates GET /runtemplates.{suffix} Show All RunTemplates
RuntemplateApi set_run_template_by_id POST /runtemplate Create or Update RunTemplate
RuntemplateApi update_run_template_by_id POST /runtemplate/{runTemplateId}.{suffix} Update RunTemplate by ID
UserApi get_user_by_id GET /user/{userId}.{suffix} Get User by ID
UserApi list_users GET /users.{suffix} Show All Users
UserApi set_user_by_id POST /user/ Create or Update User

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

basicAuth

  • 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

multiflexi_client-1.1.0.tar.gz (63.6 kB view details)

Uploaded Source

Built Distribution

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

multiflexi_client-1.1.0-py3-none-any.whl (118.2 kB view details)

Uploaded Python 3

File details

Details for the file multiflexi_client-1.1.0.tar.gz.

File metadata

  • Download URL: multiflexi_client-1.1.0.tar.gz
  • Upload date:
  • Size: 63.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for multiflexi_client-1.1.0.tar.gz
Algorithm Hash digest
SHA256 50d7a6c862d3b5e373b2ae7823eb52109db6ccafbe9f67a8cb4bf8e05aad12e0
MD5 bee03793948807dbf0f773860579ca17
BLAKE2b-256 2a08b7cf1070631394b0180d72de098cdde81b78b53d801894ab2fc1749ac96c

See more details on using hashes here.

File details

Details for the file multiflexi_client-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multiflexi_client-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fe3769e2ce7eb9cf34d54bca566d689cdd68d8fc59b855772a9dafbf43a4e9b
MD5 ed2c14cd6d7a58c30245c4a42a3cac77
BLAKE2b-256 6058c977b89863a9dbc4bf09858c450b094d80e82c407e819c301b9e298257a1

See more details on using hashes here.

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