diff --git a/Makefile b/Makefile index 4318a2744..30b33f2bc 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ BIN_DIR := $(GOPATH)/bin INTEGRATION_DIR := ./test/integration FIXTURES_DIR := $(INTEGRATION_DIR)/fixtures +TEST_TAGS := integration TEST_TIMEOUT := 5h SKIP_DOCKER ?= 0 diff --git a/test/integration/fixtures/TestDatabaseMySQLConfig_Get.yaml b/test/integration/fixtures/TestDatabaseMySQLConfig_Get.yaml new file mode 100644 index 000000000..56a0b01d8 --- /dev/null +++ b/test/integration/fixtures/TestDatabaseMySQLConfig_Get.yaml @@ -0,0 +1,155 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/config + method: GET + response: + body: '{"binlog_retention_period": {"description": "The minimum amount of time + in seconds to keep binlog entries before deletion. This may be extended for + services that require binlog entries for longer than the default for example + if using the MySQL Debezium Kafka connector.", "example": 600, "maximum": 86400, + "minimum": 600, "requires_restart": false, "type": "integer"}, "mysql": {"connect_timeout": + {"description": "The number of seconds that the mysqld server waits for a connect + packet before responding with Bad handshake", "example": 10, "maximum": 3600, + "minimum": 2, "requires_restart": false, "type": "integer"}, "default_time_zone": + {"description": "Default server time zone as an offset from UTC (from -12:00 + to +12:00), a time zone name, or ''SYSTEM'' to use the MySQL server default.", + "example": "+03:00", "maxLength": 100, "minLength": 2, "pattern": "^([-+][\\d:]*|[\\w/]*)$", + "requires_restart": false, "type": "string"}, "group_concat_max_len": {"description": + "The maximum permitted result length in bytes for the GROUP_CONCAT() function.", + "example": 1024, "maximum": 18446744073709551615, "minimum": 4, "requires_restart": + false, "type": "integer"}, "information_schema_stats_expiry": {"description": + "The time, in seconds, before cached statistics expire", "example": 86400, "maximum": + 31536000, "minimum": 900, "requires_restart": false, "type": "integer"}, "innodb_change_buffer_max_size": + {"description": "Maximum size for the InnoDB change buffer, as a percentage + of the total size of the buffer pool. Default is 25", "example": 30, "maximum": + 50, "minimum": 0, "requires_restart": false, "type": "integer"}, "innodb_flush_neighbors": + {"description": "Specifies whether flushing a page from the InnoDB buffer pool + also flushes other dirty pages in the same extent (default is 1): 0 - dirty + pages in the same extent are not flushed, 1 - flush contiguous dirty pages in + the same extent, 2 - flush dirty pages in the same extent", "example": 0, "maximum": + 2, "minimum": 0, "requires_restart": false, "type": "integer"}, "innodb_ft_min_token_size": + {"description": "Minimum length of words that are stored in an InnoDB FULLTEXT + index. Changing this parameter will lead to a restart of the MySQL service.", + "example": 3, "maximum": 16, "minimum": 0, "requires_restart": true, "type": + "integer"}, "innodb_ft_server_stopword_table": {"description": "This option + is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB + tables.", "example": "db_name/table_name", "maxLength": 1024, "pattern": "^.+/.+$", + "requires_restart": false, "type": ["null", "string"]}, "innodb_lock_wait_timeout": + {"description": "The length of time in seconds an InnoDB transaction waits for + a row lock before giving up. Default is 120.", "example": 50, "maximum": 3600, + "minimum": 1, "requires_restart": false, "type": "integer"}, "innodb_log_buffer_size": + {"description": "The size in bytes of the buffer that InnoDB uses to write to + the log files on disk.", "example": 16777216, "maximum": 4294967295, "minimum": + 1048576, "requires_restart": false, "type": "integer"}, "innodb_online_alter_log_max_size": + {"description": "The upper limit in bytes on the size of the temporary log files + used during online DDL operations for InnoDB tables.", "example": 134217728, + "maximum": 1099511627776, "minimum": 65536, "requires_restart": false, "type": + "integer"}, "innodb_read_io_threads": {"description": "The number of I/O threads + for read operations in InnoDB. Default is 4. Changing this parameter will lead + to a restart of the MySQL service.", "example": 10, "maximum": 64, "minimum": + 1, "requires_restart": true, "type": "integer"}, "innodb_rollback_on_timeout": + {"description": "When enabled a transaction timeout causes InnoDB to abort and + roll back the entire transaction. Changing this parameter will lead to a restart + of the MySQL service.", "example": true, "requires_restart": true, "type": "boolean"}, + "innodb_thread_concurrency": {"description": "Defines the maximum number of + threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no + limit)", "example": 10, "maximum": 1000, "minimum": 0, "requires_restart": false, + "type": "integer"}, "innodb_write_io_threads": {"description": "The number of + I/O threads for write operations in InnoDB. Default is 4. Changing this parameter + will lead to a restart of the MySQL service.", "example": 10, "maximum": 64, + "minimum": 1, "requires_restart": true, "type": "integer"}, "interactive_timeout": + {"description": "The number of seconds the server waits for activity on an interactive + connection before closing it.", "example": 3600, "maximum": 604800, "minimum": + 30, "requires_restart": false, "type": "integer"}, "internal_tmp_mem_storage_engine": + {"description": "The storage engine for in-memory internal temporary tables.", + "enum": ["TempTable", "MEMORY"], "example": "TempTable", "requires_restart": + false, "type": "string"}, "max_allowed_packet": {"description": "Size of the + largest message in bytes that can be received by the server. Default is 67108864 + (64M)", "example": 67108864, "maximum": 1073741824, "minimum": 102400, "requires_restart": + false, "type": "integer"}, "max_heap_table_size": {"description": "Limits the + size of internal in-memory tables. Also set tmp_table_size. Default is 16777216 + (16M)", "example": 16777216, "maximum": 1073741824, "minimum": 1048576, "requires_restart": + false, "type": "integer"}, "net_buffer_length": {"description": "Start sizes + of connection buffer and result buffer. Default is 16384 (16K). Changing this + parameter will lead to a restart of the MySQL service.", "example": 16384, "maximum": + 1048576, "minimum": 1024, "requires_restart": true, "type": "integer"}, "net_read_timeout": + {"description": "The number of seconds to wait for more data from a connection + before aborting the read.", "example": 30, "maximum": 3600, "minimum": 1, "requires_restart": + false, "type": "integer"}, "net_write_timeout": {"description": "The number + of seconds to wait for a block to be written to a connection before aborting + the write.", "example": 30, "maximum": 3600, "minimum": 1, "requires_restart": + false, "type": "integer"}, "sort_buffer_size": {"description": "Sort buffer + size in bytes for ORDER BY optimization. Default is 262144 (256K)", "example": + 262144, "maximum": 1073741824, "minimum": 32768, "requires_restart": false, + "type": "integer"}, "sql_mode": {"description": "Global SQL mode. Set to empty + to use MySQL server defaults. When creating a new service and not setting this + field Akamai default SQL mode (strict, SQL standard compliant) will be assigned.", + "example": "ANSI,TRADITIONAL", "maxLength": 1024, "pattern": "^[A-Z_]*(,[A-Z_]+)*$", + "requires_restart": false, "type": "string"}, "sql_require_primary_key": {"description": + "Require primary key to be defined for new tables or old tables modified with + ALTER TABLE and fail if missing. It is recommended to always have primary keys + because various functionality may break if any large table is missing them.", + "example": true, "requires_restart": false, "type": "boolean"}, "tmp_table_size": + {"description": "Limits the size of internal in-memory tables. Also set max_heap_table_size. + Default is 16777216 (16M)", "example": 16777216, "maximum": 1073741824, "minimum": + 1048576, "requires_restart": false, "type": "integer"}, "wait_timeout": {"description": + "The number of seconds the server waits for activity on a noninteractive connection + before closing it.", "example": 28800, "maximum": 2147483, "minimum": 1, "requires_restart": + false, "type": "integer"}}}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7548" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestDatabaseMySQL_EngineConfig_Suite.yaml b/test/integration/fixtures/TestDatabaseMySQL_EngineConfig_Suite.yaml new file mode 100644 index 000000000..28994862e --- /dev/null +++ b/test/integration/fixtures/TestDatabaseMySQL_EngineConfig_Suite.yaml @@ -0,0 +1,4737 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions?page=1 + method: GET + response: + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", "Vlans", + "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Vlans", "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Vlans", "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Disk Encryption", "Metadata", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": + "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Disk Encryption", "Metadata", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": + "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Kubernetes", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Block Storage Encryption", "LA Disk Encryption", + "Disk Encryption", "Backups", "NodeBalancers", "Block Storage", "Object Storage", + "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Block Storage + Migrations", "Managed Databases", "Placement Group", "StackScripts", "NETINT + Quadra T1U"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Placement Group", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "StackScripts"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "8361" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"example-db-created-with-config","region":"us-east","type":"g6-dedicated-2","engine":"mysql/8","allow_list":["203.0.113.1","192.0.1.0/24"],"cluster_size":3,"engine_config":{"mysql":{"connect_timeout":10,"default_time_zone":"+03:00","group_concat_max_len":1024,"information_schema_stats_expiry":86400,"innodb_change_buffer_max_size":30,"innodb_flush_neighbors":1,"innodb_ft_min_token_size":3,"innodb_ft_server_stopword_table":"mydb/stopwords","innodb_lock_wait_timeout":50,"innodb_log_buffer_size":16777216,"innodb_online_alter_log_max_size":134217728,"innodb_read_io_threads":10,"innodb_rollback_on_timeout":true,"innodb_thread_concurrency":10,"innodb_write_io_threads":10,"interactive_timeout":3600,"internal_tmp_mem_storage_engine":"TempTable","max_allowed_packet":67108864,"max_heap_table_size":16777216,"net_buffer_length":16384,"net_read_timeout":30,"net_write_timeout":30,"sort_buffer_size":262144,"sql_mode":"TRADITIONAL","sql_require_primary_key":true,"tmp_table_size":16777216,"wait_timeout":28800},"binlog_retention_period":600}}' + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/instances + method: POST + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "mysql", "engine_config": + {"binlog_retention_period": 600, "mysql": {"connect_timeout": 10, "default_time_zone": + "+03:00", "group_concat_max_len": 1024, "information_schema_stats_expiry": 86400, + "innodb_change_buffer_max_size": 30, "innodb_flush_neighbors": 1, "innodb_ft_min_token_size": + 3, "innodb_ft_server_stopword_table": "mydb/stopwords", "innodb_lock_wait_timeout": + 50, "innodb_log_buffer_size": 16777216, "innodb_online_alter_log_max_size": + 134217728, "innodb_read_io_threads": 10, "innodb_rollback_on_timeout": true, + "innodb_thread_concurrency": 10, "innodb_write_io_threads": 10, "interactive_timeout": + 3600, "internal_tmp_mem_storage_engine": "TempTable", "max_allowed_packet": + 67108864, "max_heap_table_size": 16777216, "net_buffer_length": 16384, "net_read_timeout": + 30, "net_write_timeout": 30, "sort_buffer_size": 262144, "sql_mode": "TRADITIONAL", + "sql_require_primary_key": true, "tmp_table_size": 16777216, "wait_timeout": + 28800}}, "hosts": {"primary": "a16588-akamai-alpha-1000126-default.g2a.akamaidb.net", + "standby": "replica-a16588-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16588, "label": "example-db-created-with-config", "members": {}, "port": + 25698, "region": "us-east", "ssl_connection": true, "status": "provisioning", + "total_disk_size_gb": 58, "type": "g6-dedicated-2", "updated": "2018-01-02T03:04:05", + "updates": {"day_of_week": 5, "duration": 4, "frequency": "weekly", "hour_of_day": + 18, "pending": []}, "used_disk_size_gb": null, "version": "8", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "1653" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "notification", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T19:00:40"},"entity.id":16588,"entity.type":"database","id":{"+gte":31676759}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676759, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, + "duration": 535, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "example-db-created-with-config", "id": 16588, "type": "database", + "url": "/v4/databases/mysql/instances/16588"}, "status": "finished", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "462" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/instances/16588 + method: GET + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "mysql", "engine_config": + {"binlog_retention_period": 600, "mysql": {"connect_timeout": 10, "default_time_zone": + "+03:00", "group_concat_max_len": 1024, "information_schema_stats_expiry": 86400, + "innodb_change_buffer_max_size": 30, "innodb_flush_neighbors": 1, "innodb_ft_min_token_size": + 3, "innodb_ft_server_stopword_table": "mydb/stopwords", "innodb_lock_wait_timeout": + 50, "innodb_log_buffer_size": 16777216, "innodb_online_alter_log_max_size": + 134217728, "innodb_read_io_threads": 10, "innodb_rollback_on_timeout": true, + "innodb_thread_concurrency": 10, "innodb_write_io_threads": 10, "interactive_timeout": + 3600, "internal_tmp_mem_storage_engine": "TempTable", "max_allowed_packet": + 67108864, "max_heap_table_size": 16777216, "net_buffer_length": 16384, "net_read_timeout": + 30, "net_write_timeout": 30, "sort_buffer_size": 262144, "sql_mode": "TRADITIONAL", + "sql_require_primary_key": true, "tmp_table_size": 16777216, "wait_timeout": + 28800}}, "hosts": {"primary": "a16588-akamai-alpha-1000126-default.g2a.akamaidb.net", + "standby": "replica-a16588-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16588, "label": "example-db-created-with-config", "members": {"172.104.211.166": + "primary", "45.56.105.33": "failover", "45.56.105.59": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 18, "pending": []}, "used_disk_size_gb": + 1, "version": "8.0.35", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "1779" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"db-engine-config-updated","engine_config":{"mysql":{"connect_timeout":20,"innodb_lock_wait_timeout":60,"net_read_timeout":40}}}' + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/instances/16588 + method: PUT + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "mysql", "engine_config": + {"binlog_retention_period": 600, "mysql": {"connect_timeout": 20, "default_time_zone": + "+03:00", "group_concat_max_len": 1024, "information_schema_stats_expiry": 86400, + "innodb_change_buffer_max_size": 30, "innodb_flush_neighbors": 1, "innodb_ft_min_token_size": + 3, "innodb_ft_server_stopword_table": "mydb/stopwords", "innodb_lock_wait_timeout": + 60, "innodb_log_buffer_size": 16777216, "innodb_online_alter_log_max_size": + 134217728, "innodb_read_io_threads": 10, "innodb_rollback_on_timeout": true, + "innodb_thread_concurrency": 10, "innodb_write_io_threads": 10, "interactive_timeout": + 3600, "internal_tmp_mem_storage_engine": "TempTable", "max_allowed_packet": + 67108864, "max_heap_table_size": 16777216, "net_buffer_length": 16384, "net_read_timeout": + 40, "net_write_timeout": 30, "sort_buffer_size": 262144, "sql_mode": "TRADITIONAL", + "sql_require_primary_key": true, "tmp_table_size": 16777216, "wait_timeout": + 28800}}, "hosts": {"primary": "a16588-akamai-alpha-1000126-default.g2a.akamaidb.net", + "standby": "replica-a16588-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16588, "label": "db-engine-config-updated", "members": {"172.104.211.166": + "primary", "45.56.105.33": "failover", "45.56.105.59": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 18, "pending": []}, "used_disk_size_gb": + 1, "version": "8.0.35", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "1773" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":16588,"entity.type":"database"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676761, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, + "duration": 0, "action": "database_update", "username": "ykim_akamai", "entity": + {"label": "db-engine-config-updated", "id": 16588, "type": "database", "url": + "/v4/databases/mysql/instances/16588"}, "status": "finished", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "454" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/instances/16588 + method: GET + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "mysql", "engine_config": + {"binlog_retention_period": 600, "mysql": {"connect_timeout": 20, "default_time_zone": + "+03:00", "group_concat_max_len": 1024, "information_schema_stats_expiry": 86400, + "innodb_change_buffer_max_size": 30, "innodb_flush_neighbors": 1, "innodb_ft_min_token_size": + 3, "innodb_ft_server_stopword_table": "mydb/stopwords", "innodb_lock_wait_timeout": + 60, "innodb_log_buffer_size": 16777216, "innodb_online_alter_log_max_size": + 134217728, "innodb_read_io_threads": 10, "innodb_rollback_on_timeout": true, + "innodb_thread_concurrency": 10, "innodb_write_io_threads": 10, "interactive_timeout": + 3600, "internal_tmp_mem_storage_engine": "TempTable", "max_allowed_packet": + 67108864, "max_heap_table_size": 16777216, "net_buffer_length": 16384, "net_read_timeout": + 40, "net_write_timeout": 30, "sort_buffer_size": 262144, "sql_mode": "TRADITIONAL", + "sql_require_primary_key": true, "tmp_table_size": 16777216, "wait_timeout": + 28800}}, "hosts": {"primary": "a16588-akamai-alpha-1000126-default.g2a.akamaidb.net", + "standby": "replica-a16588-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16588, "label": "db-engine-config-updated", "members": {"172.104.211.166": + "primary", "45.56.105.33": "failover", "45.56.105.59": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 18, "pending": []}, "used_disk_size_gb": + 1, "version": "8.0.35", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "1773" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/mysql/instances/16588 + method: DELETE + response: + body: '{}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestDatabasePostgresConfig_Get.yaml b/test/integration/fixtures/TestDatabasePostgresConfig_Get.yaml new file mode 100644 index 000000000..25abaf0ce --- /dev/null +++ b/test/integration/fixtures/TestDatabasePostgresConfig_Get.yaml @@ -0,0 +1,205 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/config + method: GET + response: + body: '{"pg": {"autovacuum_analyze_scale_factor": {"description": "Specifies a + fraction of the table size to add to autovacuum_analyze_threshold when deciding + whether to trigger an ANALYZE. The default is 0.2 (20% of table size)", "maximum": + 1.0, "minimum": 0.0, "requires_restart": false, "type": "number"}, "autovacuum_analyze_threshold": + {"description": "Specifies the minimum number of inserted, updated or deleted + tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.", + "maximum": 2147483647, "minimum": 0, "requires_restart": false, "type": "integer"}, + "autovacuum_max_workers": {"description": "Specifies the maximum number of autovacuum + processes (other than the autovacuum launcher) that may be running at any one + time. The default is three. This parameter can only be set at server start.", + "maximum": 20, "minimum": 1, "requires_restart": true, "type": "integer"}, "autovacuum_naptime": + {"description": "Specifies the minimum delay between autovacuum runs on any + given database. The delay is measured in seconds, and the default is one minute", + "maximum": 86400, "minimum": 1, "requires_restart": false, "type": "integer"}, + "autovacuum_vacuum_cost_delay": {"description": "Specifies the cost delay value + that will be used in automatic VACUUM operations. If -1 is specified, the regular + vacuum_cost_delay value will be used. The default value is 20 milliseconds", + "maximum": 100, "minimum": -1, "requires_restart": false, "type": "integer"}, + "autovacuum_vacuum_cost_limit": {"description": "Specifies the cost limit value + that will be used in automatic VACUUM operations. If -1 is specified (which + is the default), the regular vacuum_cost_limit value will be used.", "maximum": + 10000, "minimum": -1, "requires_restart": false, "type": "integer"}, "autovacuum_vacuum_scale_factor": + {"description": "Specifies a fraction of the table size to add to autovacuum_vacuum_threshold + when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table + size)", "maximum": 1.0, "minimum": 0.0, "requires_restart": false, "type": "number"}, + "autovacuum_vacuum_threshold": {"description": "Specifies the minimum number + of updated or deleted tuples needed to trigger a VACUUM in any one table. The + default is 50 tuples", "maximum": 2147483647, "minimum": 0, "requires_restart": + false, "type": "integer"}, "bgwriter_delay": {"description": "Specifies the + delay between activity rounds for the background writer in milliseconds. Default + is 200.", "example": 200, "maximum": 10000, "minimum": 10, "requires_restart": + false, "type": "integer"}, "bgwriter_flush_after": {"description": "Whenever + more than bgwriter_flush_after bytes have been written by the background writer, + attempt to force the OS to issue these writes to the underlying storage. Specified + in kilobytes, default is 512. Setting of 0 disables forced writeback.", "example": + 512, "maximum": 2048, "minimum": 0, "requires_restart": false, "type": "integer"}, + "bgwriter_lru_maxpages": {"description": "In each round, no more than this many + buffers will be written by the background writer. Setting this to zero disables + background writing. Default is 100.", "example": 100, "maximum": 1073741823, + "minimum": 0, "requires_restart": false, "type": "integer"}, "bgwriter_lru_multiplier": + {"description": "The average recent need for new buffers is multiplied by bgwriter_lru_multiplier + to arrive at an estimate of the number that will be needed during the next round, + (up to bgwriter_lru_maxpages). 1.0 represents a \u201cjust in time\u201d policy + of writing exactly the number of buffers predicted to be needed. Larger values + provide some cushion against spikes in demand, while smaller values intentionally + leave writes to be done by server processes. The default is 2.0.", "example": + 2.0, "maximum": 10, "minimum": 0, "requires_restart": false, "type": "number"}, + "deadlock_timeout": {"description": "This is the amount of time, in milliseconds, + to wait on a lock before checking to see if there is a deadlock condition.", + "example": 1000, "maximum": 1800000, "minimum": 500, "requires_restart": false, + "type": "integer"}, "default_toast_compression": {"description": "Specifies + the default TOAST compression method for values of compressible columns (the + default is lz4).", "enum": ["lz4", "pglz"], "example": "lz4", "requires_restart": + false, "type": "string"}, "idle_in_transaction_session_timeout": {"description": + "Time out sessions with open transactions after this number of milliseconds", + "maximum": 604800000, "minimum": 0, "requires_restart": false, "type": "integer"}, + "jit": {"description": "Controls system-wide use of Just-in-Time Compilation + (JIT).", "example": true, "requires_restart": false, "type": "boolean"}, "max_files_per_process": + {"description": "PostgreSQL maximum number of files that can be open per process", + "maximum": 4096, "minimum": 1000, "requires_restart": true, "type": "integer"}, + "max_locks_per_transaction": {"description": "PostgreSQL maximum locks per transaction", + "maximum": 6400, "minimum": 64, "requires_restart": true, "type": "integer"}, + "max_logical_replication_workers": {"description": "PostgreSQL maximum logical + replication workers (taken from the pool of max_parallel_workers)", "maximum": + 64, "minimum": 4, "requires_restart": true, "type": "integer"}, "max_parallel_workers": + {"description": "Sets the maximum number of workers that the system can support + for parallel queries", "maximum": 96, "minimum": 0, "requires_restart": false, + "type": "integer"}, "max_parallel_workers_per_gather": {"description": "Sets + the maximum number of workers that can be started by a single Gather or Gather + Merge node", "maximum": 96, "minimum": 0, "requires_restart": false, "type": + "integer"}, "max_pred_locks_per_transaction": {"description": "PostgreSQL maximum + predicate locks per transaction", "maximum": 5120, "minimum": 64, "requires_restart": + true, "type": "integer"}, "max_replication_slots": {"description": "PostgreSQL + maximum replication slots", "maximum": 64, "minimum": 8, "requires_restart": + true, "type": "integer"}, "max_slot_wal_keep_size": {"description": "PostgreSQL + maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). + wal_keep_size minimum WAL size setting takes precedence over this.", "maximum": + 2147483647, "minimum": -1, "requires_restart": false, "type": "integer"}, "max_stack_depth": + {"description": "Maximum depth of the stack in bytes", "maximum": 6291456, "minimum": + 2097152, "requires_restart": false, "type": "integer"}, "max_standby_archive_delay": + {"description": "Max standby archive delay in milliseconds", "maximum": 43200000, + "minimum": 1, "requires_restart": false, "type": "integer"}, "max_standby_streaming_delay": + {"description": "Max standby streaming delay in milliseconds", "maximum": 43200000, + "minimum": 1, "requires_restart": false, "type": "integer"}, "max_wal_senders": + {"description": "PostgreSQL maximum WAL senders", "maximum": 64, "minimum": + 20, "requires_restart": true, "type": "integer"}, "max_worker_processes": {"description": + "Sets the maximum number of background processes that the system can support", + "maximum": 96, "minimum": 8, "requires_restart": true, "type": "integer"}, "password_encryption": + {"default": "md5", "description": "Chooses the algorithm for encrypting passwords.", + "enum": ["md5", "scram-sha-256"], "example": "scram-sha-256", "requires_restart": + false, "type": ["string", "null"]}, "pg_partman_bgw.interval": {"description": + "Sets the time interval to run pg_partman''s scheduled tasks", "example": 3600, + "maximum": 604800, "minimum": 3600, "requires_restart": false, "type": "integer"}, + "pg_partman_bgw.role": {"description": "Controls which role to use for pg_partman''s + scheduled background tasks.", "example": "myrolename", "maxLength": 64, "pattern": + "^[_A-Za-z0-9][-._A-Za-z0-9]{0,63}$", "requires_restart": false, "type": "string"}, + "pg_stat_monitor.pgsm_enable_query_plan": {"description": "Enables or disables + query plan monitoring", "example": false, "requires_restart": false, "type": + "boolean"}, "pg_stat_monitor.pgsm_max_buckets": {"description": "Sets the maximum + number of buckets ", "example": 10, "maximum": 10, "minimum": 1, "requires_restart": + true, "type": "integer"}, "pg_stat_statements.track": {"description": "Controls + which statements are counted. Specify top to track top-level statements (those + issued directly by clients), all to also track nested statements (such as statements + invoked within functions), or none to disable statement statistics collection. + The default value is top.", "enum": ["all", "top", "none"], "requires_restart": + false, "type": ["string"]}, "temp_file_limit": {"description": "PostgreSQL temporary + file limit in KiB, -1 for unlimited", "example": 5000000, "maximum": 2147483647, + "minimum": -1, "requires_restart": false, "type": "integer"}, "timezone": {"description": + "PostgreSQL service timezone", "example": "Europe/Helsinki", "maxLength": 64, + "pattern": "^[\\w/]*$", "requires_restart": false, "type": "string"}, "track_activity_query_size": + {"description": "Specifies the number of bytes reserved to track the currently + executing command for each active session.", "example": 1024, "maximum": 10240, + "minimum": 1024, "requires_restart": true, "type": "integer"}, "track_commit_timestamp": + {"description": "Record commit time of transactions.", "enum": ["off", "on"], + "example": "off", "requires_restart": true, "type": "string"}, "track_functions": + {"description": "Enables tracking of function call counts and time used.", "enum": + ["all", "pl", "none"], "requires_restart": false, "type": "string"}, "track_io_timing": + {"description": "Enables timing of database I/O calls. This parameter is off + by default, because it will repeatedly query the operating system for the current + time, which may cause significant overhead on some platforms.", "enum": ["off", + "on"], "example": "off", "requires_restart": false, "type": "string"}, "wal_sender_timeout": + {"description": "Terminate replication connections that are inactive for longer + than this amount of time, in milliseconds. Setting this value to zero disables + the timeout.", "example": 60000, "requires_restart": false, "type": "integer"}, + "wal_writer_delay": {"description": "WAL flush interval in milliseconds. Note + that setting this value to lower than the default 200ms may negatively impact + performance", "example": 50, "maximum": 200, "minimum": 10, "requires_restart": + false, "type": "integer"}}, "pg_stat_monitor_enable": {"default": false, "description": + "Enable the pg_stat_monitor extension. Enabling this extension will cause the + cluster to be restarted.When this extension is enabled, pg_stat_statements results + for utility commands are unreliable", "requires_restart": true, "type": "boolean"}, + "pglookout": {"max_failover_replication_time_lag": {"default": 60, "description": + "Number of seconds of master unavailability before triggering database failover + to standby", "maximum": 999999, "minimum": 10, "requires_restart": false, "type": + "integer"}}, "shared_buffers_percentage": {"description": "Percentage of total + RAM that the database server uses for shared memory buffers. Valid range is + 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers + configuration value.", "example": 41.5, "maximum": 60.0, "minimum": 20.0, "requires_restart": + true, "type": "number"}, "work_mem": {"description": "Sets the maximum amount + of memory to be used by a query operation (such as a sort or hash table) before + writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM + (up to 32MB).", "example": 4, "maximum": 1024, "minimum": 1, "requires_restart": + false, "type": "integer"}}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "11676" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestDatabasePostgres_EngineConfig_Suite.yaml b/test/integration/fixtures/TestDatabasePostgres_EngineConfig_Suite.yaml new file mode 100644 index 000000000..f89a722b1 --- /dev/null +++ b/test/integration/fixtures/TestDatabasePostgres_EngineConfig_Suite.yaml @@ -0,0 +1,5095 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions?page=1 + method: GET + response: + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", "Vlans", + "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Vlans", "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Vlans", "VPCs", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Disk Encryption", "Metadata", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": + "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Disk Encryption", "Metadata", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": + "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Kubernetes", "Managed Databases", "StackScripts"], "status": "ok", "resolvers": + {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Block Storage Encryption", "LA Disk Encryption", + "Disk Encryption", "Backups", "NodeBalancers", "Block Storage", "Object Storage", + "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Block Storage + Migrations", "Managed Databases", "Placement Group", "StackScripts", "NETINT + Quadra T1U"], "status": "ok", "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Placement Group", "StackScripts"], + "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": null, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "StackScripts"], "status": "ok", "resolvers": {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Managed Databases", "StackScripts"], "status": "ok", "resolvers": {"ipv4": + "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 0, "maximum_linodes_per_pg": + 0}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "8361" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"postgres-db-created-with-config","region":"us-east","type":"g6-dedicated-2","engine":"postgresql/17","allow_list":["203.0.113.1","192.0.1.0/24"],"cluster_size":3,"engine_config":{"pg":{"autovacuum_analyze_scale_factor":0.1,"autovacuum_analyze_threshold":500,"autovacuum_max_workers":3,"autovacuum_naptime":60,"autovacuum_vacuum_cost_delay":100,"autovacuum_vacuum_cost_limit":2000,"autovacuum_vacuum_scale_factor":0.2,"autovacuum_vacuum_threshold":500,"bgwriter_delay":100,"bgwriter_flush_after":1000,"bgwriter_lru_maxpages":100,"bgwriter_lru_multiplier":2,"deadlock_timeout":1000,"default_toast_compression":"lz4","idle_in_transaction_session_timeout":600,"jit":true,"max_files_per_process":1000,"max_locks_per_transaction":64,"max_logical_replication_workers":4,"max_parallel_workers":8,"max_parallel_workers_per_gather":2,"max_pred_locks_per_transaction":64,"max_replication_slots":8,"max_slot_wal_keep_size":512,"max_stack_depth":2097152,"max_standby_archive_delay":30000,"max_standby_streaming_delay":30000,"max_wal_senders":20,"max_worker_processes":8,"password_encryption":"scram-sha-256","pg_partman_bgw.interval":3600,"pg_partman_bgw.role":"pg_partman_bgw","pg_stat_monitor.pgsm_enable_query_plan":true,"pg_stat_monitor.pgsm_max_buckets":10,"pg_stat_statements.track":"top","temp_file_limit":1000,"timezone":"UTC","track_activity_query_size":1024,"track_commit_timestamp":"on","track_functions":"all","track_io_timing":"on","wal_sender_timeout":60000,"wal_writer_delay":200},"pg_stat_monitor_enable":true,"pglookout":{},"shared_buffers_percentage":25,"work_mem":1024}}' + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/instances + method: POST + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "postgresql", "engine_config": + {"pg": {"autovacuum_analyze_scale_factor": 0.1, "autovacuum_analyze_threshold": + 500, "autovacuum_max_workers": 3, "autovacuum_naptime": 60, "autovacuum_vacuum_cost_delay": + 100, "autovacuum_vacuum_cost_limit": 2000, "autovacuum_vacuum_scale_factor": + 0.2, "autovacuum_vacuum_threshold": 500, "bgwriter_delay": 100, "bgwriter_flush_after": + 1000, "bgwriter_lru_maxpages": 100, "bgwriter_lru_multiplier": 2, "deadlock_timeout": + 1000, "default_toast_compression": "lz4", "idle_in_transaction_session_timeout": + 600, "jit": true, "max_files_per_process": 1000, "max_locks_per_transaction": + 64, "max_logical_replication_workers": 4, "max_parallel_workers": 8, "max_parallel_workers_per_gather": + 2, "max_pred_locks_per_transaction": 64, "max_replication_slots": 8, "max_slot_wal_keep_size": + 512, "max_stack_depth": 2097152, "max_standby_archive_delay": 30000, "max_standby_streaming_delay": + 30000, "max_wal_senders": 20, "max_worker_processes": 8, "password_encryption": + "scram-sha-256", "pg_partman_bgw.interval": 3600, "pg_partman_bgw.role": "pg_partman_bgw", + "pg_stat_monitor.pgsm_enable_query_plan": true, "pg_stat_monitor.pgsm_max_buckets": + 10, "pg_stat_statements.track": "top", "temp_file_limit": 1000, "timezone": + "UTC", "track_activity_query_size": 1024, "track_commit_timestamp": "on", "track_functions": + "all", "track_io_timing": "on", "wal_sender_timeout": 60000, "wal_writer_delay": + 200}, "pg_stat_monitor_enable": true, "pglookout": {"max_failover_replication_time_lag": + 60}, "shared_buffers_percentage": 25, "work_mem": 1024}, "hosts": {"primary": + "a16587-akamai-alpha-1000126-default.g2a.akamaidb.net", "standby": "replica-a16587-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16587, "label": "postgres-db-created-with-config", "members": {}, "port": + 25698, "region": "us-east", "ssl_connection": true, "status": "provisioning", + "total_disk_size_gb": 58, "type": "g6-dedicated-2", "updated": "2018-01-02T03:04:05", + "updates": {"day_of_week": 5, "duration": 4, "frequency": "weekly", "hour_of_day": + 23, "pending": []}, "used_disk_size_gb": null, "version": "17", "platform": + "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2268" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": null, "time_remaining": null, "rate": null, + "duration": null, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "notification", + "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, "results": + 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "474" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_create","created":{"+gte":"2025-04-25T18:59:29"},"entity.id":16587,"entity.type":"database","id":{"+gte":31676755}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676755, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, + "duration": 600, "action": "database_create", "username": "ykim_akamai", "entity": + {"label": "postgres-db-created-with-config", "id": 16587, "type": "database", + "url": "/v4/databases/postgresql/instances/16587"}, "status": "finished", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "468" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/instances/16587 + method: GET + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "postgresql", "engine_config": + {"pg": {"autovacuum_analyze_scale_factor": 0.1, "autovacuum_analyze_threshold": + 500, "autovacuum_max_workers": 3, "autovacuum_naptime": 60, "autovacuum_vacuum_cost_delay": + 100, "autovacuum_vacuum_cost_limit": 2000, "autovacuum_vacuum_scale_factor": + 0.2, "autovacuum_vacuum_threshold": 500, "bgwriter_delay": 100, "bgwriter_flush_after": + 1000, "bgwriter_lru_maxpages": 100, "bgwriter_lru_multiplier": 2, "deadlock_timeout": + 1000, "default_toast_compression": "lz4", "idle_in_transaction_session_timeout": + 600, "jit": true, "max_files_per_process": 1000, "max_locks_per_transaction": + 64, "max_logical_replication_workers": 4, "max_parallel_workers": 8, "max_parallel_workers_per_gather": + 2, "max_pred_locks_per_transaction": 64, "max_replication_slots": 8, "max_slot_wal_keep_size": + 512, "max_stack_depth": 2097152, "max_standby_archive_delay": 30000, "max_standby_streaming_delay": + 30000, "max_wal_senders": 20, "max_worker_processes": 8, "password_encryption": + "scram-sha-256", "pg_partman_bgw.interval": 3600, "pg_partman_bgw.role": "pg_partman_bgw", + "pg_stat_monitor.pgsm_enable_query_plan": true, "pg_stat_monitor.pgsm_max_buckets": + 10, "pg_stat_statements.track": "top", "temp_file_limit": 1000, "timezone": + "UTC", "track_activity_query_size": 1024, "track_commit_timestamp": "on", "track_functions": + "all", "track_io_timing": "on", "wal_sender_timeout": 60000, "wal_writer_delay": + 200}, "pg_stat_monitor_enable": true, "pglookout": {"max_failover_replication_time_lag": + 60}, "shared_buffers_percentage": 25, "work_mem": 1024}, "hosts": {"primary": + "a16587-akamai-alpha-1000126-default.g2a.akamaidb.net", "standby": "replica-a16587-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16587, "label": "postgres-db-created-with-config", "members": {"172.104.211.137": + "primary", "45.79.132.11": "failover", "45.79.132.223": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 23, "pending": []}, "used_disk_size_gb": + 0, "version": "17.4", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2392" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"example-db-updated","engine_config":{"pg":{"autovacuum_vacuum_threshold":500,"deadlock_timeout":3000}}}' + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/instances/16587 + method: PUT + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "postgresql", "engine_config": + {"pg": {"autovacuum_analyze_scale_factor": 0.1, "autovacuum_analyze_threshold": + 500, "autovacuum_max_workers": 3, "autovacuum_naptime": 60, "autovacuum_vacuum_cost_delay": + 100, "autovacuum_vacuum_cost_limit": 2000, "autovacuum_vacuum_scale_factor": + 0.2, "autovacuum_vacuum_threshold": 500, "bgwriter_delay": 100, "bgwriter_flush_after": + 1000, "bgwriter_lru_maxpages": 100, "bgwriter_lru_multiplier": 2, "deadlock_timeout": + 3000, "default_toast_compression": "lz4", "idle_in_transaction_session_timeout": + 600, "jit": true, "max_files_per_process": 1000, "max_locks_per_transaction": + 64, "max_logical_replication_workers": 4, "max_parallel_workers": 8, "max_parallel_workers_per_gather": + 2, "max_pred_locks_per_transaction": 64, "max_replication_slots": 8, "max_slot_wal_keep_size": + 512, "max_stack_depth": 2097152, "max_standby_archive_delay": 30000, "max_standby_streaming_delay": + 30000, "max_wal_senders": 20, "max_worker_processes": 8, "password_encryption": + "scram-sha-256", "pg_partman_bgw.interval": 3600, "pg_partman_bgw.role": "pg_partman_bgw", + "pg_stat_monitor.pgsm_enable_query_plan": true, "pg_stat_monitor.pgsm_max_buckets": + 10, "pg_stat_statements.track": "top", "temp_file_limit": 1000, "timezone": + "UTC", "track_activity_query_size": 1024, "track_commit_timestamp": "on", "track_functions": + "all", "track_io_timing": "on", "wal_sender_timeout": 60000, "wal_writer_delay": + 200}, "pg_stat_monitor_enable": true, "pglookout": {"max_failover_replication_time_lag": + 60}, "shared_buffers_percentage": 25, "work_mem": 1024}, "hosts": {"primary": + "a16587-akamai-alpha-1000126-default.g2a.akamaidb.net", "standby": "replica-a16587-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16587, "label": "example-db-updated", "members": {"172.104.211.137": "primary", + "45.79.132.11": "failover", "45.79.132.223": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 23, "pending": []}, "used_disk_size_gb": + 0, "version": "17.4", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2379" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"database_update","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":16587,"entity.type":"database"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 31676760, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, + "duration": 0, "action": "database_update", "username": "ykim_akamai", "entity": + {"label": "example-db-updated", "id": 16587, "type": "database", "url": "/v4/databases/postgresql/instances/16587"}, + "status": "finished", "secondary_entity": null, "message": ""}], "page": 1, + "pages": 1, "results": 1}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "453" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/instances/16587 + method: GET + response: + body: '{"allow_list": ["192.0.1.0/24", "203.0.113.1/32"], "cluster_size": 3, "created": + "2018-01-02T03:04:05", "encrypted": true, "engine": "postgresql", "engine_config": + {"pg": {"autovacuum_analyze_scale_factor": 0.1, "autovacuum_analyze_threshold": + 500, "autovacuum_max_workers": 3, "autovacuum_naptime": 60, "autovacuum_vacuum_cost_delay": + 100, "autovacuum_vacuum_cost_limit": 2000, "autovacuum_vacuum_scale_factor": + 0.2, "autovacuum_vacuum_threshold": 500, "bgwriter_delay": 100, "bgwriter_flush_after": + 1000, "bgwriter_lru_maxpages": 100, "bgwriter_lru_multiplier": 2, "deadlock_timeout": + 3000, "default_toast_compression": "lz4", "idle_in_transaction_session_timeout": + 600, "jit": true, "max_files_per_process": 1000, "max_locks_per_transaction": + 64, "max_logical_replication_workers": 4, "max_parallel_workers": 8, "max_parallel_workers_per_gather": + 2, "max_pred_locks_per_transaction": 64, "max_replication_slots": 8, "max_slot_wal_keep_size": + 512, "max_stack_depth": 2097152, "max_standby_archive_delay": 30000, "max_standby_streaming_delay": + 30000, "max_wal_senders": 20, "max_worker_processes": 8, "password_encryption": + "scram-sha-256", "pg_partman_bgw.interval": 3600, "pg_partman_bgw.role": "pg_partman_bgw", + "pg_stat_monitor.pgsm_enable_query_plan": true, "pg_stat_monitor.pgsm_max_buckets": + 10, "pg_stat_statements.track": "top", "temp_file_limit": 1000, "timezone": + "UTC", "track_activity_query_size": 1024, "track_commit_timestamp": "on", "track_functions": + "all", "track_io_timing": "on", "wal_sender_timeout": 60000, "wal_writer_delay": + 200}, "pg_stat_monitor_enable": true, "pglookout": {"max_failover_replication_time_lag": + 60}, "shared_buffers_percentage": 25, "work_mem": 1024}, "hosts": {"primary": + "a16587-akamai-alpha-1000126-default.g2a.akamaidb.net", "standby": "replica-a16587-akamai-alpha-1000126-default.g2a.akamaidb.net"}, + "id": 16587, "label": "example-db-updated", "members": {"172.104.211.137": "primary", + "45.79.132.11": "failover", "45.79.132.223": "failover"}, "oldest_restore_time": + "2018-01-02T03:04:05", "port": 25698, "region": "us-east", "ssl_connection": + true, "status": "active", "total_disk_size_gb": 58, "type": "g6-dedicated-2", + "updated": "2018-01-02T03:04:05", "updates": {"day_of_week": 5, "duration": + 4, "frequency": "weekly", "hour_of_day": 23, "pending": []}, "used_disk_size_gb": + 0, "version": "17.4", "platform": "rdbms-default"}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2379" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/databases/postgresql/instances/16587 + method: DELETE + response: + body: '{}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx/1.22.1 + Strict-Transport-Security: + - max-age=31536000 + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - databases:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/mysql_db_config_test.go b/test/integration/mysql_db_config_test.go new file mode 100644 index 000000000..1d317de24 --- /dev/null +++ b/test/integration/mysql_db_config_test.go @@ -0,0 +1,311 @@ +package integration + +import ( + "context" + "testing" + + "github.com/linode/linodego" + "github.com/stretchr/testify/assert" +) + +func TestDatabaseMySQLConfig_Get(t *testing.T) { + client, teardown := createTestClient(t, "fixtures/TestDatabaseMySQLConfig_Get") + defer teardown() + + config, err := client.GetMySQLDatabaseConfig(context.Background()) + if err != nil { + t.Fatalf("Error getting MySQL database config: %v", err) + } + + assert.IsType(t, string("The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshakes"), + config.MySQL.ConnectTimeout.Description) + assert.IsType(t, int(10), config.MySQL.ConnectTimeout.Example) + assert.IsType(t, int(3600), config.MySQL.ConnectTimeout.Maximum) + assert.IsType(t, int(2), config.MySQL.ConnectTimeout.Minimum) + assert.IsType(t, int(0), config.MySQL.ConnectTimeout.Minimum) + assert.IsType(t, bool(false), config.MySQL.ConnectTimeout.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.ConnectTimeout.Type) + + assert.IsType(t, string("Default server time zone as an offset from UTC (from -12:00 to +12:00), a time zone name, or 'SYSTEM' to use the MySQL server default."), + config.MySQL.DefaultTimeZone.Description) + assert.IsType(t, string("+03:00"), config.MySQL.DefaultTimeZone.Example) + assert.IsType(t, int(100), config.MySQL.DefaultTimeZone.MaxLength) + assert.IsType(t, int(2), config.MySQL.DefaultTimeZone.MinLength) + assert.IsType(t, string("^([-+][\\d:]*|[\\w/]*)$"), config.MySQL.DefaultTimeZone.Pattern) + assert.IsType(t, bool(false), config.MySQL.DefaultTimeZone.RequiresRestart) + assert.Equal(t, "string", config.MySQL.DefaultTimeZone.Type) // keep this if the type value must be "string" + + assert.IsType(t, string("The maximum permitted result length in bytes for the GROUP_CONCAT() function."), config.MySQL.GroupConcatMaxLen.Description) + assert.IsType(t, float64(1024), config.MySQL.GroupConcatMaxLen.Example) + assert.IsType(t, float64(18446744073709551600), config.MySQL.GroupConcatMaxLen.Maximum) + assert.IsType(t, float64(4), config.MySQL.GroupConcatMaxLen.Minimum) + assert.IsType(t, bool(false), config.MySQL.GroupConcatMaxLen.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.GroupConcatMaxLen.Type) + + assert.IsType(t, string("The time, in seconds, before cached statistics expire"), config.MySQL.InformationSchemaStatsExpiry.Description) + assert.IsType(t, int(86400), config.MySQL.InformationSchemaStatsExpiry.Example) + assert.IsType(t, int(31536000), config.MySQL.InformationSchemaStatsExpiry.Maximum) + assert.IsType(t, int(900), config.MySQL.InformationSchemaStatsExpiry.Minimum) + assert.IsType(t, bool(false), config.MySQL.InformationSchemaStatsExpiry.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InformationSchemaStatsExpiry.Type) + + assert.IsType(t, string("Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. Default is 25"), config.MySQL.InnoDBChangeBufferMaxSize.Description) + assert.IsType(t, int(30), config.MySQL.InnoDBChangeBufferMaxSize.Example) + assert.IsType(t, int(50), config.MySQL.InnoDBChangeBufferMaxSize.Maximum) + assert.IsType(t, int(0), config.MySQL.InnoDBChangeBufferMaxSize.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBChangeBufferMaxSize.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBChangeBufferMaxSize.Type) + + assert.IsType(t, string("Specifies whether flushing a page from the InnoDB buffer pool also flushes other dirty pages in the same extent (default is 1): 0 - dirty pages in the same extent are not flushed, 1 - flush contiguous dirty pages in the same extent, 2 - flush dirty pages in the same extent"), config.MySQL.InnoDBFlushNeighbors.Description) + assert.IsType(t, int(0), config.MySQL.InnoDBFlushNeighbors.Example) + assert.IsType(t, int(2), config.MySQL.InnoDBFlushNeighbors.Maximum) + assert.IsType(t, int(0), config.MySQL.InnoDBFlushNeighbors.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBFlushNeighbors.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBFlushNeighbors.Type) + + assert.IsType(t, string("Minimum length of words that are stored in an InnoDB FULLTEXT index. Changing this parameter will lead to a restart of the MySQL service."), config.MySQL.InnoDBFTMinTokenSize.Description) + assert.IsType(t, int(3), config.MySQL.InnoDBFTMinTokenSize.Example) + assert.IsType(t, int(16), config.MySQL.InnoDBFTMinTokenSize.Maximum) + assert.IsType(t, int(0), config.MySQL.InnoDBFTMinTokenSize.Minimum) + assert.IsType(t, bool(true), config.MySQL.InnoDBFTMinTokenSize.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBFTMinTokenSize.Type) + + assert.IsType(t, string("This option is used to specify your own InnoDB FULLTEXT index stopword list for all InnoDB tables."), config.MySQL.InnoDBFTServerStopwordTable.Description) + assert.IsType(t, string("db_name/table_name"), config.MySQL.InnoDBFTServerStopwordTable.Example) + assert.IsType(t, int(1024), config.MySQL.InnoDBFTServerStopwordTable.MaxLength) + assert.IsType(t, string("^.+/.+$"), config.MySQL.InnoDBFTServerStopwordTable.Pattern) + assert.IsType(t, bool(false), config.MySQL.InnoDBFTServerStopwordTable.RequiresRestart) + assert.Equal(t, []string{"null", "string"}, config.MySQL.InnoDBFTServerStopwordTable.Type) + + assert.IsType(t, string("The length of time in seconds an InnoDB transaction waits for a row lock before giving up. Default is 120."), config.MySQL.InnoDBLockWaitTimeout.Description) + assert.IsType(t, int(50), config.MySQL.InnoDBLockWaitTimeout.Example) + assert.IsType(t, int(3600), config.MySQL.InnoDBLockWaitTimeout.Maximum) + assert.IsType(t, int(1), config.MySQL.InnoDBLockWaitTimeout.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBLockWaitTimeout.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBLockWaitTimeout.Type) + + assert.IsType(t, string("The size in bytes of the buffer that InnoDB uses to write to the log files on disk."), config.MySQL.InnoDBLogBufferSize.Description) + assert.IsType(t, int(16777216), config.MySQL.InnoDBLogBufferSize.Example) + assert.IsType(t, int(4294967295), config.MySQL.InnoDBLogBufferSize.Maximum) + assert.IsType(t, int(1048576), config.MySQL.InnoDBLogBufferSize.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBLogBufferSize.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBLogBufferSize.Type) + + assert.IsType(t, string("The upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables."), config.MySQL.InnoDBOnlineAlterLogMaxSize.Description) + assert.IsType(t, int(134217728), config.MySQL.InnoDBOnlineAlterLogMaxSize.Example) + assert.IsType(t, int(1099511627776), config.MySQL.InnoDBOnlineAlterLogMaxSize.Maximum) + assert.IsType(t, int(65536), config.MySQL.InnoDBOnlineAlterLogMaxSize.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBOnlineAlterLogMaxSize.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBOnlineAlterLogMaxSize.Type) + + assert.IsType(t, string("The number of I/O threads for read operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service."), config.MySQL.InnoDBReadIOThreads.Description) + assert.IsType(t, int(10), config.MySQL.InnoDBReadIOThreads.Example) + assert.IsType(t, int(64), config.MySQL.InnoDBReadIOThreads.Maximum) + assert.IsType(t, int(1), config.MySQL.InnoDBReadIOThreads.Minimum) + assert.IsType(t, bool(true), config.MySQL.InnoDBReadIOThreads.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBReadIOThreads.Type) + + assert.IsType(t, string("When enabled a transaction timeout causes InnoDB to abort and roll back the entire transaction. Changing this parameter will lead to a restart of the MySQL service."), config.MySQL.InnoDBRollbackOnTimeout.Description) + assert.IsType(t, bool(true), config.MySQL.InnoDBRollbackOnTimeout.Example) + assert.IsType(t, bool(true), config.MySQL.InnoDBRollbackOnTimeout.RequiresRestart) + assert.Equal(t, "boolean", config.MySQL.InnoDBRollbackOnTimeout.Type) + + assert.IsType(t, string("Defines the maximum number of threads permitted inside of InnoDB. Default is 0 (infinite concurrency - no limit)"), config.MySQL.InnoDBThreadConcurrency.Description) + assert.IsType(t, int(10), config.MySQL.InnoDBThreadConcurrency.Example) + assert.IsType(t, int(1000), config.MySQL.InnoDBThreadConcurrency.Maximum) + assert.IsType(t, int(0), config.MySQL.InnoDBThreadConcurrency.Minimum) + assert.IsType(t, bool(false), config.MySQL.InnoDBThreadConcurrency.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBThreadConcurrency.Type) + + assert.IsType(t, string("The number of I/O threads for write operations in InnoDB. Default is 4. Changing this parameter will lead to a restart of the MySQL service."), config.MySQL.InnoDBWriteIOThreads.Description) + assert.IsType(t, int(10), config.MySQL.InnoDBWriteIOThreads.Example) + assert.IsType(t, int(64), config.MySQL.InnoDBWriteIOThreads.Maximum) + assert.IsType(t, int(1), config.MySQL.InnoDBWriteIOThreads.Minimum) + assert.IsType(t, bool(true), config.MySQL.InnoDBWriteIOThreads.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InnoDBWriteIOThreads.Type) + + assert.IsType(t, string("The number of seconds the server waits for activity on an interactive connection before closing it."), config.MySQL.InteractiveTimeout.Description) + assert.IsType(t, int(3600), config.MySQL.InteractiveTimeout.Example) + assert.IsType(t, int(604800), config.MySQL.InteractiveTimeout.Maximum) + assert.IsType(t, int(30), config.MySQL.InteractiveTimeout.Minimum) + assert.IsType(t, bool(false), config.MySQL.InteractiveTimeout.RequiresRestart) + assert.Equal(t, "integer", config.MySQL.InteractiveTimeout.Type) + + assert.IsType(t, string("The storage engine for in-memory internal temporary tables."), config.MySQL.InternalTmpMemStorageEngine.Description) + assert.IsType(t, string("TempTable"), config.MySQL.InternalTmpMemStorageEngine.Example) + assert.Equal(t, []string{"TempTable", "MEMORY"}, config.MySQL.InternalTmpMemStorageEngine.Enum) + assert.IsType(t, bool(false), config.MySQL.InternalTmpMemStorageEngine.RequiresRestart) + assert.Equal(t, "string", config.MySQL.InternalTmpMemStorageEngine.Type) +} + +func TestDatabaseMySQL_EngineConfig_Suite(t *testing.T) { + databaseModifiers := []mysqlDatabaseModifier{ + createMySQLOptionsModifier(), + } + + client, database, teardown, err := setupMySQLDatabase( + t, + databaseModifiers, + "fixtures/TestDatabaseMySQL_EngineConfig_Suite", + ) + if err != nil { + t.Fatal(err) + } + defer teardown() + + assertSQLDatabaseBasics(t, database) + + expected := newExpectedSQLEngineConfig() + assertMySQLEngineConfigEqual(t, database.EngineConfig.MySQL, expected) + assert.Equal(t, 600, *database.EngineConfig.BinlogRetentionPeriod) + assert.ElementsMatch(t, []string{"192.0.1.0/24", "203.0.113.1/32"}, database.AllowList) + + fetchedDB, err := client.GetMySQLDatabase(context.Background(), database.ID) + assert.NoError(t, err) + assertMySQLEngineConfigEqual(t, fetchedDB.EngineConfig.MySQL, expected) + + updateOptions := linodego.MySQLUpdateOptions{ + Label: "db-engine-config-updated", + EngineConfig: &linodego.MySQLDatabaseEngineConfig{ + MySQL: &linodego.MySQLDatabaseEngineConfigMySQL{ + ConnectTimeout: linodego.Pointer(20), + InnoDBLockWaitTimeout: linodego.Pointer(60), + NetReadTimeout: linodego.Pointer(40), + }, + }, + } + + updatedDB, err := client.UpdateMySQLDatabase(context.Background(), database.ID, updateOptions) + if err != nil { + t.Errorf("failed to update db %d: %v", database.ID, err) + } + + waitForDatabaseUpdated(t, client, updatedDB.ID, linodego.DatabaseEngineTypeMySQL, updatedDB.Created) + + assertUpdatedSQLFields(t, updatedDB.EngineConfig.MySQL) +} + +func createMySQLOptionsModifier() mysqlDatabaseModifier { + return func(options *linodego.MySQLCreateOptions) { + options.Label = "example-db-created-with-config" + options.Region = "us-east" + options.Type = "g6-dedicated-2" + options.Engine = "mysql/8" + options.EngineConfig = &linodego.MySQLDatabaseEngineConfig{ + MySQL: &linodego.MySQLDatabaseEngineConfigMySQL{ + ConnectTimeout: linodego.Pointer(10), + DefaultTimeZone: linodego.Pointer("+03:00"), + GroupConcatMaxLen: linodego.Pointer(1024.0), + InformationSchemaStatsExpiry: linodego.Pointer(86400), + InnoDBChangeBufferMaxSize: linodego.Pointer(30), + InnoDBFlushNeighbors: linodego.Pointer(1), + InnoDBFTMinTokenSize: linodego.Pointer(3), + InnoDBFTServerStopwordTable: linodego.Pointer("mydb/stopwords"), + InnoDBLockWaitTimeout: linodego.Pointer(50), + InnoDBLogBufferSize: linodego.Pointer(16777216), + InnoDBOnlineAlterLogMaxSize: linodego.Pointer(134217728), + InnoDBReadIOThreads: linodego.Pointer(10), + InnoDBRollbackOnTimeout: linodego.Pointer(true), + InnoDBThreadConcurrency: linodego.Pointer(10), + InnoDBWriteIOThreads: linodego.Pointer(10), + InteractiveTimeout: linodego.Pointer(3600), + InternalTmpMemStorageEngine: linodego.Pointer("TempTable"), + MaxAllowedPacket: linodego.Pointer(67108864), + MaxHeapTableSize: linodego.Pointer(16777216), + NetBufferLength: linodego.Pointer(16384), + NetReadTimeout: linodego.Pointer(30), + NetWriteTimeout: linodego.Pointer(30), + SortBufferSize: linodego.Pointer(262144), + SQLMode: linodego.Pointer("TRADITIONAL"), + SQLRequirePrimaryKey: linodego.Pointer(true), + TmpTableSize: linodego.Pointer(16777216), + WaitTimeout: linodego.Pointer(28800), + }, + BinlogRetentionPeriod: linodego.Pointer(600), + } + } +} + +func assertSQLDatabaseBasics(t *testing.T, db *linodego.MySQLDatabase) { + assert.IsType(t, int(16494), db.ID) + assert.Equal(t, "example-db-created-with-config", db.Label) + assert.Equal(t, "us-east", db.Region) + assert.Equal(t, "mysql", db.Engine) + assert.Equal(t, "8", db.Version) + assert.Equal(t, 3, db.ClusterSize) + assert.Equal(t, linodego.DatabasePlatform("rdbms-default"), db.Platform) + assert.Equal(t, "g6-dedicated-2", db.Type) + assert.IsType(t, int(58), db.TotalDiskSizeGB) + assert.Equal(t, 0, db.UsedDiskSizeGB) + assert.IsType(t, int(25698), db.Port) + assert.NotNil(t, db.EngineConfig) + assert.IsType(t, &linodego.MySQLDatabaseEngineConfigMySQL{}, db.EngineConfig.MySQL) +} + +func newExpectedSQLEngineConfig() map[string]any { + return map[string]any{ + "ConnectTimeout": 10, + "DefaultTimeZone": "+03:00", + "GroupConcatMaxLen": 1024.0, + "InformationSchemaStatsExpiry": 86400, + "InnoDBChangeBufferMaxSize": 30, + "InnoDBFlushNeighbors": 1, + "InnoDBFTMinTokenSize": 3, + "InnoDBFTServerStopwordTable": "mydb/stopwords", + "InnoDBLockWaitTimeout": 50, + "InnoDBLogBufferSize": 16777216, + "InnoDBOnlineAlterLogMaxSize": 134217728, + "InnoDBReadIOThreads": 10, + "InnoDBRollbackOnTimeout": true, + "InnoDBThreadConcurrency": 10, + "InnoDBWriteIOThreads": 10, + "InteractiveTimeout": 3600, + "InternalTmpMemStorageEngine": "TempTable", + "MaxAllowedPacket": 67108864, + "MaxHeapTableSize": 16777216, + "NetBufferLength": 16384, + "NetReadTimeout": 30, + "NetWriteTimeout": 30, + "SortBufferSize": 262144, + "SQLMode": "TRADITIONAL", + "SQLRequirePrimaryKey": true, + "TmpTableSize": 16777216, + "WaitTimeout": 28800, + } +} + +func assertMySQLEngineConfigEqual(t *testing.T, cfg *linodego.MySQLDatabaseEngineConfigMySQL, expected map[string]any) { + assert.Equal(t, expected["ConnectTimeout"], *cfg.ConnectTimeout) + assert.Equal(t, expected["DefaultTimeZone"], *cfg.DefaultTimeZone) + assert.Equal(t, expected["GroupConcatMaxLen"], *cfg.GroupConcatMaxLen) + assert.Equal(t, expected["InformationSchemaStatsExpiry"], *cfg.InformationSchemaStatsExpiry) + assert.Equal(t, expected["InnoDBChangeBufferMaxSize"], *cfg.InnoDBChangeBufferMaxSize) + assert.Equal(t, expected["InnoDBFlushNeighbors"], *cfg.InnoDBFlushNeighbors) + assert.Equal(t, expected["InnoDBFTMinTokenSize"], *cfg.InnoDBFTMinTokenSize) + assert.Equal(t, expected["InnoDBFTServerStopwordTable"], *cfg.InnoDBFTServerStopwordTable) + assert.Equal(t, expected["InnoDBLockWaitTimeout"], *cfg.InnoDBLockWaitTimeout) + assert.Equal(t, expected["InnoDBLogBufferSize"], *cfg.InnoDBLogBufferSize) + assert.Equal(t, expected["InnoDBOnlineAlterLogMaxSize"], *cfg.InnoDBOnlineAlterLogMaxSize) + assert.Equal(t, expected["InnoDBReadIOThreads"], *cfg.InnoDBReadIOThreads) + assert.Equal(t, expected["InnoDBRollbackOnTimeout"], *cfg.InnoDBRollbackOnTimeout) + assert.Equal(t, expected["InnoDBThreadConcurrency"], *cfg.InnoDBThreadConcurrency) + assert.Equal(t, expected["InnoDBWriteIOThreads"], *cfg.InnoDBWriteIOThreads) + assert.Equal(t, expected["InteractiveTimeout"], *cfg.InteractiveTimeout) + assert.Equal(t, expected["InternalTmpMemStorageEngine"], *cfg.InternalTmpMemStorageEngine) + assert.Equal(t, expected["MaxAllowedPacket"], *cfg.MaxAllowedPacket) + assert.Equal(t, expected["MaxHeapTableSize"], *cfg.MaxHeapTableSize) + assert.Equal(t, expected["NetBufferLength"], *cfg.NetBufferLength) + assert.Equal(t, expected["NetReadTimeout"], *cfg.NetReadTimeout) + assert.Equal(t, expected["NetWriteTimeout"], *cfg.NetWriteTimeout) + assert.Equal(t, expected["SortBufferSize"], *cfg.SortBufferSize) + assert.Equal(t, expected["SQLMode"], *cfg.SQLMode) + assert.Equal(t, expected["SQLRequirePrimaryKey"], *cfg.SQLRequirePrimaryKey) + assert.Equal(t, expected["TmpTableSize"], *cfg.TmpTableSize) + assert.Equal(t, expected["WaitTimeout"], *cfg.WaitTimeout) +} + +func assertUpdatedSQLFields(t *testing.T, cfg *linodego.MySQLDatabaseEngineConfigMySQL) { + assert.Equal(t, 20, *cfg.ConnectTimeout) + assert.Equal(t, 60, *cfg.InnoDBLockWaitTimeout) + assert.Equal(t, 40, *cfg.NetReadTimeout) +} diff --git a/test/integration/postgres_db_config_test.go b/test/integration/postgres_db_config_test.go new file mode 100644 index 000000000..64cf2fb4a --- /dev/null +++ b/test/integration/postgres_db_config_test.go @@ -0,0 +1,554 @@ +package integration + +import ( + "context" + "os" + "testing" + + "github.com/linode/linodego" + "github.com/stretchr/testify/assert" +) + +func TestDatabasePostgresConfig_Get(t *testing.T) { + client, teardown := createTestClient(t, "fixtures/TestDatabasePostgresConfig_Get") + defer teardown() + + config, err := client.GetPostgresDatabaseConfig(context.Background()) + if err != nil { + t.Fatalf("Error getting PostgreSQL database config: %v", err) + } + + // Assert that the config is not nil + assert.NotNil(t, config, "PostgreSQL config should not be nil") + + assert.IsType(t, string(""), config.PG.AutovacuumAnalyzeScaleFactor.Description) + assert.IsType(t, float64(1.0), config.PG.AutovacuumAnalyzeScaleFactor.Maximum) + assert.IsType(t, float64(0.0), config.PG.AutovacuumAnalyzeScaleFactor.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumAnalyzeScaleFactor.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumAnalyzeScaleFactor.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumAnalyzeThreshold.Description) + assert.IsType(t, int32(2147483647), config.PG.AutovacuumAnalyzeThreshold.Maximum) + assert.IsType(t, int32(0), config.PG.AutovacuumAnalyzeThreshold.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumAnalyzeThreshold.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumAnalyzeThreshold.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumMaxWorkers.Description) + assert.IsType(t, int(20), config.PG.AutovacuumMaxWorkers.Maximum) + assert.IsType(t, int(1), config.PG.AutovacuumMaxWorkers.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumMaxWorkers.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumMaxWorkers.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumNaptime.Description) + assert.IsType(t, int(86400), config.PG.AutovacuumNaptime.Maximum) + assert.IsType(t, int(1), config.PG.AutovacuumNaptime.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumNaptime.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumNaptime.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumVacuumCostDelay.Description) + assert.IsType(t, int(100), config.PG.AutovacuumVacuumCostDelay.Maximum) + assert.IsType(t, int(-1), config.PG.AutovacuumVacuumCostDelay.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumVacuumCostDelay.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumVacuumCostDelay.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumVacuumCostLimit.Description) + assert.IsType(t, int(10000), config.PG.AutovacuumVacuumCostLimit.Maximum) + assert.IsType(t, int(-1), config.PG.AutovacuumVacuumCostLimit.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumVacuumCostLimit.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumVacuumCostLimit.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumVacuumScaleFactor.Description) + assert.IsType(t, float64(1.0), config.PG.AutovacuumVacuumScaleFactor.Maximum) + assert.IsType(t, float64(0.0), config.PG.AutovacuumVacuumScaleFactor.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumVacuumScaleFactor.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumVacuumScaleFactor.Type) + + assert.IsType(t, string(""), config.PG.AutovacuumVacuumThreshold.Description) + assert.IsType(t, int32(2147483647), config.PG.AutovacuumVacuumThreshold.Maximum) + assert.IsType(t, int32(0), config.PG.AutovacuumVacuumThreshold.Minimum) + assert.IsType(t, bool(false), config.PG.AutovacuumVacuumThreshold.RequiresRestart) + assert.IsType(t, string(""), config.PG.AutovacuumVacuumThreshold.Type) + + assert.IsType(t, string(""), config.PG.BGWriterDelay.Description) + assert.IsType(t, int(200), config.PG.BGWriterDelay.Example) + assert.IsType(t, int(10000), config.PG.BGWriterDelay.Maximum) + assert.IsType(t, int(10), config.PG.BGWriterDelay.Minimum) + assert.IsType(t, bool(false), config.PG.BGWriterDelay.RequiresRestart) + assert.IsType(t, string(""), config.PG.BGWriterDelay.Type) + + assert.IsType(t, string(""), config.PG.BGWriterFlushAfter.Description) + assert.IsType(t, int(512), config.PG.BGWriterFlushAfter.Example) + assert.IsType(t, int(2048), config.PG.BGWriterFlushAfter.Maximum) + assert.IsType(t, int(0), config.PG.BGWriterFlushAfter.Minimum) + assert.IsType(t, bool(false), config.PG.BGWriterFlushAfter.RequiresRestart) + assert.IsType(t, string(""), config.PG.BGWriterFlushAfter.Type) + + assert.IsType(t, string(""), config.PG.BGWriterLRUMaxPages.Description) + assert.IsType(t, int(100), config.PG.BGWriterLRUMaxPages.Example) + assert.IsType(t, int(1073741823), config.PG.BGWriterLRUMaxPages.Maximum) + assert.IsType(t, int(0), config.PG.BGWriterLRUMaxPages.Minimum) + assert.IsType(t, bool(false), config.PG.BGWriterLRUMaxPages.RequiresRestart) + assert.IsType(t, string(""), config.PG.BGWriterLRUMaxPages.Type) + + assert.IsType(t, string(""), config.PG.BGWriterLRUMultiplier.Description) + assert.IsType(t, float64(2.0), config.PG.BGWriterLRUMultiplier.Example) + assert.IsType(t, float64(10.0), config.PG.BGWriterLRUMultiplier.Maximum) + assert.IsType(t, float64(0.0), config.PG.BGWriterLRUMultiplier.Minimum) + assert.IsType(t, bool(false), config.PG.BGWriterLRUMultiplier.RequiresRestart) + assert.IsType(t, string(""), config.PG.BGWriterLRUMultiplier.Type) + + assert.IsType(t, string(""), config.PG.DeadlockTimeout.Description) + assert.IsType(t, int(1000), config.PG.DeadlockTimeout.Example) + assert.IsType(t, int(1800000), config.PG.DeadlockTimeout.Maximum) + assert.IsType(t, int(500), config.PG.DeadlockTimeout.Minimum) + assert.IsType(t, bool(false), config.PG.DeadlockTimeout.RequiresRestart) + assert.IsType(t, string(""), config.PG.DeadlockTimeout.Type) + + assert.IsType(t, string(""), config.PG.DefaultToastCompression.Description) + assert.IsType(t, []string{"lz4", "pglz"}, config.PG.DefaultToastCompression.Enum) + assert.IsType(t, string("lz4"), config.PG.DefaultToastCompression.Example) + assert.IsType(t, bool(false), config.PG.DefaultToastCompression.RequiresRestart) + assert.IsType(t, string(""), config.PG.DefaultToastCompression.Type) + + assert.IsType(t, string(""), config.PG.IdleInTransactionSessionTimeout.Description) + assert.IsType(t, int(0), config.PG.IdleInTransactionSessionTimeout.Maximum) + assert.IsType(t, int(0), config.PG.IdleInTransactionSessionTimeout.Minimum) + assert.IsType(t, false, config.PG.IdleInTransactionSessionTimeout.RequiresRestart) + assert.IsType(t, string(""), config.PG.IdleInTransactionSessionTimeout.Type) + + assert.IsType(t, string(""), config.PG.JIT.Description) + assert.IsType(t, true, config.PG.JIT.Example) + assert.IsType(t, false, config.PG.JIT.RequiresRestart) + assert.IsType(t, string(""), config.PG.JIT.Type) + + assert.IsType(t, string(""), config.PG.MaxFilesPerProcess.Description) + assert.IsType(t, int(0), config.PG.MaxFilesPerProcess.Maximum) + assert.IsType(t, int(0), config.PG.MaxFilesPerProcess.Minimum) + assert.IsType(t, false, config.PG.MaxFilesPerProcess.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxFilesPerProcess.Type) + + assert.IsType(t, string(""), config.PG.MaxLocksPerTransaction.Description) + assert.IsType(t, int(0), config.PG.MaxLocksPerTransaction.Maximum) + assert.IsType(t, int(0), config.PG.MaxLocksPerTransaction.Minimum) + assert.IsType(t, false, config.PG.MaxLocksPerTransaction.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxLocksPerTransaction.Type) + + assert.IsType(t, string(""), config.PG.MaxLogicalReplicationWorkers.Description) + assert.IsType(t, int(0), config.PG.MaxLogicalReplicationWorkers.Maximum) + assert.IsType(t, int(0), config.PG.MaxLogicalReplicationWorkers.Minimum) + assert.IsType(t, false, config.PG.MaxLogicalReplicationWorkers.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxLogicalReplicationWorkers.Type) + + assert.IsType(t, string(""), config.PG.MaxParallelWorkers.Description) + assert.IsType(t, int(0), config.PG.MaxParallelWorkers.Maximum) + assert.IsType(t, int(0), config.PG.MaxParallelWorkers.Minimum) + assert.IsType(t, false, config.PG.MaxParallelWorkers.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxParallelWorkers.Type) + + assert.IsType(t, string(""), config.PG.MaxParallelWorkersPerGather.Description) + assert.IsType(t, int(0), config.PG.MaxParallelWorkersPerGather.Maximum) + assert.IsType(t, int(0), config.PG.MaxParallelWorkersPerGather.Minimum) + assert.IsType(t, false, config.PG.MaxParallelWorkersPerGather.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxParallelWorkersPerGather.Type) + + assert.IsType(t, string(""), config.PG.MaxPredLocksPerTransaction.Description) + assert.IsType(t, int(0), config.PG.MaxPredLocksPerTransaction.Maximum) + assert.IsType(t, int(0), config.PG.MaxPredLocksPerTransaction.Minimum) + assert.IsType(t, false, config.PG.MaxPredLocksPerTransaction.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxPredLocksPerTransaction.Type) + + assert.IsType(t, string(""), config.PG.MaxReplicationSlots.Description) + assert.IsType(t, int(0), config.PG.MaxReplicationSlots.Maximum) + assert.IsType(t, int(0), config.PG.MaxReplicationSlots.Minimum) + assert.IsType(t, false, config.PG.MaxReplicationSlots.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxReplicationSlots.Type) + + assert.IsType(t, string(""), config.PG.MaxSlotWALKeepSize.Description) + assert.IsType(t, int32(0), config.PG.MaxSlotWALKeepSize.Maximum) + assert.IsType(t, int32(0), config.PG.MaxSlotWALKeepSize.Minimum) + assert.IsType(t, false, config.PG.MaxSlotWALKeepSize.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxSlotWALKeepSize.Type) + + assert.IsType(t, string(""), config.PG.MaxStackDepth.Description) + assert.IsType(t, int(0), config.PG.MaxStackDepth.Maximum) + assert.IsType(t, int(0), config.PG.MaxStackDepth.Minimum) + assert.IsType(t, false, config.PG.MaxStackDepth.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxStackDepth.Type) + + assert.IsType(t, string(""), config.PG.MaxStandbyArchiveDelay.Description) + assert.IsType(t, int(0), config.PG.MaxStandbyArchiveDelay.Maximum) + assert.IsType(t, int(0), config.PG.MaxStandbyArchiveDelay.Minimum) + assert.IsType(t, false, config.PG.MaxStandbyArchiveDelay.RequiresRestart) + assert.IsType(t, string(""), config.PG.MaxStandbyArchiveDelay.Type) + + assert.IsType(t, "Max standby streaming delay in milliseconds", config.PG.MaxStandbyStreamingDelay.Description) + assert.IsType(t, int(43200000), config.PG.MaxStandbyStreamingDelay.Maximum) + assert.IsType(t, int(1), config.PG.MaxStandbyStreamingDelay.Minimum) + assert.IsType(t, false, config.PG.MaxStandbyStreamingDelay.RequiresRestart) + assert.IsType(t, "integer", config.PG.MaxStandbyStreamingDelay.Type) + + assert.IsType(t, "PostgreSQL maximum WAL senders", config.PG.MaxWALSenders.Description) + assert.IsType(t, int(64), config.PG.MaxWALSenders.Maximum) + assert.IsType(t, int(20), config.PG.MaxWALSenders.Minimum) + assert.IsType(t, false, config.PG.MaxWALSenders.RequiresRestart) + assert.IsType(t, "integer", config.PG.MaxWALSenders.Type) + + assert.IsType(t, "Sets the maximum number of background processes that the system can support", config.PG.MaxWorkerProcesses.Description) + assert.IsType(t, int(96), config.PG.MaxWorkerProcesses.Maximum) + assert.IsType(t, int(8), config.PG.MaxWorkerProcesses.Minimum) + assert.IsType(t, false, config.PG.MaxWorkerProcesses.RequiresRestart) + assert.IsType(t, "integer", config.PG.MaxWorkerProcesses.Type) + + assert.IsType(t, "Chooses the algorithm for encrypting passwords.", config.PG.PasswordEncryption.Description) + assert.IsType(t, []string{"md5", "scram-sha-256"}, config.PG.PasswordEncryption.Enum) + assert.IsType(t, "scram-sha-256", config.PG.PasswordEncryption.Example) + assert.IsType(t, false, config.PG.PasswordEncryption.RequiresRestart) + assert.IsType(t, []string{"string", "null"}, config.PG.PasswordEncryption.Type) + + assert.IsType(t, "Sets the time interval to run pg_partman's scheduled tasks", config.PG.PGPartmanBGWInterval.Description) + assert.IsType(t, int(3600), config.PG.PGPartmanBGWInterval.Example) + assert.IsType(t, int(604800), config.PG.PGPartmanBGWInterval.Maximum) + assert.IsType(t, int(3600), config.PG.PGPartmanBGWInterval.Minimum) + assert.IsType(t, false, config.PG.PGPartmanBGWInterval.RequiresRestart) + assert.IsType(t, "integer", config.PG.PGPartmanBGWInterval.Type) + + assert.IsType(t, "Controls which role to use for pg_partman's scheduled background tasks.", config.PG.PGPartmanBGWRole.Description) + assert.IsType(t, "myrolename", config.PG.PGPartmanBGWRole.Example) + assert.IsType(t, int(64), config.PG.PGPartmanBGWRole.MaxLength) + assert.IsType(t, "^[_A-Za-z0-9][-._A-Za-z0-9]{0,63}$", config.PG.PGPartmanBGWRole.Pattern) + assert.IsType(t, false, config.PG.PGPartmanBGWRole.RequiresRestart) + assert.IsType(t, "string", config.PG.PGPartmanBGWRole.Type) + + assert.IsType(t, "Enables or disables query plan monitoring", config.PG.PGStatMonitorPGSMEnableQueryPlan.Description) + assert.IsType(t, false, config.PG.PGStatMonitorPGSMEnableQueryPlan.Example) + assert.IsType(t, false, config.PG.PGStatMonitorPGSMEnableQueryPlan.RequiresRestart) + assert.IsType(t, "boolean", config.PG.PGStatMonitorPGSMEnableQueryPlan.Type) + + assert.IsType(t, "Sets the maximum number of buckets", config.PG.PGStatMonitorPGSMMaxBuckets.Description) + assert.IsType(t, int(10), config.PG.PGStatMonitorPGSMMaxBuckets.Example) + assert.IsType(t, int(10), config.PG.PGStatMonitorPGSMMaxBuckets.Maximum) + assert.IsType(t, int(1), config.PG.PGStatMonitorPGSMMaxBuckets.Minimum) + assert.IsType(t, false, config.PG.PGStatMonitorPGSMMaxBuckets.RequiresRestart) + assert.IsType(t, "integer", config.PG.PGStatMonitorPGSMMaxBuckets.Type) + + assert.IsType(t, "Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.", config.PG.PGStatStatementsTrack.Description) + assert.IsType(t, []string{"all", "top", "none"}, config.PG.PGStatStatementsTrack.Enum) + assert.IsType(t, false, config.PG.PGStatStatementsTrack.RequiresRestart) + assert.IsType(t, []string{"string"}, config.PG.PGStatStatementsTrack.Type) + + assert.IsType(t, "PostgreSQL temporary file limit in KiB, -1 for unlimited", config.PG.TempFileLimit.Description) + assert.IsType(t, int32(5000000), config.PG.TempFileLimit.Example) + assert.IsType(t, int32(2147483647), config.PG.TempFileLimit.Maximum) + assert.IsType(t, int32(-1), config.PG.TempFileLimit.Minimum) + assert.IsType(t, false, config.PG.TempFileLimit.RequiresRestart) + assert.IsType(t, "integer", config.PG.TempFileLimit.Type) + + assert.IsType(t, "PostgreSQL service timezone", config.PG.Timezone.Description) + assert.IsType(t, "Europe/Helsinki", config.PG.Timezone.Example) + assert.IsType(t, int(64), config.PG.Timezone.MaxLength) + assert.IsType(t, "^[\\w/]*$", config.PG.Timezone.Pattern) + assert.IsType(t, false, config.PG.Timezone.RequiresRestart) + assert.IsType(t, "string", config.PG.Timezone.Type) + + assert.IsType(t, "Specifies the number of bytes reserved to track the currently executing command for each active session.", config.PG.TrackActivityQuerySize.Description) + assert.IsType(t, int(1024), config.PG.TrackActivityQuerySize.Example) + assert.IsType(t, int(10240), config.PG.TrackActivityQuerySize.Maximum) + assert.IsType(t, int(1024), config.PG.TrackActivityQuerySize.Minimum) + assert.IsType(t, false, config.PG.TrackActivityQuerySize.RequiresRestart) + assert.IsType(t, "integer", config.PG.TrackActivityQuerySize.Type) + + assert.IsType(t, "Record commit time of transactions.", config.PG.TrackCommitTimestamp.Description) + assert.IsType(t, "off", config.PG.TrackCommitTimestamp.Example) + assert.IsType(t, []string{"off", "on"}, config.PG.TrackCommitTimestamp.Enum) + assert.IsType(t, false, config.PG.TrackCommitTimestamp.RequiresRestart) + assert.IsType(t, "string", config.PG.TrackCommitTimestamp.Type) +} + +func TestDatabasePostgres_EngineConfig_Suite(t *testing.T) { + databaseModifiers := []postgresDatabaseModifier{ + createPostgresOptionsModifier(), + } + + client, database, teardown, err := setupPostgresDatabase(t, databaseModifiers, "fixtures/TestDatabasePostgres_EngineConfig_Suite") + if err != nil { + t.Error(err) + } + defer teardown() + + assertPostgresDatabaseBasics(t, database) + + expected := newExpectedPostgresEngineConfig() + + assertPostgresEngineConfigEqual(t, database.EngineConfig.PG, expected) + + fetchedDB, err := client.GetPostgresDatabase(context.Background(), database.ID) + assert.NoError(t, err) + assertPostgresEngineConfigEqual(t, fetchedDB.EngineConfig.PG, expected) + + updateOptions := linodego.PostgresUpdateOptions{ + Label: "example-db-updated", + EngineConfig: &linodego.PostgresDatabaseEngineConfig{ + PG: &linodego.PostgresDatabaseEngineConfigPG{ + AutovacuumVacuumThreshold: linodego.Pointer(int32(500)), + DeadlockTimeout: linodego.Pointer(3000), + }, + }, + } + + updatedDB, err := client.UpdatePostgresDatabase(context.Background(), database.ID, updateOptions) + if err != nil { + t.Errorf("failed to update db %d: %v", database.ID, err) + } + + waitForDatabaseUpdated(t, client, updatedDB.ID, linodego.DatabaseEngineTypePostgres, updatedDB.Created) + + assertUpdatedPostgresFields(t, updatedDB.EngineConfig.PG) +} + +func createPostgresOptionsModifier() postgresDatabaseModifier { + return func(options *linodego.PostgresCreateOptions) { + options.Label = "postgres-db-created-with-config" + options.Region = "us-east" + options.Type = "g6-dedicated-2" + options.Engine = "postgresql/17" + options.EngineConfig = &linodego.PostgresDatabaseEngineConfig{ + PG: &linodego.PostgresDatabaseEngineConfigPG{ + AutovacuumAnalyzeScaleFactor: linodego.Pointer(0.1), + AutovacuumAnalyzeThreshold: linodego.Pointer(int32(500)), + AutovacuumMaxWorkers: linodego.Pointer(3), + AutovacuumNaptime: linodego.Pointer(60), + AutovacuumVacuumCostDelay: linodego.Pointer(100), // Reduced to <= 100 + AutovacuumVacuumCostLimit: linodego.Pointer(2000), + AutovacuumVacuumScaleFactor: linodego.Pointer(0.2), + AutovacuumVacuumThreshold: linodego.Pointer(int32(500)), + BGWriterDelay: linodego.Pointer(100), + BGWriterFlushAfter: linodego.Pointer(1000), + BGWriterLRUMaxPages: linodego.Pointer(100), + BGWriterLRUMultiplier: linodego.Pointer(2.0), + DeadlockTimeout: linodego.Pointer(1000), + DefaultToastCompression: linodego.Pointer("lz4"), + IdleInTransactionSessionTimeout: linodego.Pointer(600), + JIT: linodego.Pointer(true), + MaxFilesPerProcess: linodego.Pointer(1000), + MaxLocksPerTransaction: linodego.Pointer(64), + MaxLogicalReplicationWorkers: linodego.Pointer(4), + MaxParallelWorkers: linodego.Pointer(8), + MaxParallelWorkersPerGather: linodego.Pointer(2), + MaxPredLocksPerTransaction: linodego.Pointer(64), + MaxReplicationSlots: linodego.Pointer(8), // Adjusted to >= 8 + MaxSlotWALKeepSize: linodego.Pointer(int32(512)), + MaxStackDepth: linodego.Pointer(2097152), // Adjusted to >= 2MB + MaxStandbyArchiveDelay: linodego.Pointer(30000), + MaxStandbyStreamingDelay: linodego.Pointer(30000), + MaxWALSenders: linodego.Pointer(20), // Adjusted to >= 20 + MaxWorkerProcesses: linodego.Pointer(8), + PasswordEncryption: linodego.Pointer("scram-sha-256"), + PGPartmanBGWInterval: linodego.Pointer(3600), + PGPartmanBGWRole: linodego.Pointer("pg_partman_bgw"), + PGStatMonitorPGSMEnableQueryPlan: linodego.Pointer(true), + PGStatMonitorPGSMMaxBuckets: linodego.Pointer(10), // Adjusted to <= 10 + PGStatStatementsTrack: linodego.Pointer("top"), + TempFileLimit: linodego.Pointer(int32(1000)), + Timezone: linodego.Pointer("UTC"), + TrackActivityQuerySize: linodego.Pointer(1024), + TrackCommitTimestamp: linodego.Pointer("on"), + TrackFunctions: linodego.Pointer("all"), // Adjusted to valid value + TrackIOTiming: linodego.Pointer("on"), + WALSenderTimeout: linodego.Pointer(60000), + WALWriterDelay: linodego.Pointer(200), // Adjusted to <= 200 + }, + PGStatMonitorEnable: linodego.Pointer(true), + PGLookout: &linodego.PostgresDatabaseEngineConfigPGLookout{}, + SharedBuffersPercentage: linodego.Pointer(25.0), + WorkMem: linodego.Pointer(1024), // Adjusted to <= 1024 + } + } +} + +func TestDatabasePostgres_EngineConfig_Create_LZ4Unsupported_Postgres13(t *testing.T) { + if os.Getenv("LINODE_FIXTURE_MODE") == "play" { + t.Skip("Skipping negative test scenario: LINODE_FIXTURE_MODE is 'play'") + } + + invalidRequestData := linodego.PostgresCreateOptions{ + Label: "example-db-created-fails", + Region: "us-east", + Type: "g6-dedicated-2", + Engine: "postgresql/13", + EngineConfig: &linodego.PostgresDatabaseEngineConfig{ + PG: &linodego.PostgresDatabaseEngineConfigPG{ + DefaultToastCompression: linodego.Pointer("lz4"), + }, + }, + } + + client, _ := createTestClient(t, "") + + _, err := client.CreatePostgresDatabase(context.Background(), invalidRequestData) + + assert.Contains(t, err.Error(), "This setting is only available for postgresql version 14+") +} + +func newExpectedPostgresEngineConfig() map[string]any { + return map[string]any{ + "AutovacuumAnalyzeScaleFactor": 0.1, + "AutovacuumAnalyzeThreshold": int32(500), + "AutovacuumMaxWorkers": 3, + "AutovacuumNaptime": 60, + "AutovacuumVacuumCostDelay": 100, + "AutovacuumVacuumCostLimit": 2000, + "AutovacuumVacuumScaleFactor": 0.2, + "AutovacuumVacuumThreshold": int32(500), + "BGWriterDelay": 100, + "BGWriterFlushAfter": 1000, + "BGWriterLRUMaxPages": 100, + "BGWriterLRUMultiplier": 2.0, + "DeadlockTimeout": 1000, + "DefaultToastCompression": "lz4", + "IdleInTransactionSessionTimeout": 600, + "JIT": true, + "MaxFilesPerProcess": 1000, + "MaxLocksPerTransaction": 64, + "MaxLogicalReplicationWorkers": 4, + "MaxParallelWorkers": 8, + "MaxParallelWorkersPerGather": 2, + "MaxPredLocksPerTransaction": 64, + "MaxReplicationSlots": 8, + "MaxSlotWALKeepSize": int32(512), + "MaxStackDepth": 2097152, + "MaxStandbyArchiveDelay": 30000, + "MaxStandbyStreamingDelay": 30000, + "MaxWALSenders": 20, + "MaxWorkerProcesses": 8, + "PasswordEncryption": "scram-sha-256", + "PGPartmanBGWInterval": 3600, + "PGPartmanBGWRole": "pg_partman_bgw", + "PGStatMonitorPGSMEnableQueryPlan": true, + "PGStatMonitorPGSMMaxBuckets": 10, + "PGStatStatementsTrack": "top", + "TempFileLimit": int32(1000), + "Timezone": "UTC", + "TrackActivityQuerySize": 1024, + "TrackCommitTimestamp": "on", + "TrackFunctions": "all", + "TrackIOTiming": "on", + "WALSenderTimeout": 60000, + "WALWriterDelay": 200, + "PGStatMonitorEnable": true, + "PGLookout": map[string]any{}, + "SharedBuffersPercentage": 25.0, + "WorkMem": 1024, + } +} + +func assertPostgresDatabaseBasics(t *testing.T, db *linodego.PostgresDatabase) { + // Assert basic fields with types and values + assert.IsType(t, int(0), db.ID) // Assuming ID is an int32, use the type in your assert accordingly + assert.Equal(t, "postgres-db-created-with-config", db.Label) + assert.Equal(t, "us-east", db.Region) + assert.Equal(t, "g6-dedicated-2", db.Type) + assert.Equal(t, "postgresql", db.Engine) + assert.Equal(t, "17", db.Version) + assert.NotEmpty(t, db.AllowList) + assert.IsType(t, int(25698), db.Port) + assert.IsType(t, int(3), db.ClusterSize) + assert.Equal(t, linodego.DatabasePlatform("rdbms-default"), db.Platform) + + // Assert Hosts structure + assert.NotEmpty(t, db.Hosts.Primary) + assert.Empty(t, db.Hosts.Secondary) + + // Assert EngineConfig structure + assert.NotNil(t, db.EngineConfig.PG) + assert.True(t, *db.EngineConfig.PGStatMonitorEnable) + assert.NotNil(t, db.EngineConfig.PGLookout) + assert.NotNil(t, db.EngineConfig.SharedBuffersPercentage) + assert.NotNil(t, db.EngineConfig.WorkMem) +} + +func assertPostgresEngineConfigEqual(t *testing.T, cfg *linodego.PostgresDatabaseEngineConfigPG, expected map[string]any) { + // Compare all fields of the struct using the expected map + + // Autovacuum + assert.Equal(t, expected["AutovacuumAnalyzeScaleFactor"], *cfg.AutovacuumAnalyzeScaleFactor) + assert.Equal(t, expected["AutovacuumAnalyzeThreshold"], *cfg.AutovacuumAnalyzeThreshold) + assert.Equal(t, expected["AutovacuumMaxWorkers"], *cfg.AutovacuumMaxWorkers) + assert.Equal(t, expected["AutovacuumNaptime"], *cfg.AutovacuumNaptime) + assert.Equal(t, expected["AutovacuumVacuumCostDelay"], *cfg.AutovacuumVacuumCostDelay) + assert.Equal(t, expected["AutovacuumVacuumCostLimit"], *cfg.AutovacuumVacuumCostLimit) + assert.Equal(t, expected["AutovacuumVacuumScaleFactor"], *cfg.AutovacuumVacuumScaleFactor) + assert.Equal(t, expected["AutovacuumVacuumThreshold"], *cfg.AutovacuumVacuumThreshold) + + // BGWriter + assert.Equal(t, expected["BGWriterDelay"], *cfg.BGWriterDelay) + assert.Equal(t, expected["BGWriterFlushAfter"], *cfg.BGWriterFlushAfter) + assert.Equal(t, expected["BGWriterLRUMaxPages"], *cfg.BGWriterLRUMaxPages) + assert.Equal(t, expected["BGWriterLRUMultiplier"], *cfg.BGWriterLRUMultiplier) + + // DeadlockTimeout + assert.Equal(t, expected["DeadlockTimeout"], *cfg.DeadlockTimeout) + + // DefaultToastCompression + assert.Equal(t, expected["DefaultToastCompression"], *cfg.DefaultToastCompression) + + // IdleInTransactionSessionTimeout + assert.Equal(t, expected["IdleInTransactionSessionTimeout"], *cfg.IdleInTransactionSessionTimeout) + + // JIT + assert.Equal(t, expected["JIT"], *cfg.JIT) + + // Max files and locks + assert.Equal(t, expected["MaxFilesPerProcess"], *cfg.MaxFilesPerProcess) + assert.Equal(t, expected["MaxLocksPerTransaction"], *cfg.MaxLocksPerTransaction) + assert.Equal(t, expected["MaxLogicalReplicationWorkers"], *cfg.MaxLogicalReplicationWorkers) + assert.Equal(t, expected["MaxParallelWorkers"], *cfg.MaxParallelWorkers) + assert.Equal(t, expected["MaxParallelWorkersPerGather"], *cfg.MaxParallelWorkersPerGather) + assert.Equal(t, expected["MaxPredLocksPerTransaction"], *cfg.MaxPredLocksPerTransaction) + + // MaxReplicationSlots and MaxSlotWALKeepSize + assert.Equal(t, expected["MaxReplicationSlots"], *cfg.MaxReplicationSlots) + assert.Equal(t, expected["MaxSlotWALKeepSize"], *cfg.MaxSlotWALKeepSize) + + // MaxStandby + assert.Equal(t, expected["MaxStandbyArchiveDelay"], *cfg.MaxStandbyArchiveDelay) + assert.Equal(t, expected["MaxStandbyStreamingDelay"], *cfg.MaxStandbyStreamingDelay) + + // MaxWALSenders and MaxWorkerProcesses + assert.Equal(t, expected["MaxWALSenders"], *cfg.MaxWALSenders) + assert.Equal(t, expected["MaxWorkerProcesses"], *cfg.MaxWorkerProcesses) + + // PasswordEncryption + assert.Equal(t, expected["PasswordEncryption"], *cfg.PasswordEncryption) + + // PGPartman settings + assert.Equal(t, expected["PGPartmanBGWInterval"], *cfg.PGPartmanBGWInterval) + assert.Equal(t, expected["PGPartmanBGWRole"], *cfg.PGPartmanBGWRole) + + // PGStatMonitor + assert.Equal(t, expected["PGStatMonitorPGSMEnableQueryPlan"], *cfg.PGStatMonitorPGSMEnableQueryPlan) + assert.Equal(t, expected["PGStatMonitorPGSMMaxBuckets"], *cfg.PGStatMonitorPGSMMaxBuckets) + assert.Equal(t, expected["PGStatStatementsTrack"], *cfg.PGStatStatementsTrack) + + // TempFileLimit and Timezone + assert.Equal(t, expected["TempFileLimit"], *cfg.TempFileLimit) + assert.Equal(t, expected["Timezone"], *cfg.Timezone) + + // TrackActivityQuerySize and TrackCommitTimestamp + assert.Equal(t, expected["TrackActivityQuerySize"], *cfg.TrackActivityQuerySize) + assert.Equal(t, expected["TrackCommitTimestamp"], *cfg.TrackCommitTimestamp) + + // TrackFunctions and TrackIOTiming + assert.Equal(t, expected["TrackFunctions"], *cfg.TrackFunctions) + assert.Equal(t, expected["TrackIOTiming"], *cfg.TrackIOTiming) + + // WALSenderTimeout + assert.Equal(t, expected["WALSenderTimeout"], *cfg.WALSenderTimeout) + + // WALWriterDelay adjusted to <= 200 + assert.Equal(t, expected["WALWriterDelay"], *cfg.WALWriterDelay) +} + +func assertUpdatedPostgresFields(t *testing.T, updatedConfig *linodego.PostgresDatabaseEngineConfigPG) { + assert.Equal(t, int32(500), *updatedConfig.AutovacuumVacuumThreshold) + assert.Equal(t, int(3000), *updatedConfig.DeadlockTimeout) +}