files.com 1.1.671 → 1.1.672
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/action_log.md +1 -21
- data/docs/action_notification_export_result.md +0 -17
- data/docs/ai_assistant_personality.md +0 -14
- data/docs/ai_task.md +0 -14
- data/docs/api_key.md +1 -27
- data/docs/api_request_log.md +1 -21
- data/docs/app.md +0 -15
- data/docs/as2_incoming_message.md +0 -18
- data/docs/as2_outgoing_message.md +0 -18
- data/docs/as2_partner.md +0 -14
- data/docs/as2_station.md +0 -14
- data/docs/automation.md +1 -22
- data/docs/automation_log.md +1 -21
- data/docs/automation_run.md +0 -19
- data/docs/bandwidth_snapshot.md +0 -18
- data/docs/behavior.md +0 -14
- data/docs/bundle.md +1 -50
- data/docs/bundle_action.md +0 -25
- data/docs/bundle_download.md +0 -23
- data/docs/bundle_notification.md +0 -19
- data/docs/bundle_recipient.md +0 -21
- data/docs/bundle_registration.md +0 -61
- data/docs/chat_session.md +2 -14
- data/docs/child_site_management_policy.md +0 -9
- data/docs/clickwrap.md +0 -13
- data/docs/custom_domain.md +0 -13
- data/docs/desktop_configuration_profile.md +0 -14
- data/docs/dns_record.md +0 -9
- data/docs/email_incoming_message.md +0 -19
- data/docs/email_log.md +1 -20
- data/docs/event_channel.md +0 -14
- data/docs/event_delivery_attempt.md +0 -14
- data/docs/event_record.md +0 -19
- data/docs/event_subscription.md +0 -14
- data/docs/event_target.md +0 -14
- data/docs/exavault_api_request_log.md +1 -21
- data/docs/expectation.md +0 -14
- data/docs/expectation_evaluation.md +0 -14
- data/docs/expectation_incident.md +0 -14
- data/docs/external_event.md +0 -18
- data/docs/file.md +2 -90
- data/docs/file_migration.md +0 -32
- data/docs/file_migration_log.md +1 -20
- data/docs/file_upload_part.md +1 -3
- data/docs/folder.md +0 -20
- data/docs/form_field_set.md +0 -15
- data/docs/ftp_action_log.md +1 -21
- data/docs/gpg_key.md +0 -21
- data/docs/group.md +0 -19
- data/docs/group_user.md +2 -22
- data/docs/history.md +0 -85
- data/docs/history_export_result.md +0 -17
- data/docs/holiday_region.md +0 -9
- data/docs/inbound_s3_log.md +1 -21
- data/docs/inbox_recipient.md +0 -19
- data/docs/inbox_registration.md +0 -57
- data/docs/inbox_upload.md +0 -18
- data/docs/invoice.md +0 -9
- data/docs/ip_address.md +0 -59
- data/docs/key_lifecycle_rule.md +0 -14
- data/docs/lock.md +0 -15
- data/docs/message.md +0 -17
- data/docs/message_comment.md +0 -18
- data/docs/message_comment_reaction.md +0 -18
- data/docs/message_reaction.md +0 -17
- data/docs/metadata_category.md +0 -13
- data/docs/notification.md +0 -20
- data/docs/outbound_connection_log.md +1 -21
- data/docs/partner.md +0 -14
- data/docs/partner_channel.md +0 -14
- data/docs/partner_site_request.md +0 -14
- data/docs/payment.md +0 -9
- data/docs/pending_work_event.md +0 -18
- data/docs/permission.md +0 -22
- data/docs/preview.md +0 -57
- data/docs/project.md +0 -9
- data/docs/public_hosting_request_log.md +1 -21
- data/docs/public_key.md +0 -21
- data/docs/remote_bandwidth_snapshot.md +0 -18
- data/docs/remote_mount_backend.md +0 -13
- data/docs/remote_server.md +0 -233
- data/docs/remote_server_credential.md +0 -15
- data/docs/request.md +0 -17
- data/docs/restore.md +0 -14
- data/docs/scheduled_export.md +0 -15
- data/docs/scim_log.md +0 -13
- data/docs/session.md +1 -232
- data/docs/settings_change.md +0 -16
- data/docs/sftp_action_log.md +1 -21
- data/docs/sftp_host_key.md +0 -9
- data/docs/share_group.md +0 -15
- data/docs/siem_http_destination.md +0 -9
- data/docs/siem_http_destination_event.md +0 -18
- data/docs/site.md +0 -179
- data/docs/site_subdomain_redirect.md +0 -13
- data/docs/snapshot.md +0 -9
- data/docs/sso_event.md +0 -19
- data/docs/sso_strategy.md +0 -406
- data/docs/sync.md +0 -14
- data/docs/sync_log.md +1 -20
- data/docs/sync_run.md +0 -21
- data/docs/usage_daily_snapshot.md +0 -18
- data/docs/usage_snapshot.md +0 -9
- data/docs/user.md +2 -49
- data/docs/user_cipher_use.md +0 -21
- data/docs/user_lifecycle_rule.md +0 -14
- data/docs/user_request.md +0 -9
- data/docs/user_security_event.md +0 -18
- data/docs/user_sftp_client_use.md +0 -15
- data/docs/web_dav_action_log.md +1 -21
- data/docs/workspace.md +0 -15
- data/lib/files.com/models/action_log.rb +0 -24
- data/lib/files.com/models/action_notification_export_result.rb +0 -12
- data/lib/files.com/models/ai_assistant_personality.rb +0 -11
- data/lib/files.com/models/ai_task.rb +0 -11
- data/lib/files.com/models/api_key.rb +5 -39
- data/lib/files.com/models/api_request_log.rb +0 -24
- data/lib/files.com/models/app.rb +0 -13
- data/lib/files.com/models/as2_incoming_message.rb +0 -19
- data/lib/files.com/models/as2_outgoing_message.rb +0 -19
- data/lib/files.com/models/as2_partner.rb +0 -11
- data/lib/files.com/models/as2_station.rb +0 -11
- data/lib/files.com/models/automation.rb +0 -30
- data/lib/files.com/models/automation_log.rb +0 -24
- data/lib/files.com/models/automation_run.rb +0 -16
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/behavior.rb +0 -11
- data/lib/files.com/models/bundle.rb +0 -52
- data/lib/files.com/models/bundle_action.rb +0 -25
- data/lib/files.com/models/bundle_download.rb +0 -23
- data/lib/files.com/models/bundle_notification.rb +0 -15
- data/lib/files.com/models/bundle_recipient.rb +0 -27
- data/lib/files.com/models/bundle_registration.rb +0 -125
- data/lib/files.com/models/chat_session.rb +5 -11
- data/lib/files.com/models/child_site_management_policy.rb +0 -5
- data/lib/files.com/models/clickwrap.rb +0 -9
- data/lib/files.com/models/custom_domain.rb +0 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
- data/lib/files.com/models/dns_record.rb +0 -5
- data/lib/files.com/models/email_incoming_message.rb +0 -21
- data/lib/files.com/models/email_log.rb +0 -22
- data/lib/files.com/models/event_channel.rb +0 -11
- data/lib/files.com/models/event_delivery_attempt.rb +0 -11
- data/lib/files.com/models/event_record.rb +0 -21
- data/lib/files.com/models/event_subscription.rb +0 -11
- data/lib/files.com/models/event_target.rb +0 -11
- data/lib/files.com/models/exavault_api_request_log.rb +0 -24
- data/lib/files.com/models/expectation.rb +0 -11
- data/lib/files.com/models/expectation_evaluation.rb +0 -11
- data/lib/files.com/models/expectation_incident.rb +0 -11
- data/lib/files.com/models/external_event.rb +0 -19
- data/lib/files.com/models/file.rb +0 -207
- data/lib/files.com/models/file_migration.rb +0 -27
- data/lib/files.com/models/file_migration_log.rb +0 -22
- data/lib/files.com/models/file_upload_part.rb +0 -5
- data/lib/files.com/models/folder.rb +0 -69
- data/lib/files.com/models/form_field_set.rb +0 -9
- data/lib/files.com/models/ftp_action_log.rb +0 -24
- data/lib/files.com/models/gpg_key.rb +0 -21
- data/lib/files.com/models/group.rb +0 -16
- data/lib/files.com/models/group_user.rb +1 -21
- data/lib/files.com/models/history.rb +0 -94
- data/lib/files.com/models/history_export_result.rb +0 -12
- data/lib/files.com/models/holiday_region.rb +0 -5
- data/lib/files.com/models/inbound_s3_log.rb +0 -24
- data/lib/files.com/models/inbox_recipient.rb +0 -25
- data/lib/files.com/models/inbox_registration.rb +0 -121
- data/lib/files.com/models/inbox_upload.rb +0 -19
- data/lib/files.com/models/invoice.rb +0 -5
- data/lib/files.com/models/ip_address.rb +0 -37
- data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/lock.rb +0 -27
- data/lib/files.com/models/message.rb +0 -12
- data/lib/files.com/models/message_comment.rb +0 -14
- data/lib/files.com/models/message_comment_reaction.rb +0 -14
- data/lib/files.com/models/message_reaction.rb +0 -12
- data/lib/files.com/models/metadata_category.rb +0 -9
- data/lib/files.com/models/notification.rb +0 -18
- data/lib/files.com/models/outbound_connection_log.rb +0 -24
- data/lib/files.com/models/partner.rb +0 -11
- data/lib/files.com/models/partner_channel.rb +0 -11
- data/lib/files.com/models/partner_site_request.rb +0 -11
- data/lib/files.com/models/payment.rb +0 -5
- data/lib/files.com/models/pending_work_event.rb +0 -19
- data/lib/files.com/models/permission.rb +0 -22
- data/lib/files.com/models/preview.rb +0 -57
- data/lib/files.com/models/project.rb +0 -5
- data/lib/files.com/models/public_hosting_request_log.rb +0 -24
- data/lib/files.com/models/public_key.rb +0 -21
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/remote_mount_backend.rb +0 -9
- data/lib/files.com/models/remote_server.rb +0 -297
- data/lib/files.com/models/remote_server_credential.rb +0 -13
- data/lib/files.com/models/request.rb +0 -12
- data/lib/files.com/models/restore.rb +0 -11
- data/lib/files.com/models/scheduled_export.rb +0 -13
- data/lib/files.com/models/scim_log.rb +0 -9
- data/lib/files.com/models/session.rb +0 -493
- data/lib/files.com/models/settings_change.rb +0 -16
- data/lib/files.com/models/sftp_action_log.rb +0 -24
- data/lib/files.com/models/sftp_host_key.rb +0 -5
- data/lib/files.com/models/share_group.rb +0 -9
- data/lib/files.com/models/siem_http_destination.rb +0 -5
- data/lib/files.com/models/siem_http_destination_event.rb +0 -19
- data/lib/files.com/models/site.rb +0 -1021
- data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
- data/lib/files.com/models/snapshot.rb +0 -5
- data/lib/files.com/models/sso_event.rb +0 -21
- data/lib/files.com/models/sso_strategy.rb +0 -632
- data/lib/files.com/models/sync.rb +0 -11
- data/lib/files.com/models/sync_log.rb +0 -22
- data/lib/files.com/models/sync_run.rb +0 -21
- data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
- data/lib/files.com/models/usage_snapshot.rb +0 -5
- data/lib/files.com/models/user.rb +0 -59
- data/lib/files.com/models/user_cipher_use.rb +0 -21
- data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/user_request.rb +0 -5
- data/lib/files.com/models/user_security_event.rb +0 -19
- data/lib/files.com/models/user_sftp_client_use.rb +0 -9
- data/lib/files.com/models/web_dav_action_log.rb +0 -24
- data/lib/files.com/models/workspace.rb +0 -13
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +0 -59
- metadata +1 -119
- data/docs/account.md +0 -155
- data/docs/action_webhook_failure.md +0 -28
- data/docs/agent_proxy_identity.md +0 -49
- data/docs/agent_proxy_identity_endpoint.md +0 -11
- data/docs/agent_proxy_identity_result.md +0 -24
- data/docs/agent_v2_auth.md +0 -17
- data/docs/announcement.md +0 -57
- data/docs/blog_post.md +0 -57
- data/docs/bundle_recipient_registration.md +0 -39
- data/docs/certificate.md +0 -258
- data/docs/child_site.md +0 -583
- data/docs/clickwrap_acceptance.md +0 -30
- data/docs/client_log.md +0 -17
- data/docs/crash_report.md +0 -50
- data/docs/custom_domain_for_proxy.md +0 -23
- data/docs/email_preference.md +0 -108
- data/docs/email_preference_bundle_notification.md +0 -15
- data/docs/email_preference_notification.md +0 -17
- data/docs/export.md +0 -90
- data/docs/front_end_server.md +0 -111
- data/docs/frontend_metric.md +0 -34
- data/docs/inbox.md +0 -102
- data/docs/inbox_recipient_registration.md +0 -35
- data/docs/ip.md +0 -63
- data/docs/ip_abuse_entry.md +0 -47
- data/docs/label.md +0 -9
- data/docs/lead.md +0 -161
- data/docs/monitoring_stat.md +0 -38
- data/docs/monitoring_stats.md +0 -15
- data/docs/mover_package.md +0 -68
- data/docs/nps_response.md +0 -75
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -19
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -107
- data/docs/public_hosting_session_pairing.md +0 -15
- data/docs/public_inbox.md +0 -121
- data/docs/public_url.md +0 -59
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +0 -83
- data/docs/release_package.md +0 -19
- data/docs/revision.md +0 -40
- data/docs/safe_plan.md +0 -0
- data/docs/session_available_site.md +0 -26
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -498
- data/docs/ssl_certificate.md +0 -37
- data/docs/staging_site.md +0 -591
- data/docs/support_request.md +0 -126
- data/docs/sync_api_usage_snapshot.md +0 -23
- data/docs/sync_api_usage_snapshot_report.md +0 -71
- data/docs/sync_bandwidth_snapshot.md +0 -48
- data/docs/two_factor_authentication_method.md +0 -169
- data/docs/warning.md +0 -36
- data/docs/webauthn_sign_request.md +0 -13
- data/docs/zip_download.md +0 -32
- data/docs/zip_download_file.md +0 -45
- data/docs/zip_download_files.md +0 -23
- data/lib/files.com/models/account.rb +0 -346
- data/lib/files.com/models/action_webhook_failure.rb +0 -34
- data/lib/files.com/models/agent_proxy_identity.rb +0 -47
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
- data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
- data/lib/files.com/models/agent_v2_auth.rb +0 -32
- data/lib/files.com/models/announcement.rb +0 -89
- data/lib/files.com/models/blog_post.rb +0 -84
- data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
- data/lib/files.com/models/certificate.rb +0 -455
- data/lib/files.com/models/child_site.rb +0 -1756
- data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
- data/lib/files.com/models/client_log.rb +0 -25
- data/lib/files.com/models/crash_report.rb +0 -151
- data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
- data/lib/files.com/models/email_preference.rb +0 -124
- data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/export.rb +0 -153
- data/lib/files.com/models/front_end_server.rb +0 -335
- data/lib/files.com/models/frontend_metric.rb +0 -65
- data/lib/files.com/models/inbox.rb +0 -123
- data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
- data/lib/files.com/models/ip.rb +0 -82
- data/lib/files.com/models/ip_abuse_entry.rb +0 -96
- data/lib/files.com/models/label.rb +0 -22
- data/lib/files.com/models/lead.rb +0 -434
- data/lib/files.com/models/monitoring_stat.rb +0 -43
- data/lib/files.com/models/monitoring_stats.rb +0 -22
- data/lib/files.com/models/mover_package.rb +0 -80
- data/lib/files.com/models/nps_response.rb +0 -128
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -37
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -209
- data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
- data/lib/files.com/models/public_inbox.rb +0 -142
- data/lib/files.com/models/public_url.rb +0 -177
- data/lib/files.com/models/regional_migration.rb +0 -12
- data/lib/files.com/models/release.rb +0 -153
- data/lib/files.com/models/release_package.rb +0 -37
- data/lib/files.com/models/revision.rb +0 -53
- data/lib/files.com/models/safe_plan.rb +0 -12
- data/lib/files.com/models/session_available_site.rb +0 -47
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -1072
- data/lib/files.com/models/ssl_certificate.rb +0 -77
- data/lib/files.com/models/staging_site.rb +0 -1781
- data/lib/files.com/models/support_request.rb +0 -209
- data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
- data/lib/files.com/models/warning.rb +0 -38
- data/lib/files.com/models/webauthn_sign_request.rb +0 -17
- data/lib/files.com/models/zip_download.rb +0 -73
- data/lib/files.com/models/zip_download_file.rb +0 -111
- data/lib/files.com/models/zip_download_files.rb +0 -42
data/docs/account.md
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# Account
|
|
2
|
-
|
|
3
|
-
## Example Account Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"name": "account",
|
|
8
|
-
"address": "123 Main St",
|
|
9
|
-
"address_2": "Window 1",
|
|
10
|
-
"card_number": "xxxxxxxxxxxx1234",
|
|
11
|
-
"card_type": "Visa",
|
|
12
|
-
"city": "New York",
|
|
13
|
-
"company_name": "Action Verb",
|
|
14
|
-
"country": "US",
|
|
15
|
-
"created_at": "2000-01-01T01:00:00Z",
|
|
16
|
-
"currency": "USD",
|
|
17
|
-
"email": "john.doe@files.com",
|
|
18
|
-
"phone_number": "555-555-5555",
|
|
19
|
-
"processor_type": "Credit Card",
|
|
20
|
-
"state": "NY",
|
|
21
|
-
"zip": "00000",
|
|
22
|
-
"billing_frequency": 1
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
* `name` (string): Account name
|
|
27
|
-
* `address` (string): Account address
|
|
28
|
-
* `address_2` (string): Account address 2
|
|
29
|
-
* `card_number` (string): Account payment card number
|
|
30
|
-
* `card_type` (string): Account payment card type
|
|
31
|
-
* `city` (string): Account city
|
|
32
|
-
* `company_name` (string): Account company name
|
|
33
|
-
* `country` (string): Account country
|
|
34
|
-
* `created_at` (date-time): Account creation date/time
|
|
35
|
-
* `currency` (string): Account preferred currency
|
|
36
|
-
* `email` (email): Account email address
|
|
37
|
-
* `phone_number` (string): Account phone number
|
|
38
|
-
* `processor_type` (string): Type of billing processor. Can be PayPal, Credit Card, or Manual
|
|
39
|
-
* `state` (string): Account state
|
|
40
|
-
* `zip` (string): Account zipcode
|
|
41
|
-
* `billing_frequency` (int64): Number of usage periods billed at once. This value will either be 12 representing an annual account of 12 usage periods or 1 representing a monthly account.
|
|
42
|
-
* `expiration_year` (string): Expiration year(4 digits).
|
|
43
|
-
* `expiration_month` (string): Expiration month(2 digits).
|
|
44
|
-
* `start_year` (string): Required for some cards(Switch / Solo).
|
|
45
|
-
* `start_month` (string): Required for some cards(Switch / Solo).
|
|
46
|
-
* `cvv` (string): 3 digit code on the back of the card.
|
|
47
|
-
* `paypal_token` (string): Token for paying with paypal.
|
|
48
|
-
* `paypal_payer_id` (string): Paypal payer ID for paying with paypal.
|
|
49
|
-
* `plan_id` (int64): Plan ID to switch to immediately.
|
|
50
|
-
* `create_account` (boolean): Create account without immediately charging the customer. (i.e. let the trial complete first.)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
---
|
|
54
|
-
|
|
55
|
-
## Show current (billing) account information
|
|
56
|
-
|
|
57
|
-
```
|
|
58
|
-
Files::Account.get
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
---
|
|
63
|
-
|
|
64
|
-
## Upgrade current site to paid
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
Files::Account.create(
|
|
68
|
-
name: "account",
|
|
69
|
-
company_name: "Action Verb",
|
|
70
|
-
address: "123 Main St",
|
|
71
|
-
address_2: "Window 1",
|
|
72
|
-
city: "New York",
|
|
73
|
-
state: "NY",
|
|
74
|
-
zip: "00000",
|
|
75
|
-
country: "US",
|
|
76
|
-
email: "john.doe@files.com",
|
|
77
|
-
phone_number: "555-555-5555",
|
|
78
|
-
card_number: "xxxxxxxxxxxx1234",
|
|
79
|
-
card_type: "Visa",
|
|
80
|
-
plan_id: 1,
|
|
81
|
-
billing_frequency: 1,
|
|
82
|
-
currency: "USD",
|
|
83
|
-
create_account: false
|
|
84
|
-
)
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### Parameters
|
|
88
|
-
|
|
89
|
-
* `name` (string): Internal name.
|
|
90
|
-
* `company_name` (string): Company name.
|
|
91
|
-
* `address` (string): Address line 1.
|
|
92
|
-
* `address_2` (string): Address line 2.
|
|
93
|
-
* `city` (string): City.
|
|
94
|
-
* `state` (string): State.
|
|
95
|
-
* `zip` (string): Zipcode.
|
|
96
|
-
* `country` (string): Country.
|
|
97
|
-
* `email` (string): Email.
|
|
98
|
-
* `phone_number` (string): Primary phone number.
|
|
99
|
-
* `card_number` (string): Credit card number.
|
|
100
|
-
* `card_type` (string): Credit card type. Can be visa, master, maestro, solo, switch, american_express, or discover.
|
|
101
|
-
* `expiration_year` (string): Expiration year(4 digits).
|
|
102
|
-
* `expiration_month` (string): Expiration month(2 digits).
|
|
103
|
-
* `start_year` (string): Required for some cards(Switch / Solo).
|
|
104
|
-
* `start_month` (string): Required for some cards(Switch / Solo).
|
|
105
|
-
* `cvv` (string): 3 digit code on the back of the card.
|
|
106
|
-
* `paypal_token` (string): Token for paying with paypal.
|
|
107
|
-
* `paypal_payer_id` (string): Paypal payer ID for paying with paypal.
|
|
108
|
-
* `plan_id` (int64): Plan ID to switch to immediately.
|
|
109
|
-
* `billing_frequency` (int64): The billing frequency, in months, for the site. Must be 1 (monthly) or 12 (annual).
|
|
110
|
-
* `currency` (string): Preferred currency for this account.
|
|
111
|
-
* `create_account` (boolean): Create account without immediately charging the customer. (i.e. let the trial complete first.)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
|
|
116
|
-
## Update account (billing) information
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
Files::Account.update(
|
|
120
|
-
name: "account",
|
|
121
|
-
company_name: "Action Verb",
|
|
122
|
-
address: "123 Main St",
|
|
123
|
-
address_2: "Window 1",
|
|
124
|
-
city: "New York",
|
|
125
|
-
state: "NY",
|
|
126
|
-
zip: "00000",
|
|
127
|
-
country: "US",
|
|
128
|
-
email: "john.doe@files.com",
|
|
129
|
-
phone_number: "555-555-5555",
|
|
130
|
-
card_number: "xxxxxxxxxxxx1234",
|
|
131
|
-
card_type: "Visa"
|
|
132
|
-
)
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### Parameters
|
|
136
|
-
|
|
137
|
-
* `name` (string): Internal name.
|
|
138
|
-
* `company_name` (string): Company name.
|
|
139
|
-
* `address` (string): Address line 1.
|
|
140
|
-
* `address_2` (string): Address line 2.
|
|
141
|
-
* `city` (string): City.
|
|
142
|
-
* `state` (string): State.
|
|
143
|
-
* `zip` (string): Zipcode.
|
|
144
|
-
* `country` (string): Country.
|
|
145
|
-
* `email` (string): Email.
|
|
146
|
-
* `phone_number` (string): Primary phone number.
|
|
147
|
-
* `card_number` (string): Credit card number.
|
|
148
|
-
* `card_type` (string): Credit card type. Can be visa, master, maestro, solo, switch, american_express, or discover.
|
|
149
|
-
* `expiration_year` (string): Expiration year(4 digits).
|
|
150
|
-
* `expiration_month` (string): Expiration month(2 digits).
|
|
151
|
-
* `start_year` (string): Required for some cards(Switch / Solo).
|
|
152
|
-
* `start_month` (string): Required for some cards(Switch / Solo).
|
|
153
|
-
* `cvv` (string): 3 digit code on the back of the card.
|
|
154
|
-
* `paypal_token` (string): Token for paying with paypal.
|
|
155
|
-
* `paypal_payer_id` (string): Paypal payer ID for paying with paypal.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
## Retry Action Webhook Failure
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
Files::ActionWebhookFailure.retry(id)
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
### Parameters
|
|
12
|
-
|
|
13
|
-
* `id` (int64): Required - Action Webhook Failure ID.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Retry Action Webhook Failure
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
action_webhook_failure = Files::ActionWebhookFailure.new
|
|
22
|
-
|
|
23
|
-
action_webhook_failure.retry
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Parameters
|
|
27
|
-
|
|
28
|
-
* `id` (int64): Required - Action Webhook Failure ID.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# AgentProxyIdentity
|
|
2
|
-
|
|
3
|
-
## Example AgentProxyIdentity Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"peer_id": "example",
|
|
8
|
-
"endpoints": [
|
|
9
|
-
{
|
|
10
|
-
"multiaddr": "example"
|
|
11
|
-
}
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
* `peer_id` (string): Libp2p peer ID for this identity candidate.
|
|
17
|
-
* `endpoints` (array(object)): Protocol-specific endpoints for this peer ID.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
---
|
|
21
|
-
|
|
22
|
-
## Resolve Files Agent Proxy identities by public IPv4 address
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
Files::AgentProxyIdentity.lookup(
|
|
26
|
-
ips: "ips"
|
|
27
|
-
)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Parameters
|
|
31
|
-
|
|
32
|
-
* `ips` (array(string)): Required - One or more public IPv4 addresses to resolve
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Report the currently active agent proxy peer ID for a proxy private IP
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
Files::AgentProxyIdentity.report(
|
|
41
|
-
private_ip: "private_ip",
|
|
42
|
-
peer_id: "peer_id"
|
|
43
|
-
)
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Parameters
|
|
47
|
-
|
|
48
|
-
* `private_ip` (string): Required - Proxy private IPv4 address
|
|
49
|
-
* `peer_id` (string): Required - Libp2p peer ID currently served by the proxy
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# AgentProxyIdentityResult
|
|
2
|
-
|
|
3
|
-
## Example AgentProxyIdentityResult Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"ip": "example",
|
|
8
|
-
"status": "example",
|
|
9
|
-
"identities": [
|
|
10
|
-
{
|
|
11
|
-
"peer_id": "example",
|
|
12
|
-
"endpoints": [
|
|
13
|
-
{
|
|
14
|
-
"multiaddr": "example"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
* `ip` (string): Requested public IPv4 address.
|
|
23
|
-
* `status` (string): Lookup status for the requested IP.
|
|
24
|
-
* `identities` (array(object)): Ordered identity candidates for this IP during rotation.
|
data/docs/agent_v2_auth.md
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# AgentV2Auth
|
|
2
|
-
|
|
3
|
-
## Example AgentV2Auth Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"id": 1,
|
|
8
|
-
"nonce": "example",
|
|
9
|
-
"status": "example",
|
|
10
|
-
"site_id": 1
|
|
11
|
-
}
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
* `id` (int64): Agent ID
|
|
15
|
-
* `nonce` (string): authentication nonce
|
|
16
|
-
* `status` (string): in_setup: waiting for signed_nonce, complete: authorization approved
|
|
17
|
-
* `site_id` (int64): Agent's site ID
|
data/docs/announcement.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Announcement
|
|
2
|
-
|
|
3
|
-
## Example Announcement Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"id": 1,
|
|
8
|
-
"headline": "Files.com Now Supports In-App Announcements!",
|
|
9
|
-
"body": "This is the body.",
|
|
10
|
-
"button_text": "View Blog Post",
|
|
11
|
-
"button_url": "https://www.files.com/blog/",
|
|
12
|
-
"html_body": "<p>This is the HTML version of the body.</p>",
|
|
13
|
-
"label": "New Feature",
|
|
14
|
-
"label_color": "#000000",
|
|
15
|
-
"publish_at": "2000-01-01T01:00:00Z",
|
|
16
|
-
"slug": "new-feature"
|
|
17
|
-
}
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
* `id` (int64): Announcement Id
|
|
21
|
-
* `headline` (string): Announcement headline
|
|
22
|
-
* `body` (string): Announcement body
|
|
23
|
-
* `button_text` (string): Text to go on the CTA button
|
|
24
|
-
* `button_url` (string): URL to link to when CTA button is clicked
|
|
25
|
-
* `html_body` (string): Body converted to HTML
|
|
26
|
-
* `label` (string): Text for a label that can be added to the announcement
|
|
27
|
-
* `label_color` (string): Color for label on announcement
|
|
28
|
-
* `publish_at` (date-time): When was this announcement published?
|
|
29
|
-
* `slug` (string): URL slug for announcement
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
## List in-app announcements that are shown in the header of the UI
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
Files::Announcement.list
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Parameters
|
|
41
|
-
|
|
42
|
-
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
43
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
44
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## List in-app announcements that are shown in the header of the UI
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
Files::Announcement.create_export
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Parameters
|
|
56
|
-
|
|
57
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
|
data/docs/blog_post.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# BlogPost
|
|
2
|
-
|
|
3
|
-
## Example BlogPost Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"id": 1,
|
|
8
|
-
"title": "example",
|
|
9
|
-
"content": "example",
|
|
10
|
-
"link": "2000-01-01T01:00:00Z",
|
|
11
|
-
"published_at": "2000-01-01T01:00:00Z"
|
|
12
|
-
}
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
* `id` (int64): Blog Post ID
|
|
16
|
-
* `title` (string): Blog Post's Title
|
|
17
|
-
* `content` (string): Blog Post's Content
|
|
18
|
-
* `link` (date-time): Blog Post's Permanent Link
|
|
19
|
-
* `published_at` (date-time): Blog Post's Published Date
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Show the most recent blog posts from the Files.com blog
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
Files::BlogPost.list
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Parameters
|
|
31
|
-
|
|
32
|
-
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
33
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
34
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `published_at`.
|
|
35
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `published_at`.
|
|
36
|
-
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `published_at`.
|
|
37
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `published_at`.
|
|
38
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `published_at`.
|
|
39
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `published_at`.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
---
|
|
43
|
-
|
|
44
|
-
## Show the most recent blog posts from the Files.com blog
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
Files::BlogPost.create_export
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Parameters
|
|
51
|
-
|
|
52
|
-
* `sort_by` (object): If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are `published_at`.
|
|
53
|
-
* `filter` (object): If set, return records where the specified field is equal to the supplied value. Valid fields are `published_at`.
|
|
54
|
-
* `filter_gt` (object): If set, return records where the specified field is greater than the supplied value. Valid fields are `published_at`.
|
|
55
|
-
* `filter_gteq` (object): If set, return records where the specified field is greater than or equal the supplied value. Valid fields are `published_at`.
|
|
56
|
-
* `filter_lt` (object): If set, return records where the specified field is less than the supplied value. Valid fields are `published_at`.
|
|
57
|
-
* `filter_lteq` (object): If set, return records where the specified field is less than or equal the supplied value. Valid fields are `published_at`.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# BundleRecipientRegistration
|
|
2
|
-
|
|
3
|
-
## Example BundleRecipientRegistration Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"code": "example",
|
|
8
|
-
"bundle_registration_code": "example",
|
|
9
|
-
"recipient": "example",
|
|
10
|
-
"name": "example",
|
|
11
|
-
"company": "example",
|
|
12
|
-
"password_emailed": true,
|
|
13
|
-
"inbox_code": "abc123"
|
|
14
|
-
}
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
* `code` (string): The bundle recipient registration code. Use this to register for the bundle.
|
|
18
|
-
* `bundle_registration_code` (string): If the recipient has already registered for this bundle, this is their registration code to get the bundle contents.
|
|
19
|
-
* `recipient` (string): The recipient's email address.
|
|
20
|
-
* `name` (string): The recipient's name.
|
|
21
|
-
* `company` (string): The recipient's company.
|
|
22
|
-
* `password_emailed` (boolean): Whether a one-time password was emailed to the recipient.
|
|
23
|
-
* `inbox_code` (string): InboxRegistration cookie code, if there is an associated InboxRegistration
|
|
24
|
-
* `bundle_recipient_code` (string): Bundle recipient code
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
## Create Bundle Recipient Registration
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
Files::BundleRecipientRegistration.create(
|
|
33
|
-
bundle_recipient_code: "bundle_recipient_code"
|
|
34
|
-
)
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Parameters
|
|
38
|
-
|
|
39
|
-
* `bundle_recipient_code` (string): Required - Bundle recipient code
|
data/docs/certificate.md
DELETED
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
# Certificate
|
|
2
|
-
|
|
3
|
-
## Example Certificate Object
|
|
4
|
-
|
|
5
|
-
```
|
|
6
|
-
{
|
|
7
|
-
"id": 1,
|
|
8
|
-
"name": "My Certificate",
|
|
9
|
-
"certificate": "[certificate]",
|
|
10
|
-
"created_at": "2000-01-01T01:00:00Z",
|
|
11
|
-
"display_status": "Available",
|
|
12
|
-
"domains": [
|
|
13
|
-
|
|
14
|
-
],
|
|
15
|
-
"expires_at": "2000-01-01T01:00:00Z",
|
|
16
|
-
"brick_managed": true,
|
|
17
|
-
"intermediates": "[certificates]",
|
|
18
|
-
"ip_addresses": [
|
|
19
|
-
|
|
20
|
-
],
|
|
21
|
-
"issuer": "example",
|
|
22
|
-
"key_type": "RSA-4096",
|
|
23
|
-
"request": "[CSR]",
|
|
24
|
-
"status": "Available",
|
|
25
|
-
"subject": "my-custom-domain.com"
|
|
26
|
-
}
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
* `id` (int64): Certificate ID
|
|
30
|
-
* `name` (string): Descriptive name of certificate
|
|
31
|
-
* `certificate` (string): Full text of SSL certificate
|
|
32
|
-
* `created_at` (date-time): Certificate created at
|
|
33
|
-
* `display_status` (string): Certificate status. (One of `Request Generated`, `New`, `Active`, `Active/Expired`, `Expired`, or `Available`)
|
|
34
|
-
* `domains` (array(string)): Domains on this certificate other than files.com domains
|
|
35
|
-
* `expires_at` (date-time): Certificate expiration date/time
|
|
36
|
-
* `brick_managed` (boolean): Is this certificate automatically managed and renewed by Files.com?
|
|
37
|
-
* `intermediates` (string): Intermediate certificates
|
|
38
|
-
* `ip_addresses` (array(string)): A list of IP addresses associated with this SSL Certificate
|
|
39
|
-
* `issuer` (string): X509 issuer
|
|
40
|
-
* `key_type` (string): Type of key
|
|
41
|
-
* `request` (string): Certificate signing request text
|
|
42
|
-
* `status` (string): Certificate status (Request Generated, New, Active, Active/Expired, Expired, or Available)
|
|
43
|
-
* `subject` (string): X509 Subject name
|
|
44
|
-
* `certificate_domain` (string): Domain for certificate.
|
|
45
|
-
* `certificate_extra_domains` (array(string)): Additional domains for the certificate CSR.
|
|
46
|
-
* `certificate_country` (string): Country.
|
|
47
|
-
* `certificate_state_or_province` (string): State or province.
|
|
48
|
-
* `certificate_city_or_locale` (string): City or locale.
|
|
49
|
-
* `certificate_company_name` (string): Company name.
|
|
50
|
-
* `csr_ou1` (string): Department name or organization unit 1
|
|
51
|
-
* `csr_ou2` (string): Department name or organization unit 2
|
|
52
|
-
* `csr_ou3` (string): Department name or organization unit 3
|
|
53
|
-
* `certificate_email_address` (string): Email address for the certificate owner.
|
|
54
|
-
* `private_key` (string): Certificate private key.
|
|
55
|
-
* `password` (string): Certificate password.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
---
|
|
59
|
-
|
|
60
|
-
## List Certificates
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
Files::Certificate.list
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Parameters
|
|
67
|
-
|
|
68
|
-
* `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
69
|
-
* `per_page` (int64): Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## Show Certificate
|
|
75
|
-
|
|
76
|
-
```
|
|
77
|
-
Files::Certificate.find(id)
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### Parameters
|
|
81
|
-
|
|
82
|
-
* `id` (int64): Required - Certificate ID.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Create CSR or import existing SSL Certificate
|
|
88
|
-
|
|
89
|
-
```
|
|
90
|
-
Files::Certificate.create(
|
|
91
|
-
name: "Name",
|
|
92
|
-
certificate_domain: "domain.com",
|
|
93
|
-
certificate_extra_domains: ["www.domain.com"],
|
|
94
|
-
key_type: "RSA-4096",
|
|
95
|
-
certificate: "[certificate]",
|
|
96
|
-
intermediates: "[certificates]"
|
|
97
|
-
)
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Parameters
|
|
101
|
-
|
|
102
|
-
* `name` (string): Required - Internal name of the SSL certificate.
|
|
103
|
-
* `certificate_domain` (string): Domain for certificate.
|
|
104
|
-
* `certificate_extra_domains` (array(string)): Additional domains for the certificate CSR.
|
|
105
|
-
* `certificate_country` (string): Country.
|
|
106
|
-
* `certificate_state_or_province` (string): State or province.
|
|
107
|
-
* `certificate_city_or_locale` (string): City or locale.
|
|
108
|
-
* `certificate_company_name` (string): Company name.
|
|
109
|
-
* `csr_ou1` (string): Department name or organization unit 1
|
|
110
|
-
* `csr_ou2` (string): Department name or organization unit 2
|
|
111
|
-
* `csr_ou3` (string): Department name or organization unit 3
|
|
112
|
-
* `certificate_email_address` (string): Email address for the certificate owner.
|
|
113
|
-
* `key_type` (string): Any supported key type. Defaults to `RSA-4096`.
|
|
114
|
-
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
115
|
-
* `private_key` (string): Certificate private key.
|
|
116
|
-
* `password` (string): Certificate password.
|
|
117
|
-
* `intermediates` (string): Intermediate certificates. PEM or PKCS7 formats accepted.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
---
|
|
121
|
-
|
|
122
|
-
## Deactivate SSL Certificate
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
Files::Certificate.deactivate(id)
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### Parameters
|
|
129
|
-
|
|
130
|
-
* `id` (int64): Required - Certificate ID.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
## Activate SSL Certificate
|
|
136
|
-
|
|
137
|
-
```
|
|
138
|
-
Files::Certificate.activate(id,
|
|
139
|
-
replace_cert: ""
|
|
140
|
-
)
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### Parameters
|
|
144
|
-
|
|
145
|
-
* `id` (int64): Required - Certificate ID.
|
|
146
|
-
* `replace_cert` (string): Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
---
|
|
150
|
-
|
|
151
|
-
## Create an export CSV of Certificate resources
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
Files::Certificate.create_export
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
---
|
|
159
|
-
|
|
160
|
-
## Update Certificate
|
|
161
|
-
|
|
162
|
-
```
|
|
163
|
-
Files::Certificate.update(id,
|
|
164
|
-
name: "My Certificate",
|
|
165
|
-
intermediates: "[certificates]",
|
|
166
|
-
certificate: "[certificate]"
|
|
167
|
-
)
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Parameters
|
|
171
|
-
|
|
172
|
-
* `id` (int64): Required - Certificate ID.
|
|
173
|
-
* `name` (string): Internal certificate name.
|
|
174
|
-
* `intermediates` (string): Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
175
|
-
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
---
|
|
179
|
-
|
|
180
|
-
## Delete Certificate
|
|
181
|
-
|
|
182
|
-
```
|
|
183
|
-
Files::Certificate.delete(id)
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Parameters
|
|
187
|
-
|
|
188
|
-
* `id` (int64): Required - Certificate ID.
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
---
|
|
192
|
-
|
|
193
|
-
## Deactivate SSL Certificate
|
|
194
|
-
|
|
195
|
-
```
|
|
196
|
-
certificate = Files::Certificate.find(id)
|
|
197
|
-
|
|
198
|
-
certificate.deactivate
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### Parameters
|
|
202
|
-
|
|
203
|
-
* `id` (int64): Required - Certificate ID.
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
---
|
|
207
|
-
|
|
208
|
-
## Activate SSL Certificate
|
|
209
|
-
|
|
210
|
-
```
|
|
211
|
-
certificate = Files::Certificate.find(id)
|
|
212
|
-
|
|
213
|
-
certificate.activate(
|
|
214
|
-
replace_cert: ""
|
|
215
|
-
)
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### Parameters
|
|
219
|
-
|
|
220
|
-
* `id` (int64): Required - Certificate ID.
|
|
221
|
-
* `replace_cert` (string): Leave blank or set to `any` to replace any currently active certificate, if applicable. Set to `new_ips` to activate this certificate as an additional certificate on your Site by allocating a new set of Dedicated IPs (may require a Plan upgrade). Set to the ID of a currently active certificate to replace that certificate on its set of dedicated IPs.
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
---
|
|
225
|
-
|
|
226
|
-
## Update Certificate
|
|
227
|
-
|
|
228
|
-
```
|
|
229
|
-
certificate = Files::Certificate.find(id)
|
|
230
|
-
|
|
231
|
-
certificate.update(
|
|
232
|
-
name: "My Certificate",
|
|
233
|
-
intermediates: "[certificates]",
|
|
234
|
-
certificate: "[certificate]"
|
|
235
|
-
)
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
### Parameters
|
|
239
|
-
|
|
240
|
-
* `id` (int64): Required - Certificate ID.
|
|
241
|
-
* `name` (string): Internal certificate name.
|
|
242
|
-
* `intermediates` (string): Any intermediate certificates. PEM or PKCS7 formats accepted.
|
|
243
|
-
* `certificate` (string): The certificate. PEM or PKCS7 formats accepted.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
---
|
|
247
|
-
|
|
248
|
-
## Delete Certificate
|
|
249
|
-
|
|
250
|
-
```
|
|
251
|
-
certificate = Files::Certificate.find(id)
|
|
252
|
-
|
|
253
|
-
certificate.delete
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
### Parameters
|
|
257
|
-
|
|
258
|
-
* `id` (int64): Required - Certificate ID.
|