Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Latest commit

 

History

History
1231 lines (905 loc) · 43.1 KB

File metadata and controls

1231 lines (905 loc) · 43.1 KB

clientapi_atrocore.AuthLogRecordApi

All URIs are relative to https://demo.atropim.com/api/v1

Method HTTP request Description
add_relation_for_auth_log_record POST /AuthLogRecord/{link}/relation Add relation for AuthLogRecord
create_auth_log_record_item POST /AuthLogRecord Create a record of the AuthLogRecord
delete_auth_log_record_item DELETE /AuthLogRecord/{id} Delete a record of the AuthLogRecord
follow_auth_log_record PUT /AuthLogRecord/{id}/subscription Follow the AuthLogRecord stream
get_auth_log_record_item GET /AuthLogRecord/{id} Returns a record of the AuthLogRecord
get_linked_items_for_auth_log_record_item GET /AuthLogRecord/{id}/{link} Returns linked entities for the AuthLogRecord
get_list_of_auth_log_record_items GET /AuthLogRecord Returns a collection of AuthLogRecord records
link_auth_log_record POST /AuthLogRecord/{id}/{link} Link AuthLogRecord to Entities
mass_delete_auth_log_record POST /AuthLogRecord/action/massDelete Mass delete of AuthLogRecord data
mass_update_auth_log_record PUT /AuthLogRecord/action/massUpdate Mass update of AuthLogRecord data
remove_relation_for_auth_log_record DELETE /AuthLogRecord/{link}/relation Remove relation for AuthLogRecord
unfollow_auth_log_record DELETE /AuthLogRecord/{id}/subscription Unfollow the AuthLogRecord stream
unlink_auth_log_record DELETE /AuthLogRecord/{id}/{link} Unlink AuthLogRecord from Entities
update_auth_log_record_item PUT /AuthLogRecord/{id} Update a record of the AuthLogRecord

add_relation_for_auth_log_record

bool add_relation_for_auth_log_record(link, ids, foreign_ids)

Add relation for AuthLogRecord

