All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| create_collections_integrations | POST /api/v1/integrations/collections | IntegrationCollectionController@store |
| delete_collections_integrations | DELETE /api/v1/integrations/collections/{id} | Delete a collection |
| edit_collections_integrations | PATCH /api/v1/integrations/collections/{id} | Edit a collection |
| fetch_all_collections_integrations | GET /api/v1/integrations/collections | IntegrationCollectionController@index |
| fetch_collections_integrations | GET /api/v1/integrations/collections/{id} | IntegrationCollectionController@show |
| update_collections_integrations | PUT /api/v1/integrations/collections/{id} | Update a collection |
CreateDarIntegration201Response create_collections_integrations(create_collections_integrations_request)
IntegrationCollectionController@store
Create a new collection
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.create_collections_integrations_request import CreateCollectionsIntegrationsRequest
from gateway_api_sdk.models.create_dar_integration201_response import CreateDarIntegration201Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
create_collections_integrations_request = gateway_api_sdk.CreateCollectionsIntegrationsRequest() # CreateCollectionsIntegrationsRequest | Pass user credentials
try:
# IntegrationCollectionController@store
api_response = api_instance.create_collections_integrations(create_collections_integrations_request)
print("The response of IntegrationCollectionsApi->create_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->create_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| create_collections_integrations_request | CreateCollectionsIntegrationsRequest | Pass user credentials |
CreateDarIntegration201Response
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Created | - |
| 401 | Unauthorized | - |
| 500 | Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteApplications200Response delete_collections_integrations(id)
Delete a collection
Delete a collection
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.delete_applications200_response import DeleteApplications200Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
id = 1 # int | collection id
try:
# Delete a collection
api_response = api_instance.delete_collections_integrations(id)
print("The response of IntegrationCollectionsApi->delete_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->delete_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | collection id |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 404 | Not found response | - |
| 200 | Success | - |
| 500 | Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FetchCollections200Response edit_collections_integrations(id, create_collections_integrations_request)
Edit a collection
Edit a collection
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.create_collections_integrations_request import CreateCollectionsIntegrationsRequest
from gateway_api_sdk.models.fetch_collections200_response import FetchCollections200Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
id = 1 # int | collection id
create_collections_integrations_request = gateway_api_sdk.CreateCollectionsIntegrationsRequest() # CreateCollectionsIntegrationsRequest | Pass user credentials
try:
# Edit a collection
api_response = api_instance.edit_collections_integrations(id, create_collections_integrations_request)
print("The response of IntegrationCollectionsApi->edit_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->edit_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | collection id | |
| create_collections_integrations_request | CreateCollectionsIntegrationsRequest | Pass user credentials |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 404 | Not found response | - |
| 200 | Success | - |
| 500 | Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FetchAllCollections200Response fetch_all_collections_integrations(name=name, per_page=per_page)
IntegrationCollectionController@index
Returns a list of collections
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.fetch_all_collections200_response import FetchAllCollections200Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
name = 'name_example' # str | Filter collections by name (optional)
per_page = 1 # int | per page (optional)
try:
# IntegrationCollectionController@index
api_response = api_instance.fetch_all_collections_integrations(name=name, per_page=per_page)
print("The response of IntegrationCollectionsApi->fetch_all_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->fetch_all_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | Filter collections by name | [optional] |
| per_page | int | per page | [optional] |
FetchAllCollections200Response
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FetchCollections200Response fetch_collections_integrations(id)
IntegrationCollectionController@show
Get collection by id
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.fetch_collections200_response import FetchCollections200Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
id = 1 # int | collection id
try:
# IntegrationCollectionController@show
api_response = api_instance.fetch_collections_integrations(id)
print("The response of IntegrationCollectionsApi->fetch_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->fetch_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | collection id |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Success response | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FetchCollections200Response update_collections_integrations(id, create_collections_integrations_request)
Update a collection
Update a collection
- Bearer (JWT) Authentication (bearerAuth):
import gateway_api_sdk
from gateway_api_sdk.models.create_collections_integrations_request import CreateCollectionsIntegrationsRequest
from gateway_api_sdk.models.fetch_collections200_response import FetchCollections200Response
from gateway_api_sdk.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 = gateway_api_sdk.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 (JWT): bearerAuth
configuration = gateway_api_sdk.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with gateway_api_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = gateway_api_sdk.IntegrationCollectionsApi(api_client)
id = 1 # int | collection id
create_collections_integrations_request = gateway_api_sdk.CreateCollectionsIntegrationsRequest() # CreateCollectionsIntegrationsRequest | Pass user credentials
try:
# Update a collection
api_response = api_instance.update_collections_integrations(id, create_collections_integrations_request)
print("The response of IntegrationCollectionsApi->update_collections_integrations:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling IntegrationCollectionsApi->update_collections_integrations: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | collection id | |
| create_collections_integrations_request | CreateCollectionsIntegrationsRequest | Pass user credentials |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 404 | Not found response | - |
| 200 | Success | - |
| 500 | Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]