OpenAPI-generated Python client
Project description
mantium-spec
Mantium API Documentation
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0.779
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
Requirements.
Python 2.7 and 3.4+
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 mantium_spec
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 mantium_spec
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import mantium_spec
from mantium_spec.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = mantium_spec.Configuration(
host = "http://localhost"
)
# 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 Bearer authorization: HTTPBearer
configuration = mantium_spec.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with mantium_spec.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mantium_spec.ApplicationsApi(api_client)
application_id = 'application_id_example' # str |
body = None # object | (optional)
try:
# Get application detail.
api_response = api_instance.get_application_detail(application_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling ApplicationsApi->get_application_detail: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
ApplicationsApi | get_application_detail | GET /applications/{application_id} | Get application detail. |
ApplicationsApi | list_applications | GET /applications/ | List applications. |
ApplicationsApi | query_application | POST /applications/{application_id}/query | Interact with an application. |
ApplicationsApi | query_chat_application | POST /applications/{application_id}/chat | Interact with a chat application. |
Documentation For Models
- Answer
- AnswerMeta
- ApplicationChatResponse
- ApplicationCredential
- ApplicationDetailResponse
- ApplicationQueryRequest
- ApplicationQueryResponse
- ApplicationResponse
- ApplicationStatus
- ApplicationTopKQueryRequest
- ChatAnswer
- ChatGPTPluginApplicationDetailResponse
- ContentCreationTemplateOptions
- ContentType
- CredentialType
- CursorDatamodelPageApplicationResponse
- CustomTemplateOptions
- CustomerSupportTemplateOptions
- DataSourceType
- Document
- DocumentMetadata
- EventPlanningTemplateOptions
- HTTPValidationError
- LegalDocumentsTemplateOptions
- LocationInner
- MeetingInfoTemplateOptions
- PersonalKnowledgeManagementTemplateOptions
- ProductDocumentationTemplateOptions
- RecipeManagementTemplateOptions
- ResponseGetApplicationDetail
- ShopifyTemplateOptions
- Span
- Template
- ValidationError
Documentation For Authorization
HTTPBearer
- Type: Bearer authentication
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mantium_spec-1.0.779.tar.gz
(39.5 kB
view hashes)
Built Distribution
Close
Hashes for mantium_spec-1.0.779-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca3ef0200e6e98ad4d6f122c9e19f59731e29ba3a4ea087adab72c0e557ff80 |
|
MD5 | 15420d14cb1c6702a8d2c4abfba8a71f |
|
BLAKE2b-256 | d0b1124d2dd95cf564c1f35b86184a74f402f2381036516ed0f8646a01432293 |