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) · 41.1 KB

File metadata and controls

1231 lines (905 loc) · 41.1 KB

clientapi_atrocore.NoteApi

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

Method HTTP request Description
add_relation_for_note POST /Note/{link}/relation Add relation for Note
create_note_item POST /Note Create a record of the Note
delete_note_item DELETE /Note/{id} Delete a record of the Note
follow_note PUT /Note/{id}/subscription Follow the Note stream
get_linked_items_for_note_item GET /Note/{id}/{link} Returns linked entities for the Note
get_list_of_note_items GET /Note Returns a collection of Note records
get_note_item GET /Note/{id} Returns a record of the Note
link_note POST /Note/{id}/{link} Link Note to Entities
mass_delete_note POST /Note/action/massDelete Mass delete of Note data
mass_update_note PUT /Note/action/massUpdate Mass update of Note data
remove_relation_for_note DELETE /Note/{link}/relation Remove relation for Note
unfollow_note DELETE /Note/{id}/subscription Unfollow the Note stream
unlink_note DELETE /Note/{id}/{link} Unlink Note from Entities
update_note_item PUT /Note/{id} Update a record of the Note

add_relation_for_note

bool add_relation_for_note(link, ids, foreign_ids)

Add relation for Note

Add relation for Note

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.NoteApi(api_client)
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 
    foreign_ids = ['foreign_ids_example'] # List[str] | 

    try:
        # Add relation for Note
        api_response = api_instance.add_relation_for_note(link, ids, foreign_ids)
        print("The response of NoteApi->add_relation_for_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->add_relation_for_note: %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_note_item

Note create_note_item(create_note_item_request)

Create a record of the Note

Create a record of the Note

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.create_note_item_request import CreateNoteItemRequest
from clientapi_atrocore.models.note import Note
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.NoteApi(api_client)
    create_note_item_request = clientapi_atrocore.CreateNoteItemRequest() # CreateNoteItemRequest | 

    try:
        # Create a record of the Note
        api_response = api_instance.create_note_item(create_note_item_request)
        print("The response of NoteApi->create_note_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->create_note_item: %s\n" % e)

Parameters

Name Type Description Notes
create_note_item_request CreateNoteItemRequest

Return type

Note

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_note_item

bool delete_note_item(id)

Delete a record of the Note

Delete a record of the Note

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.NoteApi(api_client)
    id = 'id_example' # str | 

    try:
        # Delete a record of the Note
        api_response = api_instance.delete_note_item(id)
        print("The response of NoteApi->delete_note_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->delete_note_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_note

FollowAccount200Response follow_note(id)

Follow the Note stream

Follow the Note 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.NoteApi(api_client)
    id = 'id_example' # str | 

    try:
        # Follow the Note stream
        api_response = api_instance.follow_note(id)
        print("The response of NoteApi->follow_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->follow_note: %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_linked_items_for_note_item

GetLinkedItemsForAccountItem200Response get_linked_items_for_note_item(id, link, language=language)

Returns linked entities for the Note

Returns linked entities for the Note

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.NoteApi(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 Note
        api_response = api_instance.get_linked_items_for_note_item(id, link, language=language)
        print("The response of NoteApi->get_linked_items_for_note_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->get_linked_items_for_note_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_note_items

GetListOfNoteItems200Response get_list_of_note_items(language=language, select=select, where=where, offset=offset, max_size=max_size, sort_by=sort_by, asc=asc)

Returns a collection of Note records

Returns a collection of Note records

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.get_list_of_note_items200_response import GetListOfNoteItems200Response
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.NoteApi(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: attachmentsIds, attachmentsNames, attachmentsTypes, attributeId, createdAt, createdBy, createdByGender, createdById, createdByName, data, deleted, diff, fieldDefs, filterCreateImportJob, filterUpdateImportJob, id, isGlobal, isInternal, modifiedAt, modifiedBy, modifiedById, modifiedByName, name, notifiedUserIdList, number, parentId, parentName, parentType, pavId, portals, portalsIds, portalsNames, post, relatedId, relatedName, relatedType, superParentId, superParentName, superParentType, targetType, teams, teamsIds, teamsNames, type, users, usersIds, usersNames (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 Note records
        api_response = api_instance.get_list_of_note_items(language=language, select=select, where=where, offset=offset, max_size=max_size, sort_by=sort_by, asc=asc)
        print("The response of NoteApi->get_list_of_note_items:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->get_list_of_note_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: attachmentsIds, attachmentsNames, attachmentsTypes, attributeId, createdAt, createdBy, createdByGender, createdById, createdByName, data, deleted, diff, fieldDefs, filterCreateImportJob, filterUpdateImportJob, id, isGlobal, isInternal, modifiedAt, modifiedBy, modifiedById, modifiedByName, name, notifiedUserIdList, number, parentId, parentName, parentType, pavId, portals, portalsIds, portalsNames, post, relatedId, relatedName, relatedType, superParentId, superParentName, superParentType, targetType, teams, teamsIds, teamsNames, type, users, usersIds, usersNames [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

GetListOfNoteItems200Response

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_note_item

Note get_note_item(id, language=language)

Returns a record of the Note

Returns a record of the Note

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.note import Note
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.NoteApi(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 Note
        api_response = api_instance.get_note_item(id, language=language)
        print("The response of NoteApi->get_note_item:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->get_note_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

Note

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_note

bool link_note(id, link, link_account_request)

Link Note to Entities

Link Note 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.NoteApi(api_client)
    id = 'id_example' # str | 
    link = 'link_example' # str | 
    link_account_request = clientapi_atrocore.LinkAccountRequest() # LinkAccountRequest | 

    try:
        # Link Note to Entities
        api_response = api_instance.link_note(id, link, link_account_request)
        print("The response of NoteApi->link_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->link_note: %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_note

bool mass_delete_note(link_account_request)

Mass delete of Note data

Mass delete of Note 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.NoteApi(api_client)
    link_account_request = clientapi_atrocore.LinkAccountRequest() # LinkAccountRequest | 

    try:
        # Mass delete of Note data
        api_response = api_instance.mass_delete_note(link_account_request)
        print("The response of NoteApi->mass_delete_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->mass_delete_note: %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_note

bool mass_update_note(mass_update_account_request)

Mass update of Note data

Mass update of Note 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.NoteApi(api_client)
    mass_update_account_request = clientapi_atrocore.MassUpdateAccountRequest() # MassUpdateAccountRequest | 

    try:
        # Mass update of Note data
        api_response = api_instance.mass_update_note(mass_update_account_request)
        print("The response of NoteApi->mass_update_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->mass_update_note: %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_note

bool remove_relation_for_note(link, ids, foreign_ids)

Remove relation for Note

Remove relation for Note

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.NoteApi(api_client)
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 
    foreign_ids = ['foreign_ids_example'] # List[str] | 

    try:
        # Remove relation for Note
        api_response = api_instance.remove_relation_for_note(link, ids, foreign_ids)
        print("The response of NoteApi->remove_relation_for_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->remove_relation_for_note: %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_note

bool unfollow_note(id)

Unfollow the Note stream

Unfollow the Note 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.NoteApi(api_client)
    id = 'id_example' # str | 

    try:
        # Unfollow the Note stream
        api_response = api_instance.unfollow_note(id)
        print("The response of NoteApi->unfollow_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->unfollow_note: %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_note

bool unlink_note(id, link, ids)

Unlink Note from Entities

Unlink Note 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.NoteApi(api_client)
    id = 'id_example' # str | 
    link = 'link_example' # str | 
    ids = ['ids_example'] # List[str] | 

    try:
        # Unlink Note from Entities
        api_response = api_instance.unlink_note(id, link, ids)
        print("The response of NoteApi->unlink_note:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling NoteApi->unlink_note: %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_note_item

Note update_note_item(id, create_note_item_request)

Update a record of the Note

Update a record of the Note

Example

  • Api Key Authentication (Authorization-Token):
import time
import os
import clientapi_atrocore
from clientapi_atrocore.models.create_note_item_request import CreateNoteItemRequest
from clientapi_atrocore.models.note import Note
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.NoteApi(api_client)
    id = 'id_example' # str | 
    create_note_item_request = clientapi_atrocore.CreateNoteItemRequest() # CreateNoteItemRequest | 

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

Parameters

Name Type Description Notes
id str
create_note_item_request CreateNoteItemRequest

Return type

Note

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]