Add relation for AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 
    foreign_ids = ['foreign_ids_example'] # List[str] | 

    try:
        # Add relation for AuthLogRecord
        api_response = api_instance.add_relation_for_auth_log_record(link, ids, foreign_ids)
        print("The response of AuthLogRecordApi->add_relation_for_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->add_relation_for_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
link str
ids List[str]
foreign_ids List[str]

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

create_auth_log_record_item

AuthLogRecord create_auth_log_record_item(create_auth_log_record_item_request)

Create a record of the AuthLogRecord

Create a record of the AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.auth_log_record import AuthLogRecord
from clientapi_atrocore.models.create_auth_log_record_item_request import CreateAuthLogRecordItemRequest
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    create_auth_log_record_item_request = clientapi_atrocore.CreateAuthLogRecordItemRequest() # CreateAuthLogRecordItemRequest | 

    try:
        # Create a record of the AuthLogRecord
        api_response = api_instance.create_auth_log_record_item(create_auth_log_record_item_request)
        print("The response of AuthLogRecordApi->create_auth_log_record_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->create_auth_log_record_item: %s\n" % e)

Parameters

Name Type Description Notes
create_auth_log_record_item_request CreateAuthLogRecordItemRequest

Return type

AuthLogRecord

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

delete_auth_log_record_item

bool delete_auth_log_record_item(id)

Delete a record of the AuthLogRecord

Delete a record of the AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 

    try:
        # Delete a record of the AuthLogRecord
        api_response = api_instance.delete_auth_log_record_item(id)
        print("The response of AuthLogRecordApi->delete_auth_log_record_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->delete_auth_log_record_item: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

follow_auth_log_record

FollowAccount200Response follow_auth_log_record(id)

Follow the AuthLogRecord stream

Follow the AuthLogRecord stream

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.follow_account200_response import FollowAccount200Response
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 

    try:
        # Follow the AuthLogRecord stream
        api_response = api_instance.follow_auth_log_record(id)
        print("The response of AuthLogRecordApi->follow_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->follow_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

FollowAccount200Response

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_auth_log_record_item

AuthLogRecord get_auth_log_record_item(id, language=language)

Returns a record of the AuthLogRecord

Returns a record of the AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.auth_log_record import AuthLogRecord
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 
    language = 'language_example' # str | Set this parameter for data to be returned for a specified language (optional)

    try:
        # Returns a record of the AuthLogRecord
        api_response = api_instance.get_auth_log_record_item(id, language=language)
        print("The response of AuthLogRecordApi->get_auth_log_record_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->get_auth_log_record_item: %s\n" % e)

Parameters

Name Type Description Notes
id str
language str Set this parameter for data to be returned for a specified language [optional]

Return type

AuthLogRecord

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_linked_items_for_auth_log_record_item

GetLinkedItemsForAccountItem200Response get_linked_items_for_auth_log_record_item(id, link, language=language)

Returns linked entities for the AuthLogRecord

Returns linked entities for the AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.get_linked_items_for_account_item200_response import GetLinkedItemsForAccountItem200Response
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 
    link = 'link_example' # str | 
    language = 'language_example' # str | Set this parameter for data to be returned for a specified language (optional)

    try:
        # Returns linked entities for the AuthLogRecord
        api_response = api_instance.get_linked_items_for_auth_log_record_item(id, link, language=language)
        print("The response of AuthLogRecordApi->get_linked_items_for_auth_log_record_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->get_linked_items_for_auth_log_record_item: %s\n" % e)

Parameters

Name Type Description Notes
id str
link str
language str Set this parameter for data to be returned for a specified language [optional]

Return type

GetLinkedItemsForAccountItem200Response

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

get_list_of_auth_log_record_items

GetListOfAuthLogRecordItems200Response get_list_of_auth_log_record_items(language=language, select=select, where=where, offset=offset, max_size=max_size, sort_by=sort_by, asc=asc)

Returns a collection of AuthLogRecord records

Returns a collection of AuthLogRecord records

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.get_list_of_auth_log_record_items200_response import GetListOfAuthLogRecordItems200Response
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    language = 'language_example' # str | Set this parameter for data to be returned for a specified language (optional)
    select = 'name,createdAt' # str | Available fields: actionHistoryRecordsIds, authToken, authTokenId, authTokenIsActive, createdAt, deleted, denialReason, filterCreateImportJob, filterUpdateImportJob, id, ipAddress, isDenied, name, portal, portalId, portalName, requestMethod, requestTime, requestUrl, user, userId, userName, username (optional)
    where = None # List[object] | There are a lot of filter types supported. You can learn all of them if you trace what's requested by Atro UI in the network tab in your browser console (press F12 key to open the console). (optional)
    offset = 0 # int |  (optional)
    max_size = 50 # int |  (optional)
    sort_by = 'name' # str |  (optional)
    asc = true # bool |  (optional)

    try:
        # Returns a collection of AuthLogRecord records
        api_response = api_instance.get_list_of_auth_log_record_items(language=language, select=select, where=where, offset=offset, max_size=max_size, sort_by=sort_by, asc=asc)
        print("The response of AuthLogRecordApi->get_list_of_auth_log_record_items:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->get_list_of_auth_log_record_items: %s\n" % e)

Parameters

Name Type Description Notes
language str Set this parameter for data to be returned for a specified language [optional]
select str Available fields: actionHistoryRecordsIds, authToken, authTokenId, authTokenIsActive, createdAt, deleted, denialReason, filterCreateImportJob, filterUpdateImportJob, id, ipAddress, isDenied, name, portal, portalId, portalName, requestMethod, requestTime, requestUrl, user, userId, userName, username [optional]
where List[object] There are a lot of filter types supported. You can learn all of them if you trace what's requested by Atro UI in the network tab in your browser console (press F12 key to open the console). [optional]
offset int [optional]
max_size int [optional]
sort_by str [optional]
asc bool [optional]

Return type

GetListOfAuthLogRecordItems200Response

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

link_auth_log_record

bool link_auth_log_record(id, link, link_account_request)

Link AuthLogRecord to Entities

Link AuthLogRecord to Entities

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.link_account_request import LinkAccountRequest
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 
    link = 'link_example' # str | 
    link_account_request = clientapi_atrocore.LinkAccountRequest() # LinkAccountRequest | 

    try:
        # Link AuthLogRecord to Entities
        api_response = api_instance.link_auth_log_record(id, link, link_account_request)
        print("The response of AuthLogRecordApi->link_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->link_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
id str
link str
link_account_request LinkAccountRequest

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

mass_delete_auth_log_record

bool mass_delete_auth_log_record(link_account_request)

Mass delete of AuthLogRecord data

Mass delete of AuthLogRecord data

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.link_account_request import LinkAccountRequest
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    link_account_request = clientapi_atrocore.LinkAccountRequest() # LinkAccountRequest | 

    try:
        # Mass delete of AuthLogRecord data
        api_response = api_instance.mass_delete_auth_log_record(link_account_request)
        print("The response of AuthLogRecordApi->mass_delete_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->mass_delete_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
link_account_request LinkAccountRequest

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

mass_update_auth_log_record

bool mass_update_auth_log_record(mass_update_account_request)

Mass update of AuthLogRecord data

Mass update of AuthLogRecord data

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.mass_update_account_request import MassUpdateAccountRequest
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    mass_update_account_request = clientapi_atrocore.MassUpdateAccountRequest() # MassUpdateAccountRequest | 

    try:
        # Mass update of AuthLogRecord data
        api_response = api_instance.mass_update_auth_log_record(mass_update_account_request)
        print("The response of AuthLogRecordApi->mass_update_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->mass_update_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
mass_update_account_request MassUpdateAccountRequest

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

remove_relation_for_auth_log_record

bool remove_relation_for_auth_log_record(link, ids, foreign_ids)

Remove relation for AuthLogRecord

Remove relation for AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 
    foreign_ids = ['foreign_ids_example'] # List[str] | 

    try:
        # Remove relation for AuthLogRecord
        api_response = api_instance.remove_relation_for_auth_log_record(link, ids, foreign_ids)
        print("The response of AuthLogRecordApi->remove_relation_for_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->remove_relation_for_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
link str
ids List[str]
foreign_ids List[str]

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

unfollow_auth_log_record

bool unfollow_auth_log_record(id)

Unfollow the AuthLogRecord stream

Unfollow the AuthLogRecord stream

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 

    try:
        # Unfollow the AuthLogRecord stream
        api_response = api_instance.unfollow_auth_log_record(id)
        print("The response of AuthLogRecordApi->unfollow_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->unfollow_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
id str

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

unlink_auth_log_record

bool unlink_auth_log_record(id, link, ids)

Unlink AuthLogRecord from Entities

Unlink AuthLogRecord from Entities

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 

    try:
        # Unlink AuthLogRecord from Entities
        api_response = api_instance.unlink_auth_log_record(id, link, ids)
        print("The response of AuthLogRecordApi->unlink_auth_log_record:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->unlink_auth_log_record: %s\n" % e)

Parameters

Name Type Description Notes
id str
link str
ids List[str]

Return type

bool

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

update_auth_log_record_item

AuthLogRecord update_auth_log_record_item(id, create_auth_log_record_item_request)

Update a record of the AuthLogRecord

Update a record of the AuthLogRecord

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.auth_log_record import AuthLogRecord
from clientapi_atrocore.models.create_auth_log_record_item_request import CreateAuthLogRecordItemRequest
from clientapi_atrocore.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://demo.atropim.com/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = clientapi_atrocore.Configuration(
    host = "https://demo.atropim.com/api/v1"
)

# 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: Authorization-Token
configuration.api_key['Authorization-Token'] = os.environ["API_KEY"]

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

# Enter a context with an instance of the API client
with clientapi_atrocore.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = clientapi_atrocore.AuthLogRecordApi(api_client)
    id = 'id_example' # str | 
    create_auth_log_record_item_request = clientapi_atrocore.CreateAuthLogRecordItemRequest() # CreateAuthLogRecordItemRequest | 

    try:
        # Update a record of the AuthLogRecord
        api_response = api_instance.update_auth_log_record_item(id, create_auth_log_record_item_request)
        print("The response of AuthLogRecordApi->update_auth_log_record_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling AuthLogRecordApi->update_auth_log_record_item: %s\n" % e)

Parameters

Name Type Description Notes
id str
create_auth_log_record_item_request CreateAuthLogRecordItemRequest

Return type

AuthLogRecord

Authorization

Authorization-Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -
304 Not Modified -
400 Bad Request -
401 Unauthorized -
403 Forbidden -
404 Not Found -
500 Internal Server Error -

[Back to top] [Back to API list] [Back to Model list] [Back to README]