mentortools/libs/: landing-page-server-connector-0.2.0+1657583556 metadata and description
Mentortools Landing Page API
| author | OpenAPI Generator Community |
| author_email | team@openapitools.org |
| classifiers |
|
| description_content_type | text/markdown |
| keywords | OpenAPI, OpenAPI-Generator, Mentortools Landing Page API |
| license | NoLicense |
| project_urls |
|
| requires_dist |
|
| requires_python | >=3.8,<4.0 |
| File | Tox results | History |
|---|---|---|
landing_page_server_connector-0.2.0+1657583556-py3-none-any.whl
|
|
|
landing_page_server_connector-0.2.0+1657583556.tar.gz
|
|
landing-page-server-connector
Mentortools service for building and publishing landing pages
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.1.0
- Package version: 0.2.0+1657583556
- Generator version: 7.11.0
- Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
Requirements.
Python 3.7+
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 landing_page_server_connector
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 landing_page_server_connector
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import time
import landing_page_server_connector
from landing_page_server_connector.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 = landing_page_server_connector.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
async with landing_page_server_connector.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = landing_page_server_connector.DefaultApi(api_client)
try:
# Health Check
api_response = await api_instance.health_check_get()
print("The response of DefaultApi->health_check_get:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->health_check_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DefaultApi | health_check_get | GET / | Health Check |
| DefaultApi | landing_form_add_v1_landings_landing_id_forms_post | POST /v1/landings/{landing_id}/forms | Landing Form Add |
| DefaultApi | landing_form_count_v1_landings_landing_id_forms_count_get | GET /v1/landings/{landing_id}/forms/count | Landing Form Count |
| DefaultApi | landing_form_delete_all_v1_landings_landing_id_forms_delete | DELETE /v1/landings/{landing_id}/forms | Landing Form Delete All |
| DefaultApi | landing_form_delete_v1_landings_landing_id_forms_form_id_delete | DELETE /v1/landings/{landing_id}/forms/{form_id} | Landing Form Delete |
| DefaultApi | landing_form_get_v1_landings_landing_id_forms_form_id_get | GET /v1/landings/{landing_id}/forms/{form_id} | Landing Form Get |
| DefaultApi | landing_form_recover_v1_landings_landing_id_forms_form_id_recover_post | POST /v1/landings/{landing_id}/forms/{form_id}/recover | Landing Form Recover |
| DefaultApi | landing_form_update_v1_landings_landing_id_forms_form_id_post | POST /v1/landings/{landing_id}/forms/{form_id} | Landing Form Update |
| DefaultApi | landing_forms_list_v1_landings_landing_id_forms_get | GET /v1/landings/{landing_id}/forms | Landing Forms List |
| DefaultApi | landing_forms_patch_all_v1_landings_landing_id_forms_patch | PATCH /v1/landings/{landing_id}/forms | Landing Forms Patch All |
| DefaultApi | landing_forms_patch_v1_landings_landing_id_forms_form_id_patch | PATCH /v1/landings/{landing_id}/forms/{form_id} | Landing Forms Patch |
| DefaultApi | landing_history_count_v1_landings_landing_id_history_count_get | GET /v1/landings/{landing_id}/history/count | Landing History Count |
| DefaultApi | landing_history_get_v1_landings_landing_id_history_history_id_get | GET /v1/landings/{landing_id}/history/{history_id} | Landing History Get |
| DefaultApi | landing_history_list_v1_landings_landing_id_history_get | GET /v1/landings/{landing_id}/history | Landing History List |
| DefaultApi | landings_add_v1_landings_post | POST /v1/landings/ | Landings Add |
| DefaultApi | landings_count_v1_landings_count_get | GET /v1/landings/count | Landings Count |
| DefaultApi | landings_delete_v1_landings_landing_id_delete | DELETE /v1/landings/{landing_id} | Landings Delete |
| DefaultApi | landings_duplicate_v1_landings_landing_id_duplicate_post | POST /v1/landings/{landing_id}/duplicate | Landings Duplicate |
| DefaultApi | landings_get_v1_landings_landing_id_get | GET /v1/landings/{landing_id} | Landings Get |
| DefaultApi | landings_get_v1_links_landing_uuid_get | GET /v1/links/{landing_uuid} | Landings Get |
| DefaultApi | landings_group_patch_v1_landings_patch | PATCH /v1/landings/ | Landings Group Patch |
| DefaultApi | landings_list_v1_landings_get | GET /v1/landings/ | Landings List |
| DefaultApi | landings_patch_v1_landings_landing_id_patch | PATCH /v1/landings/{landing_id} | Landings Patch |
| DefaultApi | landings_preview_set_v1_landings_landing_id_preview_put | PUT /v1/landings/{landing_id}/preview | Landings Preview Set |
| DefaultApi | landings_publish_v1_landings_landing_id_publish_post | POST /v1/landings/{landing_id}/publish | Landings Publish |
| DefaultApi | landings_recover_v1_landings_landing_id_recover_post | POST /v1/landings/{landing_id}/recover | Landings Recover |
| DefaultApi | landings_unpublish_v1_landings_landing_id_unpublish_post | POST /v1/landings/{landing_id}/unpublish | Landings Unpublish |
| DefaultApi | landings_update_v1_landings_landing_id_post | POST /v1/landings/{landing_id} | Landings Update |
| DefaultApi | submit_form_v1_forms_submit_post | POST /v1/forms/submit | Submit Form |
| DefaultApi | templates_add_v1_admin_templates_post | POST /v1/admin/templates/ | Templates Add |
| DefaultApi | templates_count_v1_admin_templates_count_get | GET /v1/admin/templates/count | Templates Count |
| DefaultApi | templates_delete_v1_admin_templates_template_id_delete | DELETE /v1/admin/templates/{template_id} | Templates Delete |
| DefaultApi | templates_duplicate_v1_admin_templates_template_id_duplicate_post | POST /v1/admin/templates/{template_id}/duplicate | Templates Duplicate |
| DefaultApi | templates_get_v1_admin_templates_template_id_get | GET /v1/admin/templates/{template_id} | Templates Get |
| DefaultApi | templates_group_patch_v1_admin_templates_patch | PATCH /v1/admin/templates/ | Templates Group Patch |
| DefaultApi | templates_list_v1_admin_templates_get | GET /v1/admin/templates/ | Templates List |
| DefaultApi | templates_patch_v1_admin_templates_template_id_patch | PATCH /v1/admin/templates/{template_id} | Templates Patch |
| DefaultApi | templates_preview_set_v1_admin_templates_template_id_preview_put | PUT /v1/admin/templates/{template_id}/preview | Templates Preview Set |
| DefaultApi | templates_public_count_v1_public_templates_count_get | GET /v1/public/templates/count | Templates Public Count |
| DefaultApi | templates_public_get_v1_public_templates_template_id_get | GET /v1/public/templates/{template_id} | Templates Public Get |
| DefaultApi | templates_public_import_v1_public_templates_template_id_import_post | POST /v1/public/templates/{template_id}/import | Templates Public Import |
| DefaultApi | templates_public_list_v1_public_templates_get | GET /v1/public/templates/ | Templates Public List |
| DefaultApi | templates_publish_v1_admin_templates_template_id_publish_post | POST /v1/admin/templates/{template_id}/publish | Templates Publish |
| DefaultApi | templates_recover_v1_admin_templates_template_id_recover_post | POST /v1/admin/templates/{template_id}/recover | Templates Recover |
| DefaultApi | templates_unpublish_v1_admin_templates_template_id_unpublish_post | POST /v1/admin/templates/{template_id}/unpublish | Templates Unpublish |
| DefaultApi | templates_update_v1_admin_templates_template_id_post | POST /v1/admin/templates/{template_id} | Templates Update |
| DefaultApi | validate_form_v1_forms_validate_post | POST /v1/forms/validate | Validate Form |
Documentation For Models
- Address
- FormGet
- FormGroupPatch
- FormListGet
- FormNew
- FormPatch
- FormSubmitRequest
- FormSubmitResponse
- FormSubmitResponseTypeEnum
- FormUpdate
- FormValidateRequest
- HTTPValidationError
- IdWrapper
- InputField
- LandingGet
- LandingGroupPatch
- LandingHistoryGet
- LandingHistoryListGet
- LandingImportOverride
- LandingListGet
- LandingNew
- LandingPatch
- LandingUpdate
- OptinMethod
- ParsedForm
- PortalLanguageEnum
- ResponseWrapper
- ResponseWrapperBool
- ResponseWrapperFormGet
- ResponseWrapperFormSubmitResponse
- ResponseWrapperIdWrapper
- ResponseWrapperInt
- ResponseWrapperLandingGet
- ResponseWrapperLandingHistoryGet
- ResponseWrapperListFormListGet
- ResponseWrapperListLandingHistoryListGet
- ResponseWrapperListLandingListGet
- ResponseWrapperListTemplateListGet
- ResponseWrapperListTemplateListGetPublic
- ResponseWrapperParsedForm
- ResponseWrapperTemplateGet
- ResponseWrapperTemplateGetPublic
- Result
- TemplateGet
- TemplateGetPublic
- TemplateGroupPatch
- TemplateListGet
- TemplateListGetPublic
- TemplateNew
- TemplatePatch
- TemplateUpdate
- ValidationError
- ValidationErrorLocInner
Documentation For Authorization
Authentication schemes defined for the API:
HTTPBearer
- Type: Bearer authentication