User Actions

user_actions

Methods

Get Client Subscriptions List -> { count, results }
get/v1/user_actions/amqp_subscriptions_list

Get client subscriptions list

List User Actions -> OffsetPage<{ id, action_type, api_group, 14 more... }>
get/v1/user_actions

Retrieve user action log for one client or a set of projects

Parameters
action_type:
Optional

User action type. Several options can be specified.

"activate"
"attach"
"change_logging_resources"
"create"
"create_access_rule"
"deactivate"
"delete"
"delete_access_rule"
"delete_metadata"
"detach"
"disable_logging"
"disable_portsecurity"
"download"
"enable_logging"
"enable_portsecurity"
"failover"
"put_into_servergroup"
"reboot"
"reboot_hard"
"rebuild"
"regenerate_credentials"
"remove_from_servergroup"
"replace_metadata"
"resize"
"resume"
"retype"
"revert"
"scale_down"
"scale_up"
"start"
"stop"
"suspend"
"update"
"update_metadata"
"upgrade"
api_group:
Optional

API group that requested action belongs to. Several options can be specified.

"ai_cluster"
"backup_service"
"caas_container"
"caas_key"
"caas_pull_secret"
"dbaas_postgres"
"ddos_profile"
"faas_function"
"faas_key"
"faas_namespace"
"file_shares"
"floating_ip"
"heat"
"image"
"inference_at_the_edge"
"instance"
"instance_isolation"
"k8s_cluster"
"k8s_cluster_template"
"k8s_pool"
"laas"
"laas_topic"
"lb_health_monitor"
"lb_l7policy"
"lb_l7rule"
"lblistener"
"lbpool"
"lbpool_member"
"lifecycle_policy"
"lifecycle_policy_volume_member"
"loadbalancer"
"network"
"port"
"project"
"quota_limit_request"
"registry"
"reservation"
"reserved_fixed_ip"
"role"
"router"
"secret"
"securitygroup"
"securitygrouprule"
"servergroup"
"shared_flavor"
"shared_image"
"shared_network"
"snapshot"
"snapshot_schedule"
"ssh_key"
"subnet"
"user"
"vip_ip_addresses"
"volume"
from_timestamp: string
Optional

ISO formatted datetime string. Starting timestamp from which user actions are requested

limit: number
Optional

Limit the number of returned user actions. Falls back to default if not specified. Limited by max limit value

offset: number
Optional

Offset value is used to exclude the first set of records from the result

project_id: number
Optional

Project ID. Several options can be specified.

resource_id: string
Optional

Resource ID. Several options can be specified.

search_field: string
Optional

Name or IP address of the resource

sorting:
Optional

Sorting by date. Oldest first, or most recent first

"asc"
"desc"
to_timestamp: string
Optional

ISO formatted datetime string. Ending timestamp until which user actions are requested

Response fields
count: number
(minimum: 0)

Number of objects

results: Array<{ id, action_type, api_group, 14 more... }>

Objects

Request example
200Example
Subscribe To Log ->
post/v1/user_actions/subscribe

Subscribe to the user action log. Subscription is created for the client_id that is taken from the JWT token. See how to get the token in the Account / Login section of this documentation

Subscribe To Log Over Amqp ->
post/v1/user_actions/subscribe_amqp

Subscribe to the user action log over AMQP. Subscription is created for the client_id that is taken from the JWT token. See how to get the token in the Account / Login section of this documentation

Get Client Subscriptions List -> { count, results }
get/v1/user_actions/subscriptions_list

Get client subscriptions list

Unsubscribe From Log ->
post/v1/user_actions/unsubscribe

Unsubscribe from the user action log

Unsubscribe From Log Over Amqp ->
post/v1/user_actions/unsubscribe_amqp

Unsubscribe from the user action log over AMQP