All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
subscription_invites_accept_invite | GET /api/manage/v1/Subscriptions/{subscriptionId}/invite/{accessToken}/accept | Add a user to the subscription using invite, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription. |
subscription_invites_create_invite | POST /api/manage/v1/Subscriptions/{subscriptionId}/invite | Create invite to subscription |
subscription_invites_delete_invite | DELETE /api/manage/v1/Subscriptions/{subscriptionId}/invite/{accesstoken} | Rename subscription |
subscription_invites_get_invites | GET /api/manage/v1/Subscriptions/{subscriptionId}/invites | Get list of invites in a subscription, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription. |
subscription_invites_accept_invite(subscription_id, access_token)
Add a user to the subscription using invite, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
- Basic Authentication (ApiKey):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | Idenitifier of subscription
access_token = 'access_token_example' # str | access token of the subscription
try:
# Add a user to the subscription using invite, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
api_instance.subscription_invites_accept_invite(subscription_id, access_token)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_accept_invite: %s\n" % e)
- Bearer (JWT) Authentication (JWT):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | Idenitifier of subscription
access_token = 'access_token_example' # str | access token of the subscription
try:
# Add a user to the subscription using invite, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
api_instance.subscription_invites_accept_invite(subscription_id, access_token)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_accept_invite: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | str | Idenitifier of subscription | |
access_token | str | access token of the subscription |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Succesfully added | - |
204 | Succesfully added | - |
400 | The reqeust is wrong | - |
403 | You don't have rights for the operation | - |
404 | Subscription or user is not found | - |
500 | Exception thrown | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SubscriptionInviteVM subscription_invites_create_invite(subscription_id, create_subscription_invite_vm=create_subscription_invite_vm)
Create invite to subscription
- Basic Authentication (ApiKey):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | id
create_subscription_invite_vm = fastreport_cloud_sdk.CreateSubscriptionInviteVM() # CreateSubscriptionInviteVM | create VM (optional)
try:
# Create invite to subscription
api_response = api_instance.subscription_invites_create_invite(subscription_id, create_subscription_invite_vm=create_subscription_invite_vm)
pprint(api_response)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_create_invite: %s\n" % e)
- Bearer (JWT) Authentication (JWT):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | id
create_subscription_invite_vm = fastreport_cloud_sdk.CreateSubscriptionInviteVM() # CreateSubscriptionInviteVM | create VM (optional)
try:
# Create invite to subscription
api_response = api_instance.subscription_invites_create_invite(subscription_id, create_subscription_invite_vm=create_subscription_invite_vm)
pprint(api_response)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_create_invite: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | str | id | |
create_subscription_invite_vm | CreateSubscriptionInviteVM | create VM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successfully created | - |
400 | Request is wrong | - |
402 | subscription is outdated | - |
403 | Not enough permissions | - |
404 | there is no subscription with such id | - |
500 | exception caught | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
subscription_invites_delete_invite(subscription_id, accesstoken)
Rename subscription
- Basic Authentication (ApiKey):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | id
accesstoken = 'accesstoken_example' # str | invite's token
try:
# Rename subscription
api_instance.subscription_invites_delete_invite(subscription_id, accesstoken)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_delete_invite: %s\n" % e)
- Bearer (JWT) Authentication (JWT):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | id
accesstoken = 'accesstoken_example' # str | invite's token
try:
# Rename subscription
api_instance.subscription_invites_delete_invite(subscription_id, accesstoken)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_delete_invite: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | str | id | |
accesstoken | str | invite's token |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
204 | Successfully deleted | - |
400 | Request is wrong | - |
402 | subscription is outdated | - |
403 | Not enough permissions | - |
404 | there is no subscription with such id | - |
500 | exception caught | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SubscriptionInvitesVM subscription_invites_get_invites(subscription_id)
Get list of invites in a subscription, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
- Basic Authentication (ApiKey):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | Idenitifier of subscription
try:
# Get list of invites in a subscription, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
api_response = api_instance.subscription_invites_get_invites(subscription_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_get_invites: %s\n" % e)
- Bearer (JWT) Authentication (JWT):
from __future__ import print_function
import time
import fastreport_cloud_sdk
from fastreport_cloud_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 = fastreport_cloud_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 HTTP basic authorization: ApiKey
configuration = fastreport_cloud_sdk.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)
# Configure Bearer authorization (JWT): JWT
configuration = fastreport_cloud_sdk.Configuration(
access_token = 'YOUR_BEARER_TOKEN'
)
# Enter a context with an instance of the API client
with fastreport_cloud_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = fastreport_cloud_sdk.SubscriptionInvitesApi(api_client)
subscription_id = 'subscription_id_example' # str | Idenitifier of subscription
try:
# Get list of invites in a subscription, the added users will be displayed in the list of users of the subscription, and these users will also have an active subscription.
api_response = api_instance.subscription_invites_get_invites(subscription_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling SubscriptionInvitesApi->subscription_invites_get_invites: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
subscription_id | str | Idenitifier of subscription |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Succesfully added | - |
400 | The reqeust is wrong | - |
403 | You don't have rights for the operation | - |
404 | Subscription or user is not found | - |
500 | Exception thrown | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]