mentortools/libs/: design-server-connector-v2-0.1.0+2393180341 metadata and description

Simple index Newer version available

Mentortools Design API

author OpenAPI Generator community
author_email OpenAPI Generator Community <team@openapitools.org>
description_content_type text/markdown
keywords OpenAPI, OpenAPI-Generator, Mentortools Design API
project_urls
  • Repository, https://github.com/GIT_USER_ID/GIT_REPO_ID
requires_dist
  • python-dateutil>=2.8.2
  • aiohttp>=3.8.4
  • aiohttp-retry>=2.8.3
  • pydantic>=2
  • typing-extensions>=4.7.1
requires_python >=3.9
File Tox results History
design_server_connector_v2-0.1.0+2393180341-py3-none-any.whl
Size
72 KB
Type
Python Wheel
Python
3
design_server_connector_v2-0.1.0+2393180341.tar.gz
Size
42 KB
Type
Source

design-server-connector-v2

Mentortools service for getting and editing design data

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

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 design_server_connector_v2

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 design_server_connector_v2

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import design_server_connector_v2
from design_server_connector_v2.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 = design_server_connector_v2.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 API key authorization: APIKeyHeader
configuration.api_key['APIKeyHeader'] = os.environ["API_KEY"]

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


# Enter a context with an instance of the API client
async with design_server_connector_v2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = design_server_connector_v2.DefaultApi(api_client)

    try:
        # Active App Design Get
        api_response = await api_instance.active_app_design_get_v1_app_design_active_get()
        print("The response of DefaultApi->active_app_design_get_v1_app_design_active_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->active_app_design_get_v1_app_design_active_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi active_app_design_get_v1_app_design_active_get GET /v1/app/design/active Active App Design Get
DefaultApi active_web_design_get_v1_web_design_active_get GET /v1/web/design/active Active Web Design Get
DefaultApi app_designs_custom_get_v1_app_design_custom_get GET /v1/app/design/custom App Designs Custom Get
DefaultApi app_designs_custom_update_v1_app_design_custom_post POST /v1/app/design/custom App Designs Custom Update
DefaultApi app_designs_get_v1_app_design_get GET /v1/app/design/ App Designs Get
DefaultApi apply_custom_web_design_v1_web_design_custom_apply_patch PATCH /v1/web/design/custom/apply Apply Custom Web Design
DefaultApi font_delete_v1_fonts_font_id_delete DELETE /v1/fonts/{font_id} Font Delete
DefaultApi font_get_v1_fonts_font_id_get GET /v1/fonts/{font_id} Font Get
DefaultApi font_update_v1_fonts_font_id_patch PATCH /v1/fonts/{font_id} Font Update
DefaultApi font_upload_v1_fonts_post POST /v1/fonts/ Font Upload
DefaultApi fonts_get_v1_fonts_get GET /v1/fonts/ Fonts Get
DefaultApi health_check_get GET / Health Check
DefaultApi portal_design_settings_get_v1_portal_settings_get GET /v1/portal/settings/ Portal Design Settings Get
DefaultApi portal_design_settings_update_v1_portal_settings_patch PATCH /v1/portal/settings/ Portal Design Settings Update
DefaultApi web_designs_custom_get_v1_web_design_custom_get GET /v1/web/design/custom Web Designs Custom Get
DefaultApi web_designs_custom_update_v1_web_design_custom_post POST /v1/web/design/custom Web Designs Custom Update
DefaultApi web_designs_get_v1_web_design_get GET /v1/web/design/ Web Designs Get
DefaultApi web_newdesign_get_v1_web_design_newdesign_get GET /v1/web/design/newdesign Web Newdesign Get
DefaultApi web_newdesign_update_v1_web_design_newdesign_post POST /v1/web/design/newdesign Web Newdesign Update

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

APIKeyHeader

Author