files.com 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/api_key.md +2 -2
- data/docs/bundle.md +2 -2
- data/docs/file.md +2 -0
- data/docs/file_comment_reaction.md +2 -2
- data/docs/folder.md +2 -0
- data/docs/message.md +3 -3
- data/docs/message_comment.md +3 -3
- data/docs/message_comment_reaction.md +3 -3
- data/docs/message_reaction.md +3 -3
- data/docs/public_key.md +3 -3
- data/docs/user_cipher_use.md +1 -1
- data/lib/files.com/models/api_key.rb +2 -2
- data/lib/files.com/models/bundle.rb +2 -2
- data/lib/files.com/models/file.rb +9 -0
- data/lib/files.com/models/file_comment_reaction.rb +2 -2
- data/lib/files.com/models/folder.rb +9 -0
- data/lib/files.com/models/message.rb +3 -3
- data/lib/files.com/models/message_comment.rb +3 -3
- data/lib/files.com/models/message_comment_reaction.rb +3 -3
- data/lib/files.com/models/message_reaction.rb +3 -3
- data/lib/files.com/models/public_key.rb +3 -3
- data/lib/files.com/models/user_cipher_use.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba4a15795a72e9e5af425c0a18c6454a9d58d262b320054ac5ef50f5df2fb312
|
4
|
+
data.tar.gz: 1ac811ce59396c4c116397f1cd58fe50da4d91317ee6ee644d3ea5f43144ea97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3046ba9221c86110ed98b76b61ef6b9e04f1838d72d3d95300151c46dd9f104f9f3f12ccc8926ec9c066b62a39581b60d061dd7f397a7a8a39b102e0197e8a67
|
7
|
+
data.tar.gz: 72ead37309140fa05f63b0dcfdef65156cdb330c4bda0bf6a628466fdd437f3b17bdb5a38efd1dbcb32967195e661e80dc23cfa5d057b93807346ac44197a9d2
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.8
|
data/docs/api_key.md
CHANGED
@@ -39,7 +39,7 @@ Files::ApiKey.list(
|
|
39
39
|
|
40
40
|
### Parameters
|
41
41
|
|
42
|
-
* `user_id` (int64): User ID.
|
42
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
43
43
|
* `page` (int64): Current page number.
|
44
44
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
45
45
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -73,7 +73,7 @@ Files::ApiKey.create(
|
|
73
73
|
|
74
74
|
### Parameters
|
75
75
|
|
76
|
-
* `user_id` (int64): User ID.
|
76
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
77
77
|
* `name` (string): Internal name for key. For your reference only.
|
78
78
|
* `permission_set` (string): Leave blank, or set to 'desktop_app' to restrict the key to only desktop app functions.
|
79
79
|
* `expires_at` (string): Have the key expire at this date/time.
|
data/docs/bundle.md
CHANGED
@@ -48,7 +48,7 @@ Files::Bundle.list(
|
|
48
48
|
|
49
49
|
### Parameters
|
50
50
|
|
51
|
-
* `user_id` (int64): User ID.
|
51
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
52
52
|
* `page` (int64): Current page number.
|
53
53
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
54
54
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -84,7 +84,7 @@ Files::Bundle.create(
|
|
84
84
|
|
85
85
|
### Parameters
|
86
86
|
|
87
|
-
* `user_id` (int64): User ID.
|
87
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
88
88
|
* `paths` (array(string)): Required - A list of paths to include in this bundle.
|
89
89
|
* `password` (string): Password for this bundle.
|
90
90
|
* `expires_at` (string): Bundle expiration date/time.
|
data/docs/file.md
CHANGED
@@ -16,6 +16,7 @@ may places where a Ruby File object can be used.
|
|
16
16
|
"provided_mtime": "2000-01-01 01:00:00 UTC",
|
17
17
|
"crc32": "70976923",
|
18
18
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
19
|
+
"mime_type": "application/octet-stream",
|
19
20
|
"region": "us-east-1",
|
20
21
|
"permissions": "rpw",
|
21
22
|
"subfolders_locked?": true,
|
@@ -35,6 +36,7 @@ may places where a Ruby File object can be used.
|
|
35
36
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
36
37
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
37
38
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
39
|
+
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
38
40
|
* `region` (string): Region location
|
39
41
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`p`, or any combination
|
40
42
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
* `id` (int64): Reaction ID
|
13
13
|
* `emoji` (string): Emoji used in the reaction.
|
14
|
-
* `user_id` (int64): User ID.
|
14
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
15
15
|
* `file_comment_id` (int64): ID of file comment to attach reaction to.
|
16
16
|
|
17
17
|
|
@@ -29,7 +29,7 @@ Files::FileCommentReaction.create(
|
|
29
29
|
|
30
30
|
### Parameters
|
31
31
|
|
32
|
-
* `user_id` (int64): User ID.
|
32
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
33
33
|
* `file_comment_id` (int64): Required - ID of file comment to attach reaction to.
|
34
34
|
* `emoji` (string): Required - Emoji to react with.
|
35
35
|
|
data/docs/folder.md
CHANGED
@@ -18,6 +18,7 @@ Files::Dir is an alias of Files::Folder
|
|
18
18
|
"provided_mtime": "2000-01-01 01:00:00 UTC",
|
19
19
|
"crc32": "70976923",
|
20
20
|
"md5": "17c54824e9931a4688ca032d03f6663c",
|
21
|
+
"mime_type": "application/octet-stream",
|
21
22
|
"region": "us-east-1",
|
22
23
|
"permissions": "rpw",
|
23
24
|
"subfolders_locked?": true,
|
@@ -37,6 +38,7 @@ Files::Dir is an alias of Files::Folder
|
|
37
38
|
* `provided_mtime` (date-time): File last modified date/time, according to the client who set it. Files.com allows desktop, FTP, SFTP, and WebDAV clients to set modified at times. This allows Desktop<->Cloud syncing to preserve modified at times.
|
38
39
|
* `crc32` (string): File CRC32 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
39
40
|
* `md5` (string): File MD5 checksum. This is sometimes delayed, so if you get a blank response, wait and try again.
|
41
|
+
* `mime_type` (string): MIME Type. This is determined by the filename extension and is not stored separately internally.
|
40
42
|
* `region` (string): Region location
|
41
43
|
* `permissions` (string): A short string representing the current user's permissions. Can be `r`,`w`,`p`, or any combination
|
42
44
|
* `subfolders_locked?` (boolean): Are subfolders locked and unable to be modified?
|
data/docs/message.md
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
* `subject` (string): Message subject.
|
18
18
|
* `body` (string): Message body.
|
19
19
|
* `comments` (array): Comments.
|
20
|
-
* `user_id` (int64): User ID.
|
20
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
21
21
|
* `project_id` (int64): Project to attach the message to.
|
22
22
|
|
23
23
|
|
@@ -36,7 +36,7 @@ Files::Message.list(
|
|
36
36
|
|
37
37
|
### Parameters
|
38
38
|
|
39
|
-
* `user_id` (int64): User ID.
|
39
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
40
40
|
* `page` (int64): Current page number.
|
41
41
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
42
42
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -71,7 +71,7 @@ Files::Message.create(
|
|
71
71
|
|
72
72
|
### Parameters
|
73
73
|
|
74
|
-
* `user_id` (int64): User ID.
|
74
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
75
75
|
* `project_id` (int64): Required - Project to attach the message to.
|
76
76
|
* `subject` (string): Required - Message subject.
|
77
77
|
* `body` (string): Required - Message body.
|
data/docs/message_comment.md
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
* `id` (int64): Message Comment ID
|
16
16
|
* `body` (string): Comment body.
|
17
17
|
* `reactions` (array): Reactions to this comment.
|
18
|
-
* `user_id` (int64): User ID.
|
18
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
19
19
|
|
20
20
|
|
21
21
|
---
|
@@ -33,7 +33,7 @@ Files::MessageComment.list(
|
|
33
33
|
|
34
34
|
### Parameters
|
35
35
|
|
36
|
-
* `user_id` (int64): User ID.
|
36
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
37
37
|
* `page` (int64): Current page number.
|
38
38
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
39
39
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -66,7 +66,7 @@ Files::MessageComment.create(
|
|
66
66
|
|
67
67
|
### Parameters
|
68
68
|
|
69
|
-
* `user_id` (int64): User ID.
|
69
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
70
70
|
* `body` (string): Required - Comment body.
|
71
71
|
|
72
72
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
* `id` (int64): Reaction ID
|
13
13
|
* `emoji` (string): Emoji used in the reaction.
|
14
|
-
* `user_id` (int64): User ID.
|
14
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
15
15
|
|
16
16
|
|
17
17
|
---
|
@@ -29,7 +29,7 @@ Files::MessageCommentReaction.list(
|
|
29
29
|
|
30
30
|
### Parameters
|
31
31
|
|
32
|
-
* `user_id` (int64): User ID.
|
32
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
33
33
|
* `page` (int64): Current page number.
|
34
34
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -62,7 +62,7 @@ Files::MessageCommentReaction.create(
|
|
62
62
|
|
63
63
|
### Parameters
|
64
64
|
|
65
|
-
* `user_id` (int64): User ID.
|
65
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
66
66
|
* `emoji` (string): Required - Emoji to react with.
|
67
67
|
|
68
68
|
|
data/docs/message_reaction.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
* `id` (int64): Reaction ID
|
13
13
|
* `emoji` (string): Emoji used in the reaction.
|
14
|
-
* `user_id` (int64): User ID.
|
14
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
15
15
|
|
16
16
|
|
17
17
|
---
|
@@ -29,7 +29,7 @@ Files::MessageReaction.list(
|
|
29
29
|
|
30
30
|
### Parameters
|
31
31
|
|
32
|
-
* `user_id` (int64): User ID.
|
32
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
33
33
|
* `page` (int64): Current page number.
|
34
34
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
35
35
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -62,7 +62,7 @@ Files::MessageReaction.create(
|
|
62
62
|
|
63
63
|
### Parameters
|
64
64
|
|
65
|
-
* `user_id` (int64): User ID.
|
65
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
66
66
|
* `emoji` (string): Required - Emoji to react with.
|
67
67
|
|
68
68
|
|
data/docs/public_key.md
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
* `created_at` (date-time): Public key created at date/time
|
16
16
|
* `fingerprint` (string): Public key fingerprint
|
17
17
|
* `title` (string): Public key title
|
18
|
-
* `user_id` (int64): User ID.
|
18
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
19
19
|
* `public_key` (string): Actual contents of SSH key.
|
20
20
|
|
21
21
|
|
@@ -33,7 +33,7 @@ Files::PublicKey.list(
|
|
33
33
|
|
34
34
|
### Parameters
|
35
35
|
|
36
|
-
* `user_id` (int64): User ID.
|
36
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
37
37
|
* `page` (int64): Current page number.
|
38
38
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
39
39
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -66,7 +66,7 @@ Files::PublicKey.create(
|
|
66
66
|
|
67
67
|
### Parameters
|
68
68
|
|
69
|
-
* `user_id` (int64): User ID.
|
69
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
70
70
|
* `title` (string): Required - Internal reference for key.
|
71
71
|
* `public_key` (string): Required - Actual contents of SSH key.
|
72
72
|
|
data/docs/user_cipher_use.md
CHANGED
@@ -35,7 +35,7 @@ Files::UserCipherUse.list(
|
|
35
35
|
|
36
36
|
### Parameters
|
37
37
|
|
38
|
-
* `user_id` (int64): User ID.
|
38
|
+
* `user_id` (int64): User ID. Provide a value of `0` to operate the current session's user.
|
39
39
|
* `page` (int64): Current page number.
|
40
40
|
* `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
41
41
|
* `action` (string): Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -118,7 +118,7 @@ module Files
|
|
118
118
|
end
|
119
119
|
|
120
120
|
# Parameters:
|
121
|
-
# user_id - integer - User ID.
|
121
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
122
122
|
# page - integer - Current page number.
|
123
123
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
124
124
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -153,7 +153,7 @@ module Files
|
|
153
153
|
end
|
154
154
|
|
155
155
|
# Parameters:
|
156
|
-
# user_id - integer - User ID.
|
156
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
157
157
|
# name - string - Internal name for key. For your reference only.
|
158
158
|
# permission_set - string - Leave blank, or set to 'desktop_app' to restrict the key to only desktop app functions.
|
159
159
|
# expires_at - string - Have the key expire at this date/time.
|
@@ -155,7 +155,7 @@ module Files
|
|
155
155
|
end
|
156
156
|
|
157
157
|
# Parameters:
|
158
|
-
# user_id - integer - User ID.
|
158
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
159
159
|
# page - integer - Current page number.
|
160
160
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
161
161
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -190,7 +190,7 @@ module Files
|
|
190
190
|
end
|
191
191
|
|
192
192
|
# Parameters:
|
193
|
-
# user_id - integer - User ID.
|
193
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
194
194
|
# paths (required) - array - A list of paths to include in this bundle.
|
195
195
|
# password - string - Password for this bundle.
|
196
196
|
# expires_at - string - Bundle expiration date/time.
|
@@ -656,6 +656,15 @@ module Files
|
|
656
656
|
@attributes[:md5] = value
|
657
657
|
end
|
658
658
|
|
659
|
+
# string - MIME Type. This is determined by the filename extension and is not stored separately internally.
|
660
|
+
def mime_type
|
661
|
+
@attributes[:mime_type]
|
662
|
+
end
|
663
|
+
|
664
|
+
def mime_type=(value)
|
665
|
+
@attributes[:mime_type] = value
|
666
|
+
end
|
667
|
+
|
659
668
|
# string - Region location
|
660
669
|
def region
|
661
670
|
@attributes[:region]
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:emoji] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# int64 - User ID.
|
30
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
31
31
|
def user_id
|
32
32
|
@attributes[:user_id]
|
33
33
|
end
|
@@ -69,7 +69,7 @@ module Files
|
|
69
69
|
end
|
70
70
|
|
71
71
|
# Parameters:
|
72
|
-
# user_id - integer - User ID.
|
72
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
73
73
|
# file_comment_id (required) - integer - ID of file comment to attach reaction to.
|
74
74
|
# emoji (required) - string - Emoji to react with.
|
75
75
|
def self.create(params = {}, options = {})
|
@@ -237,6 +237,15 @@ module Files
|
|
237
237
|
@attributes[:md5] = value
|
238
238
|
end
|
239
239
|
|
240
|
+
# string - MIME Type. This is determined by the filename extension and is not stored separately internally.
|
241
|
+
def mime_type
|
242
|
+
@attributes[:mime_type]
|
243
|
+
end
|
244
|
+
|
245
|
+
def mime_type=(value)
|
246
|
+
@attributes[:mime_type] = value
|
247
|
+
end
|
248
|
+
|
240
249
|
# string - Region location
|
241
250
|
def region
|
242
251
|
@attributes[:region]
|
@@ -45,7 +45,7 @@ module Files
|
|
45
45
|
@attributes[:comments] = value
|
46
46
|
end
|
47
47
|
|
48
|
-
# int64 - User ID.
|
48
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
49
49
|
def user_id
|
50
50
|
@attributes[:user_id]
|
51
51
|
end
|
@@ -107,7 +107,7 @@ module Files
|
|
107
107
|
end
|
108
108
|
|
109
109
|
# Parameters:
|
110
|
-
# user_id - integer - User ID.
|
110
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
111
111
|
# page - integer - Current page number.
|
112
112
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
113
113
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -145,7 +145,7 @@ module Files
|
|
145
145
|
end
|
146
146
|
|
147
147
|
# Parameters:
|
148
|
-
# user_id - integer - User ID.
|
148
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
149
149
|
# project_id (required) - integer - Project to attach the message to.
|
150
150
|
# subject (required) - string - Message subject.
|
151
151
|
# body (required) - string - Message body.
|
@@ -36,7 +36,7 @@ module Files
|
|
36
36
|
@attributes[:reactions] = value
|
37
37
|
end
|
38
38
|
|
39
|
-
# int64 - User ID.
|
39
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
40
40
|
def user_id
|
41
41
|
@attributes[:user_id]
|
42
42
|
end
|
@@ -83,7 +83,7 @@ module Files
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# Parameters:
|
86
|
-
# user_id - integer - User ID.
|
86
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
87
87
|
# page - integer - Current page number.
|
88
88
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
89
89
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -121,7 +121,7 @@ module Files
|
|
121
121
|
end
|
122
122
|
|
123
123
|
# Parameters:
|
124
|
-
# user_id - integer - User ID.
|
124
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
125
125
|
# body (required) - string - Comment body.
|
126
126
|
def self.create(params = {}, options = {})
|
127
127
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:emoji] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# int64 - User ID.
|
30
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
31
31
|
def user_id
|
32
32
|
@attributes[:user_id]
|
33
33
|
end
|
@@ -60,7 +60,7 @@ module Files
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# Parameters:
|
63
|
-
# user_id - integer - User ID.
|
63
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
64
64
|
# page - integer - Current page number.
|
65
65
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -98,7 +98,7 @@ module Files
|
|
98
98
|
end
|
99
99
|
|
100
100
|
# Parameters:
|
101
|
-
# user_id - integer - User ID.
|
101
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
102
102
|
# emoji (required) - string - Emoji to react with.
|
103
103
|
def self.create(params = {}, options = {})
|
104
104
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -27,7 +27,7 @@ module Files
|
|
27
27
|
@attributes[:emoji] = value
|
28
28
|
end
|
29
29
|
|
30
|
-
# int64 - User ID.
|
30
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
31
31
|
def user_id
|
32
32
|
@attributes[:user_id]
|
33
33
|
end
|
@@ -60,7 +60,7 @@ module Files
|
|
60
60
|
end
|
61
61
|
|
62
62
|
# Parameters:
|
63
|
-
# user_id - integer - User ID.
|
63
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
64
64
|
# page - integer - Current page number.
|
65
65
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
66
66
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -98,7 +98,7 @@ module Files
|
|
98
98
|
end
|
99
99
|
|
100
100
|
# Parameters:
|
101
|
-
# user_id - integer - User ID.
|
101
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
102
102
|
# emoji (required) - string - Emoji to react with.
|
103
103
|
def self.create(params = {}, options = {})
|
104
104
|
raise InvalidParameterError.new("Bad parameter: user_id must be an Integer") if params.dig(:user_id) and !params.dig(:user_id).is_a?(Integer)
|
@@ -41,7 +41,7 @@ module Files
|
|
41
41
|
@attributes[:title] = value
|
42
42
|
end
|
43
43
|
|
44
|
-
# int64 - User ID.
|
44
|
+
# int64 - User ID. Provide a value of `0` to operate the current session's user.
|
45
45
|
def user_id
|
46
46
|
@attributes[:user_id]
|
47
47
|
end
|
@@ -97,7 +97,7 @@ module Files
|
|
97
97
|
end
|
98
98
|
|
99
99
|
# Parameters:
|
100
|
-
# user_id - integer - User ID.
|
100
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
101
101
|
# page - integer - Current page number.
|
102
102
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
103
103
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
@@ -132,7 +132,7 @@ module Files
|
|
132
132
|
end
|
133
133
|
|
134
134
|
# Parameters:
|
135
|
-
# user_id - integer - User ID.
|
135
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
136
136
|
# title (required) - string - Internal reference for key.
|
137
137
|
# public_key (required) - string - Actual contents of SSH key.
|
138
138
|
def self.create(params = {}, options = {})
|
@@ -40,7 +40,7 @@ module Files
|
|
40
40
|
end
|
41
41
|
|
42
42
|
# Parameters:
|
43
|
-
# user_id - integer - User ID.
|
43
|
+
# user_id - integer - User ID. Provide a value of `0` to operate the current session's user.
|
44
44
|
# page - integer - Current page number.
|
45
45
|
# per_page - integer - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
46
46
|
# action - string - Deprecated: If set to `count` returns a count of matching records rather than the records themselves.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: files.com
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|