UNPKG

files.com

Version:
76 lines (48 loc) 2.82 kB
# IpAddress ## Example IpAddress Object ``` { "id": "Site", "associated_with": "Site", "group_id": 1, "ip_addresses": [ "127.0.0.1" ] } ``` * `id` (string): Unique label for list; used by Zapier and other integrations. * `associated_with` (string): The object that this public IP address list is associated with. * `group_id` (int64): Group ID * `ip_addresses` (array(string)): A list of IP addresses. --- ## List IP Addresses associated with the current site ``` await IpAddress.list ``` ### Parameters * `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. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). --- ## List all possible public SmartFile IP addresses ``` await IpAddress.getSmartfileReserved ``` ### Parameters * `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. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). --- ## List all possible public ExaVault IP addresses ``` await IpAddress.getExavaultReserved ``` ### Parameters * `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. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended). --- ## List all possible public IP addresses ``` await IpAddress.getReserved ``` ### Parameters * `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. * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).