All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| get_document_user_activities | GET /documents/{documentId}/userActivities | Get user activities for a document |
| get_resource_activities | GET /activities | Get resource activities |
| get_user_activities | GET /userActivities | Get user activities |
GetUserActivitesResponse get_document_user_activities(document_id, site_id=site_id, artifact_id=artifact_id, next=next, limit=limit)
Get user activities for a document
Retrieve a user's activities for a document
import formkiq_client
from formkiq_client.models.get_user_activites_response import GetUserActivitesResponse
from formkiq_client.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 = formkiq_client.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.
# Enter a context with an instance of the API client
with formkiq_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = formkiq_client.UserActivitiesApi(api_client)
document_id = 'document_id_example' # str | Document Identifier
site_id = 'site_id_example' # str | Site Identifier (optional)
artifact_id = 'artifact_id_example' # str | Artifact Document Identifier (optional)
next = 'next_example' # str | Next page of results token (optional)
limit = '10' # str | Limit Results (optional) (default to '10')
try:
# Get user activities for a document
api_response = api_instance.get_document_user_activities(document_id, site_id=site_id, artifact_id=artifact_id, next=next, limit=limit)
print("The response of UserActivitiesApi->get_document_user_activities:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UserActivitiesApi->get_document_user_activities: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| document_id | str | Document Identifier | |
| site_id | str | Site Identifier | [optional] |
| artifact_id | str | Artifact Document Identifier | [optional] |
| next | str | Next page of results token | [optional] |
| limit | str | Limit Results | [optional] [default to '10'] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetActivitesResponse get_resource_activities(site_id=site_id, document_id=document_id, artifact_id=artifact_id, entity_type_id=entity_type_id, namespace=namespace, entity_id=entity_id, ruleset_id=ruleset_id, rule_id=rule_id, workflow_id=workflow_id, queue_id=queue_id, webhook_id=webhook_id, locale=locale, attribute_key=attribute_key, var_schema=var_schema, classification_id=classification_id, mapping_id=mapping_id, api_key=api_key, control_policy=control_policy, start=start, end=end, sort=sort, next=next, limit=limit, user_id=user_id)
Get resource activities
Retrieve an resource activities
import formkiq_client
from formkiq_client.models.get_activites_response import GetActivitesResponse
from formkiq_client.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 = formkiq_client.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.
# Enter a context with an instance of the API client
with formkiq_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = formkiq_client.UserActivitiesApi(api_client)
site_id = 'site_id_example' # str | Site Identifier (optional)
document_id = 'document_id_example' # str | Document Identifier (optional)
artifact_id = 'artifact_id_example' # str | Artifact Document Identifier (optional)
entity_type_id = 'entity_type_id_example' # str | EntityType Identifier (optional)
namespace = 'namespace_example' # str | Namespace Identifier (optional)
entity_id = 'entity_id_example' # str | Entity Identifier (optional)
ruleset_id = 'ruleset_id_example' # str | RulesetId Identifier (optional)
rule_id = 'rule_id_example' # str | RuleId Identifier (optional)
workflow_id = 'workflow_id_example' # str | Workflow Identifier (optional)
queue_id = 'queue_id_example' # str | Queue Identifier (optional)
webhook_id = 'webhook_id_example' # str | Webhook Identifier (optional)
locale = 'locale_example' # str | Site Locale (ISO 639 / ISO 3166) (optional)
attribute_key = 'attribute_key_example' # str | Attribute Key (optional)
var_schema = 'var_schema_example' # str | Schema Type (optional)
classification_id = 'classification_id_example' # str | Classification Id (optional)
mapping_id = 'mapping_id_example' # str | Mapping Id (optional)
api_key = 'api_key_example' # str | Api Key (optional)
control_policy = 'control_policy_example' # str | Control Policy (optional)
start = '2013-10-20T19:20:30+01:00' # datetime | Start of date-time range (UTC) (optional)
end = '2013-10-20T19:20:30+01:00' # datetime | End of date-time range (UTC) (optional)
sort = 'sort_example' # str | Sort order (default DESC) (optional)
next = 'next_example' # str | Next page of results token (optional)
limit = '10' # str | Limit Results (optional) (default to '10')
user_id = 'user_id_example' # str | Fetch specific user activities (optional)
try:
# Get resource activities
api_response = api_instance.get_resource_activities(site_id=site_id, document_id=document_id, artifact_id=artifact_id, entity_type_id=entity_type_id, namespace=namespace, entity_id=entity_id, ruleset_id=ruleset_id, rule_id=rule_id, workflow_id=workflow_id, queue_id=queue_id, webhook_id=webhook_id, locale=locale, attribute_key=attribute_key, var_schema=var_schema, classification_id=classification_id, mapping_id=mapping_id, api_key=api_key, control_policy=control_policy, start=start, end=end, sort=sort, next=next, limit=limit, user_id=user_id)
print("The response of UserActivitiesApi->get_resource_activities:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UserActivitiesApi->get_resource_activities: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| site_id | str | Site Identifier | [optional] |
| document_id | str | Document Identifier | [optional] |
| artifact_id | str | Artifact Document Identifier | [optional] |
| entity_type_id | str | EntityType Identifier | [optional] |
| namespace | str | Namespace Identifier | [optional] |
| entity_id | str | Entity Identifier | [optional] |
| ruleset_id | str | RulesetId Identifier | [optional] |
| rule_id | str | RuleId Identifier | [optional] |
| workflow_id | str | Workflow Identifier | [optional] |
| queue_id | str | Queue Identifier | [optional] |
| webhook_id | str | Webhook Identifier | [optional] |
| locale | str | Site Locale (ISO 639 / ISO 3166) | [optional] |
| attribute_key | str | Attribute Key | [optional] |
| var_schema | str | Schema Type | [optional] |
| classification_id | str | Classification Id | [optional] |
| mapping_id | str | Mapping Id | [optional] |
| api_key | str | Api Key | [optional] |
| control_policy | str | Control Policy | [optional] |
| start | datetime | Start of date-time range (UTC) | [optional] |
| end | datetime | End of date-time range (UTC) | [optional] |
| sort | str | Sort order (default DESC) | [optional] |
| next | str | Next page of results token | [optional] |
| limit | str | Limit Results | [optional] [default to '10'] |
| user_id | str | Fetch specific user activities | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetUserActivitesResponse get_user_activities(site_id=site_id, next=next, limit=limit, user_id=user_id)
Get user activities
Retrieve a user's activities
import formkiq_client
from formkiq_client.models.get_user_activites_response import GetUserActivitesResponse
from formkiq_client.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 = formkiq_client.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.
# Enter a context with an instance of the API client
with formkiq_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = formkiq_client.UserActivitiesApi(api_client)
site_id = 'site_id_example' # str | Site Identifier (optional)
next = 'next_example' # str | Next page of results token (optional)
limit = '10' # str | Limit Results (optional) (default to '10')
user_id = 'user_id_example' # str | Fetch specific user activities (optional)
try:
# Get user activities
api_response = api_instance.get_user_activities(site_id=site_id, next=next, limit=limit, user_id=user_id)
print("The response of UserActivitiesApi->get_user_activities:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling UserActivitiesApi->get_user_activities: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| site_id | str | Site Identifier | [optional] |
| next | str | Next page of results token | [optional] |
| limit | str | Limit Results | [optional] [default to '10'] |
| user_id | str | Fetch specific user activities | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | 200 OK | * Access-Control-Allow-Origin - * Access-Control-Allow-Methods - * Access-Control-Allow-Headers - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]