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
- App
- AppEnvironmentValue
- AppExitCodesInner
- Company
- ConfField
- Configuration
- Credential
- CredentialType
- Customer
- DataExportData
- DataExportDataActivityLogsInner
- DataExportDataAuditTrails
- DataExportDataAuditTrailsDataExportRequestsInner
- DataExportDataCompanyAssociationsInner
- DataExportDataConsentRecords
- DataExportDataConsentRecordsConsentAuditTrailInner
- DataExportDataConsentRecordsConsentRecordsInner
- DataExportDataCredentialsInner
- DataExportDataExportMetadata
- DataExportDataJobHistoryInner
- DataExportDataSessionHistory
- DataExportDataSessionHistoryCurrentSessionInfo
- DataExportDataUserProfile
- DataExportResponse
- DataExportStatusResponse
- DataExportStatusResponseExportsInner
- ErrorResponse
- GetCredentialType200Response
- GetTopic200Response
- Job
- JobsStatus
- LogoutPostRequest
- RequestDataExport200Response
- RequestDataExportPostRequest
- RunTemplate
- Status
- Tag
- Topic
- UpdateCredentials201Response
- UpdateRunTemplateById400Response
- UpdateRunTemplateById404Response
- UpdateRunTemplateById500Response
- UpdateRunTemplateByIdRequest
- User
Documentation For Authorization
Authentication schemes defined for the API:
basicAuth
- Type: HTTP basic authentication
Author
Release files for multiflexi-client 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multiflexi_client-1.1.0.tar.gz | 63.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multiflexi_client-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 181.8 kB
Release files / multiflexi_client-1.1.0.tar.gz
| Download URL | multiflexi_client-1.1.0.tar.gz |
|---|---|
| Size | 63.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50d7a6c862d3b5e373b2ae7823eb52109db6ccafbe9f67a8cb4bf8e05aad12e0
|
|
BLAKE2b-256 checksum How to use checksums |
2a08b7cf1070631394b0180d72de098cdde81b78b53d801894ab2fc1749ac96c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / multiflexi_client-1.1.0-py3-none-any.whl
| Download URL | multiflexi_client-1.1.0-py3-none-any.whl |
|---|---|
| Size | 118.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fe3769e2ce7eb9cf34d54bca566d689cdd68d8fc59b855772a9dafbf43a4e9b
|
|
BLAKE2b-256 checksum How to use checksums |
6058c977b89863a9dbc4bf09858c450b094d80e82c407e819c301b9e298257a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|