ionoscloud-api-gateway
API Gateway is an application that acts as a "front door" for backend services and APIs, handling client requests and routing them to the appropriate backend.
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 0.0.1
- Package version: 1.0.1
- Generator version: 7.13.0-SNAPSHOT
- 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/ionos-cloud/sdk-python.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/ionos-cloud/sdk-python.git)
Then import the package:
import ionoscloud_api_gateway
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 ionoscloud_api_gateway
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import ionoscloud_api_gateway
from ionoscloud_api_gateway.rest import ApiException
from pprint import pprint
import os
# Defining the host is optional and defaults to https://apigateway.de-txl.ionos.com
# See configuration.py for a list of all supported configuration parameters.
configuration = ionoscloud_api_gateway.Configuration(
host = "https://apigateway.de-txl.ionos.com"
)
# 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 (JWT): tokenAuth
configuration = ionoscloud_api_gateway.Configuration(
token = os.environ["IONOS_TOKEN"]
)
# Enter a context with an instance of the API client
with ionoscloud_api_gateway.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ionoscloud_api_gateway.APIGatewaysApi(api_client)
apigateway_id = '0620c174-dd3c-5eb4-87c8-e2b516553a00' # str | The ID (UUID) of the Gateway.
try:
# Delete Gateway
api_instance.apigateways_delete(apigateway_id)
except ApiException as e:
print("Exception when calling APIGatewaysApi->apigateways_delete: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://apigateway.de-txl.ionos.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| APIGatewaysApi | apigateways_delete | DELETE /gateways/{apigatewayId} | Delete Gateway |
| APIGatewaysApi | apigateways_find_by_id | GET /gateways/{apigatewayId} | Retrieve Gateway |
| APIGatewaysApi | apigateways_get | GET /gateways | Retrieve all Apigateways |
| APIGatewaysApi | apigateways_post | POST /gateways | Create Gateway |
| APIGatewaysApi | apigateways_put | PUT /gateways/{apigatewayId} | Ensure Gateway |
| RoutesApi | apigateways_routes_delete | DELETE /gateways/{apigatewayId}/routes/{routeId} | Delete Route |
| RoutesApi | apigateways_routes_find_by_id | GET /gateways/{apigatewayId}/routes/{routeId} | Retrieve Route |
| RoutesApi | apigateways_routes_get | GET /gateways/{apigatewayId}/routes | Retrieve all Routes |
| RoutesApi | apigateways_routes_post | POST /gateways/{apigatewayId}/routes | Create Route |
| RoutesApi | apigateways_routes_put | PUT /gateways/{apigatewayId}/routes/{routeId} | Ensure Route |
Documentation For Models
- Error
- ErrorMessagesInner
- Gateway
- GatewayCreate
- GatewayCustomDomainsInner
- GatewayEnsure
- GatewayRead
- GatewayReadList
- Links
- Metadata
- MetadataWithEndpoint
- MetadataWithStatus
- Pagination
- Route
- RouteCreate
- RouteEnsure
- RouteRead
- RouteReadList
- RouteUpstreamsInner
Documentation For Authorization
Authentication schemes defined for the API:
tokenAuth
- Type: Bearer authentication (JWT)
Author
Metadata
Release files for ionoscloud-api-gateway 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ionoscloud_api_gateway-1.0.1.tar.gz | 35.3 kB | Without provenance | Details for ionoscloud_api_gateway-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ionoscloud_api_gateway-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ionoscloud_api_gateway-1.0.1-py3-none-any.whl |
Total release size: 100.2 kB
Release files / ionoscloud_api_gateway-1.0.1.tar.gz
| Download URL | ionoscloud_api_gateway-1.0.1.tar.gz |
|---|---|
| Size | 35.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfd6cc405e132a61295f3e75379a04dcb5398575f40613852ee9b0033c01e067
|
|
BLAKE2b-256 checksum How to use checksums |
1cc6ad4cc7f1a8373cccbeedfc63e19d89fe62fb2344f8c8456dbbcb21a3d37f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / ionoscloud_api_gateway-1.0.1-py3-none-any.whl
| Download URL | ionoscloud_api_gateway-1.0.1-py3-none-any.whl |
|---|---|
| Size | 64.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2ba375078d973846e15682ec7600c7d2e9fb07f27514cb94f1f8ae87e47e52f
|
|
BLAKE2b-256 checksum How to use checksums |
17180c100d2644ab24805a86c9f402e3fd49717dba43ead1ba2851f882c66078
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Security for ionoscloud-api-gateway 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.