files.com 1.0.122 → 1.0.123
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/history_export.md +0 -5
- data/lib/files.com/models/history_export.rb +0 -20
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b327cdd5fe83088b3b598f87178627b0fb7d721e257575bdd0b9d5f783c51495
|
4
|
+
data.tar.gz: 23e6a12ef8f91043bf4c769f1b8d970839c50461efb99bd5562a6f6989bc7b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c0bbcd80eed68a5c8f534b02b40f38e926305cbb8d9302fe9213c96463d0b89eae331474d6cac3a004d531b3c09fb58ea19c1e2ab6e174cd76cd526d2aaf4f9
|
7
|
+
data.tar.gz: feebcff93f3bc88a96824f75238600007936d8750614862d272e6d45d97892645e8637fbe381730df2173f9a806cd06859675ce1620978313e521e101f22560b
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.123
|
data/docs/history_export.md
CHANGED
@@ -7,8 +7,6 @@
|
|
7
7
|
"id": 1,
|
8
8
|
"start_at": "2000-01-01T01:00:00Z",
|
9
9
|
"end_at": "2000-01-01T01:00:00Z",
|
10
|
-
"export_as": "",
|
11
|
-
"file_export": true,
|
12
10
|
"status": "ready",
|
13
11
|
"query_action": "read",
|
14
12
|
"query_interface": "ftp",
|
@@ -36,8 +34,6 @@
|
|
36
34
|
* `id` (int64): History Export ID
|
37
35
|
* `start_at` (date-time): Start date/time of export range.
|
38
36
|
* `end_at` (date-time): End date/time of export range.
|
39
|
-
* `export_as` (string): Export format
|
40
|
-
* `file_export` (boolean): Is a file export, downloadable using the results_url
|
41
37
|
* `status` (string): Status of export. Will be: `building`, `ready`, or `failed`
|
42
38
|
* `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
43
39
|
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`
|
@@ -111,7 +107,6 @@ Files::HistoryExport.create(
|
|
111
107
|
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
112
108
|
* `start_at` (string): Start date/time of export range.
|
113
109
|
* `end_at` (string): End date/time of export range.
|
114
|
-
* `export_as` (string): Export format
|
115
110
|
* `query_action` (string): Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
116
111
|
* `query_interface` (string): Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`
|
117
112
|
* `query_user_id` (string): Return results that are actions performed by the user indiciated by this User ID
|
@@ -36,24 +36,6 @@ module Files
|
|
36
36
|
@attributes[:end_at] = value
|
37
37
|
end
|
38
38
|
|
39
|
-
# string - Export format
|
40
|
-
def export_as
|
41
|
-
@attributes[:export_as]
|
42
|
-
end
|
43
|
-
|
44
|
-
def export_as=(value)
|
45
|
-
@attributes[:export_as] = value
|
46
|
-
end
|
47
|
-
|
48
|
-
# boolean - Is a file export, downloadable using the results_url
|
49
|
-
def file_export
|
50
|
-
@attributes[:file_export]
|
51
|
-
end
|
52
|
-
|
53
|
-
def file_export=(value)
|
54
|
-
@attributes[:file_export] = value
|
55
|
-
end
|
56
|
-
|
57
39
|
# string - Status of export. Will be: `building`, `ready`, or `failed`
|
58
40
|
def status
|
59
41
|
@attributes[:status]
|
@@ -281,7 +263,6 @@ module Files
|
|
281
263
|
# user_id - int64 - User ID. Provide a value of `0` to operate the current session's user.
|
282
264
|
# start_at - string - Start date/time of export range.
|
283
265
|
# end_at - string - End date/time of export range.
|
284
|
-
# export_as - string - Export format
|
285
266
|
# query_action - string - Filter results by this this action type. Valid values: `create`, `read`, `update`, `destroy`, `move`, `login`, `failedlogin`, `copy`, `user_create`, `user_update`, `user_destroy`, `group_create`, `group_update`, `group_destroy`, `permission_create`, `permission_destroy`, `api_key_create`, `api_key_update`, `api_key_destroy`
|
286
267
|
# query_interface - string - Filter results by this this interface type. Valid values: `web`, `ftp`, `robot`, `jsapi`, `webdesktopapi`, `sftp`, `dav`, `desktop`, `restapi`, `scim`, `office`
|
287
268
|
# query_user_id - string - Return results that are actions performed by the user indiciated by this User ID
|
@@ -305,7 +286,6 @@ module Files
|
|
305
286
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
306
287
|
raise InvalidParameterError.new("Bad parameter: start_at must be an String") if params.dig(:start_at) and !params.dig(:start_at).is_a?(String)
|
307
288
|
raise InvalidParameterError.new("Bad parameter: end_at must be an String") if params.dig(:end_at) and !params.dig(:end_at).is_a?(String)
|
308
|
-
raise InvalidParameterError.new("Bad parameter: export_as must be an String") if params.dig(:export_as) and !params.dig(:export_as).is_a?(String)
|
309
289
|
raise InvalidParameterError.new("Bad parameter: query_action must be an String") if params.dig(:query_action) and !params.dig(:query_action).is_a?(String)
|
310
290
|
raise InvalidParameterError.new("Bad parameter: query_interface must be an String") if params.dig(:query_interface) and !params.dig(:query_interface).is_a?(String)
|
311
291
|
raise InvalidParameterError.new("Bad parameter: query_user_id must be an String") if params.dig(:query_user_id) and !params.dig(:query_user_id).is_a?(String)
|