brick_ftp 1.0.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/action/publish_gem/Dockerfile +14 -0
- data/.github/action/publish_gem/entrypoint.sh +18 -0
- data/.github/action/write_github_release/Dockerfile +14 -0
- data/.github/action/write_github_release/entrypoint.sh +48 -0
- data/.github/main.workflow +14 -0
- data/CHANGELOG.md +17 -2
- data/README.md +2 -2
- data/lib/brick_ftp.rb +1 -1
- data/lib/brick_ftp/restful_api.rb +11 -11
- data/lib/brick_ftp/restful_api/add_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/client.rb +2 -2
- data/lib/brick_ftp/restful_api/complete_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/continue_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/copy_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/count_folder_contents.rb +2 -2
- data/lib/brick_ftp/restful_api/count_users.rb +1 -1
- data/lib/brick_ftp/restful_api/create_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/create_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/create_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/create_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/create_group.rb +1 -1
- data/lib/brick_ftp/restful_api/create_notification.rb +1 -1
- data/lib/brick_ftp/restful_api/create_permission.rb +1 -1
- data/lib/brick_ftp/restful_api/create_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/create_user.rb +1 -1
- data/lib/brick_ftp/restful_api/create_user_in_group.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_group.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_notification.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_permission.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/delete_user.rb +1 -1
- data/lib/brick_ftp/restful_api/download_file.rb +1 -1
- data/lib/brick_ftp/restful_api/get_api_key.rb +1 -1
- data/lib/brick_ftp/restful_api/get_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/get_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/get_bundle_zip.rb +1 -1
- data/lib/brick_ftp/restful_api/get_file_in_bundle.rb +1 -1
- data/lib/brick_ftp/restful_api/get_folder_size.rb +1 -1
- data/lib/brick_ftp/restful_api/get_group.rb +1 -1
- data/lib/brick_ftp/restful_api/get_public_key.rb +1 -1
- data/lib/brick_ftp/restful_api/get_user.rb +1 -1
- data/lib/brick_ftp/restful_api/list_api_keys.rb +1 -1
- data/lib/brick_ftp/restful_api/list_behaviors.rb +1 -1
- data/lib/brick_ftp/restful_api/list_bundle_contents.rb +1 -1
- data/lib/brick_ftp/restful_api/list_bundles.rb +1 -1
- data/lib/brick_ftp/restful_api/list_folder_behaviors.rb +1 -1
- data/lib/brick_ftp/restful_api/list_folders.rb +1 -1
- data/lib/brick_ftp/restful_api/list_groups.rb +1 -1
- data/lib/brick_ftp/restful_api/list_notifications.rb +1 -1
- data/lib/brick_ftp/restful_api/list_permissions.rb +1 -1
- data/lib/brick_ftp/restful_api/list_public_keys.rb +1 -1
- data/lib/brick_ftp/restful_api/list_users.rb +1 -1
- data/lib/brick_ftp/restful_api/move_folder.rb +1 -1
- data/lib/brick_ftp/restful_api/remove_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_file_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_folder_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_login_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_site_history.rb +1 -1
- data/lib/brick_ftp/restful_api/retrieve_user_history.rb +1 -1
- data/lib/brick_ftp/restful_api/search_user.rb +1 -1
- data/lib/brick_ftp/restful_api/start_upload.rb +1 -1
- data/lib/brick_ftp/restful_api/unlock_user.rb +1 -1
- data/lib/brick_ftp/restful_api/update_behavior.rb +1 -1
- data/lib/brick_ftp/restful_api/update_group.rb +1 -1
- data/lib/brick_ftp/restful_api/update_group_member.rb +1 -1
- data/lib/brick_ftp/restful_api/update_user.rb +1 -1
- data/lib/brick_ftp/restful_api/upload_file.rb +4 -4
- data/lib/brick_ftp/types/behavior.rb +1 -1
- data/lib/brick_ftp/types/bundle.rb +1 -1
- data/lib/brick_ftp/types/bundle_content.rb +1 -1
- data/lib/brick_ftp/types/bundle_zip.rb +1 -1
- data/lib/brick_ftp/types/file.rb +1 -1
- data/lib/brick_ftp/types/file_in_bundle.rb +1 -1
- data/lib/brick_ftp/types/folder_contents_count.rb +2 -2
- data/lib/brick_ftp/types/group.rb +1 -1
- data/lib/brick_ftp/types/group_membership.rb +1 -1
- data/lib/brick_ftp/types/history.rb +1 -1
- data/lib/brick_ftp/types/notification.rb +1 -1
- data/lib/brick_ftp/types/permission.rb +1 -1
- data/lib/brick_ftp/types/upload.rb +1 -1
- data/lib/brick_ftp/types/user.rb +1 -1
- data/lib/brick_ftp/types/user_api_key.rb +1 -1
- data/lib/brick_ftp/types/user_public_key.rb +1 -1
- data/lib/brick_ftp/version.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 742d808ea0faafa27e7447766e96f3ed29accafeb125802b9760c289d2b08252
|
4
|
+
data.tar.gz: c723a9c56a9e19ef1bf1d1781afd1a41d26ebe0aa97c168fe7e51f0613ebd02c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38c32e3356d422b54ca22d39d73145c766830fc4aec4ee22bc1cbb2da8af63f6a8fa009ed312a9651dfceac77e2aea1abd64d54e427f21a380968c4b80b9c26c
|
7
|
+
data.tar.gz: 4d4c8b7dbe080f6e097f759e0698bc67826abd106d3812ff3cde8af9dab1db039333251385e70532bdd28993611b4640818f615d5c300e2f8264c11f5096ef9c
|
@@ -0,0 +1,14 @@
|
|
1
|
+
FROM ruby:alpine
|
2
|
+
LABEL "com.github.actions.name"="Publish Gem"
|
3
|
+
LABEL "com.github.actions.description"="Publish gem to rubygems.org"
|
4
|
+
LABEL "com.github.actions.icon"="truck"
|
5
|
+
LABEL "com.github.actions.color"="green"
|
6
|
+
LABEL "repository"="https://github.com/koshigoe/brick_ftp"
|
7
|
+
LABEL "homepage"="https://github.com/koshigoe/brick_ftp"
|
8
|
+
LABEL "maintainer"="koshigoe <koshigoeb@gmail.com>"
|
9
|
+
|
10
|
+
RUN apk update -q \
|
11
|
+
&& apk add -q --no-cache curl jq git
|
12
|
+
|
13
|
+
ADD entrypoint.sh /entrypoint.sh
|
14
|
+
ENTRYPOINT ["/entrypoint.sh"]
|
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/bin/ash -eu
|
2
|
+
|
3
|
+
action=$(jq -r '.action' $GITHUB_EVENT_PATH)
|
4
|
+
if [ "$action" != "published" ]; then
|
5
|
+
exit 0
|
6
|
+
fi
|
7
|
+
|
8
|
+
cd $GITHUB_WORKSPACE
|
9
|
+
|
10
|
+
mkdir -p ~/.gem
|
11
|
+
cat <<EOF > ~/.gem/credentials
|
12
|
+
---
|
13
|
+
:rubygems_api_key: $RUBYGEMS_TOKEN
|
14
|
+
EOF
|
15
|
+
chmod 0600 ~/.gem/credentials
|
16
|
+
|
17
|
+
gem build *.gemspec
|
18
|
+
gem push *.gem
|
@@ -0,0 +1,14 @@
|
|
1
|
+
FROM alpine:3.8
|
2
|
+
LABEL "com.github.actions.name"="Write GitHub Release"
|
3
|
+
LABEL "com.github.actions.description"="Write merged PRs into latest GitHub Release"
|
4
|
+
LABEL "com.github.actions.icon"="edit"
|
5
|
+
LABEL "com.github.actions.color"="blue"
|
6
|
+
LABEL "repository"="https://github.com/koshigoe/brick_ftp"
|
7
|
+
LABEL "homepage"="https://github.com/koshigoe/brick_ftp"
|
8
|
+
LABEL "maintainer"="koshigoe <koshigoeb@gmail.com>"
|
9
|
+
|
10
|
+
RUN apk update -q \
|
11
|
+
&& apk add -q --no-cache curl jq
|
12
|
+
|
13
|
+
ADD entrypoint.sh /entrypoint.sh
|
14
|
+
ENTRYPOINT ["/entrypoint.sh"]
|
@@ -0,0 +1,48 @@
|
|
1
|
+
#!/bin/ash -eu
|
2
|
+
|
3
|
+
action=$(jq -r '.action' $GITHUB_EVENT_PATH)
|
4
|
+
if [ "$action" != "published" ]; then
|
5
|
+
exit 0
|
6
|
+
fi
|
7
|
+
|
8
|
+
# Get previous GitHub Release.
|
9
|
+
curl --fail -s \
|
10
|
+
-u $GITHUB_ACTOR:$GITHUB_TOKEN \
|
11
|
+
https://api.github.com/repos/$GITHUB_REPOSITORY/releases \
|
12
|
+
| jq -r '.[1]' \
|
13
|
+
> previous_release.json
|
14
|
+
previous_published_date=$(jq -r '.published_at' previous_release.json)
|
15
|
+
|
16
|
+
# Get latest published date.
|
17
|
+
latest_published_date=$(jq -r '.release.published_at' $GITHUB_EVENT_PATH)
|
18
|
+
|
19
|
+
# Get latest GitHub Release ID.
|
20
|
+
latest_release_id=$(jq -r '.release.id' $GITHUB_EVENT_PATH)
|
21
|
+
|
22
|
+
# Get merged PRs
|
23
|
+
merged_pr_list=$(
|
24
|
+
curl --fail -s \
|
25
|
+
-u $GITHUB_ACTOR:$GITHUB_TOKEN \
|
26
|
+
"https://api.github.com/search/issues?q=repo:${GITHUB_REPOSITORY}+is:pr+base:master+merged:${previous_published_date}..${latest_published_date}" \
|
27
|
+
| jq -r '.items[] | ["- #" + (.number | tostring) + " " + .title] | @tsv' \
|
28
|
+
| sort -k 3)
|
29
|
+
|
30
|
+
# Get comparable tags
|
31
|
+
previous_tag_name=$(jq -r '.tag_name' previous_release.json)
|
32
|
+
latest_tag_name=$(jq -r '.release.tag_name' $GITHUB_EVENT_PATH)
|
33
|
+
|
34
|
+
# Make release note.
|
35
|
+
release_note=$(cat <<EOF | sed ':a;N;$!ba;s/\n/\\n/g')
|
36
|
+
https://github.com/$GITHUB_REPOSITORY/compare/${previous_tag_name}...${latest_tag_name}
|
37
|
+
|
38
|
+
### Merged
|
39
|
+
|
40
|
+
$merged_pr_list
|
41
|
+
EOF
|
42
|
+
|
43
|
+
# Update body of latest GitHub Release.
|
44
|
+
curl --fail -s \
|
45
|
+
-u $GITHUB_ACTOR:$GITHUB_TOKEN \
|
46
|
+
-X PATCH \
|
47
|
+
-d "{\"body\":\"${release_note}\"}" \
|
48
|
+
https://api.github.com/repos/$GITHUB_REPOSITORY/releases/$latest_release_id
|
@@ -0,0 +1,14 @@
|
|
1
|
+
workflow "Release" {
|
2
|
+
on = "release"
|
3
|
+
resolves = ["Write GitHub Release", "Publish Gem"]
|
4
|
+
}
|
5
|
+
|
6
|
+
action "Write GitHub Release" {
|
7
|
+
uses = "./.github/action/write_github_release"
|
8
|
+
secrets = ["GITHUB_TOKEN"]
|
9
|
+
}
|
10
|
+
|
11
|
+
action "Publish Gem" {
|
12
|
+
uses = "./.github/action/publish_gem"
|
13
|
+
secrets = ["GITHUB_TOKEN", "RUBYGEMS_TOKEN"]
|
14
|
+
}
|
data/CHANGELOG.md
CHANGED
@@ -2,10 +2,10 @@ Changelog
|
|
2
2
|
====
|
3
3
|
|
4
4
|
|
5
|
-
[unreleased](https://github.com/koshigoe/brick_ftp/compare/
|
5
|
+
[unreleased](https://github.com/koshigoe/brick_ftp/compare/v2.0.0...master)
|
6
6
|
----
|
7
7
|
|
8
|
-
[Full Changelog](https://github.com/koshigoe/brick_ftp/compare/
|
8
|
+
[Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v2.0.0...master)
|
9
9
|
|
10
10
|
### Enhancements:
|
11
11
|
|
@@ -14,6 +14,21 @@ Changelog
|
|
14
14
|
### Breaking Changes:
|
15
15
|
|
16
16
|
|
17
|
+
[v2.0.0](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...v2.0.0)
|
18
|
+
----
|
19
|
+
|
20
|
+
[Full Changelog](https://github.com/koshigoe/brick_ftp/compare/v1.0.1...v2.0.0)
|
21
|
+
|
22
|
+
### Enhancements:
|
23
|
+
|
24
|
+
- [#119](https://github.com/koshigoe/brick_ftp/pull/119) Change domain of API endpoint.
|
25
|
+
- _**Please check your SSL cert of new custom domain before update this gem.**_
|
26
|
+
|
27
|
+
### Fixed Bugs:
|
28
|
+
|
29
|
+
### Breaking Changes:
|
30
|
+
|
31
|
+
|
17
32
|
[v1.0.1](https://github.com/koshigoe/brick_ftp/compare/v1.0.0...v1.0.1)
|
18
33
|
----
|
19
34
|
|
data/README.md
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
[![codecov](https://codecov.io/gh/koshigoe/brick_ftp/branch/master/graph/badge.svg)](https://codecov.io/gh/koshigoe/brick_ftp)
|
3
3
|
|
4
4
|
|
5
|
-
BrickFTP
|
5
|
+
Files.com (BrickFTP)
|
6
6
|
====
|
7
7
|
|
8
|
-
This is a [BrickFTP](https://
|
8
|
+
This is a [File.com (BrickFTP)](https://files.com/)'s _unofficial_ [RESTful API](https://developers.files.com/) Client.
|
9
9
|
|
10
10
|
|
11
11
|
Installation
|
data/lib/brick_ftp.rb
CHANGED
@@ -5,7 +5,7 @@ module BrickFTP
|
|
5
5
|
autoload :Client, 'brick_ftp/restful_api/client'
|
6
6
|
autoload :Command, 'brick_ftp/restful_api/command'
|
7
7
|
autoload :GetSiteUsage, 'brick_ftp/restful_api/get_site_usage'
|
8
|
-
# ref. https://developers.
|
8
|
+
# ref. https://developers.files.com/#users
|
9
9
|
autoload :ListUsers, 'brick_ftp/restful_api/list_users'
|
10
10
|
autoload :CountUsers, 'brick_ftp/restful_api/count_users'
|
11
11
|
autoload :SearchUser, 'brick_ftp/restful_api/search_user'
|
@@ -14,17 +14,17 @@ module BrickFTP
|
|
14
14
|
autoload :UpdateUser, 'brick_ftp/restful_api/update_user'
|
15
15
|
autoload :DeleteUser, 'brick_ftp/restful_api/delete_user'
|
16
16
|
autoload :UnlockUser, 'brick_ftp/restful_api/unlock_user'
|
17
|
-
# ref. https://developers.
|
17
|
+
# ref. https://developers.files.com/#user-api-keys
|
18
18
|
autoload :ListAPIKeys, 'brick_ftp/restful_api/list_api_keys'
|
19
19
|
autoload :GetAPIKey, 'brick_ftp/restful_api/get_api_key'
|
20
20
|
autoload :CreateAPIKey, 'brick_ftp/restful_api/create_api_key'
|
21
21
|
autoload :DeleteAPIKey, 'brick_ftp/restful_api/delete_api_key'
|
22
|
-
# ref. https://developers.
|
22
|
+
# ref. https://developers.files.com/#user-public-keys
|
23
23
|
autoload :ListPublicKeys, 'brick_ftp/restful_api/list_public_keys'
|
24
24
|
autoload :GetPublicKey, 'brick_ftp/restful_api/get_public_key'
|
25
25
|
autoload :CreatePublicKey, 'brick_ftp/restful_api/create_public_key'
|
26
26
|
autoload :DeletePublicKey, 'brick_ftp/restful_api/delete_public_key'
|
27
|
-
# ref. https://developers.
|
27
|
+
# ref. https://developers.files.com/#groups
|
28
28
|
autoload :ListGroups, 'brick_ftp/restful_api/list_groups'
|
29
29
|
autoload :GetGroup, 'brick_ftp/restful_api/get_group'
|
30
30
|
autoload :CreateGroup, 'brick_ftp/restful_api/create_group'
|
@@ -34,22 +34,22 @@ module BrickFTP
|
|
34
34
|
autoload :AddGroupMember, 'brick_ftp/restful_api/add_group_member'
|
35
35
|
autoload :UpdateGroupMember, 'brick_ftp/restful_api/update_group_member'
|
36
36
|
autoload :RemoveGroupMember, 'brick_ftp/restful_api/remove_group_member'
|
37
|
-
# ref. https://developers.
|
37
|
+
# ref. https://developers.files.com/#permissions
|
38
38
|
autoload :ListPermissions, 'brick_ftp/restful_api/list_permissions'
|
39
39
|
autoload :CreatePermission, 'brick_ftp/restful_api/create_permission'
|
40
40
|
autoload :DeletePermission, 'brick_ftp/restful_api/delete_permission'
|
41
|
-
# ref. https://developers.
|
41
|
+
# ref. https://developers.files.com/#notifications
|
42
42
|
autoload :ListNotifications, 'brick_ftp/restful_api/list_notifications'
|
43
43
|
autoload :CreateNotification, 'brick_ftp/restful_api/create_notification'
|
44
44
|
autoload :DeleteNotification, 'brick_ftp/restful_api/delete_notification'
|
45
|
-
# ref. https://developers.
|
45
|
+
# ref. https://developers.files.com/#history
|
46
46
|
autoload :RetrieveHistory, 'brick_ftp/restful_api/retrieve_history'
|
47
47
|
autoload :RetrieveSiteHistory, 'brick_ftp/restful_api/retrieve_site_history'
|
48
48
|
autoload :RetrieveLoginHistory, 'brick_ftp/restful_api/retrieve_login_history'
|
49
49
|
autoload :RetrieveUserHistory, 'brick_ftp/restful_api/retrieve_user_history'
|
50
50
|
autoload :RetrieveFolderHistory, 'brick_ftp/restful_api/retrieve_folder_history'
|
51
51
|
autoload :RetrieveFileHistory, 'brick_ftp/restful_api/retrieve_file_history'
|
52
|
-
# ref. https://developers.
|
52
|
+
# ref. https://developers.files.com/#bundles
|
53
53
|
autoload :ListBundles, 'brick_ftp/restful_api/list_bundles'
|
54
54
|
autoload :GetBundle, 'brick_ftp/restful_api/get_bundle'
|
55
55
|
autoload :CreateBundle, 'brick_ftp/restful_api/create_bundle'
|
@@ -57,14 +57,14 @@ module BrickFTP
|
|
57
57
|
autoload :ListBundleContents, 'brick_ftp/restful_api/list_bundle_contents'
|
58
58
|
autoload :GetFileInBundle, 'brick_ftp/restful_api/get_file_in_bundle'
|
59
59
|
autoload :GetBundleZip, 'brick_ftp/restful_api/get_bundle_zip'
|
60
|
-
# ref. https://developers.
|
60
|
+
# ref. https://developers.files.com/#behaviors
|
61
61
|
autoload :ListBehaviors, 'brick_ftp/restful_api/list_behaviors'
|
62
62
|
autoload :ListFolderBehaviors, 'brick_ftp/restful_api/list_folder_behaviors'
|
63
63
|
autoload :GetBehavior, 'brick_ftp/restful_api/get_behavior'
|
64
64
|
autoload :CreateBehavior, 'brick_ftp/restful_api/create_behavior'
|
65
65
|
autoload :UpdateBehavior, 'brick_ftp/restful_api/update_behavior'
|
66
66
|
autoload :DeleteBehavior, 'brick_ftp/restful_api/delete_behavior'
|
67
|
-
# ref. https://developers.
|
67
|
+
# ref. https://developers.files.com/#file-and-folder-operations
|
68
68
|
autoload :ListFolders, 'brick_ftp/restful_api/list_folders'
|
69
69
|
autoload :CreateFolder, 'brick_ftp/restful_api/create_folder'
|
70
70
|
autoload :CountFolderContents, 'brick_ftp/restful_api/count_folder_contents'
|
@@ -73,7 +73,7 @@ module BrickFTP
|
|
73
73
|
autoload :MoveFolder, 'brick_ftp/restful_api/move_folder'
|
74
74
|
autoload :CopyFolder, 'brick_ftp/restful_api/copy_folder'
|
75
75
|
autoload :DeleteFolder, 'brick_ftp/restful_api/delete_folder'
|
76
|
-
# ref. https://developers.
|
76
|
+
# ref. https://developers.files.com/#file-uploading
|
77
77
|
autoload :StartUpload, 'brick_ftp/restful_api/start_upload'
|
78
78
|
autoload :ContinueUpload, 'brick_ftp/restful_api/continue_upload'
|
79
79
|
autoload :CompleteUpload, 'brick_ftp/restful_api/complete_upload'
|
@@ -13,7 +13,7 @@ module BrickFTP
|
|
13
13
|
READ_TIMEOUT = 60
|
14
14
|
USER_AGENT = 'BrickFTP Client/1.0 (https://github.com/koshigoe/brick_ftp)'
|
15
15
|
|
16
|
-
# ref. https://developers.
|
16
|
+
# ref. https://developers.files.com/#errors
|
17
17
|
ErrorResponse = Struct.new(
|
18
18
|
'RESTfulAPIErrorResponse',
|
19
19
|
:error,
|
@@ -39,7 +39,7 @@ module BrickFTP
|
|
39
39
|
# @param [String] api_key
|
40
40
|
#
|
41
41
|
def initialize(subdomain, api_key)
|
42
|
-
@http = Net::HTTP.new("#{subdomain}.
|
42
|
+
@http = Net::HTTP.new("#{subdomain}.files.com", 443)
|
43
43
|
@http.use_ssl = true
|
44
44
|
@http.open_timeout = OPEN_TIMEOUT
|
45
45
|
@http.read_timeout = READ_TIMEOUT
|
@@ -6,7 +6,7 @@ module BrickFTP
|
|
6
6
|
module RESTfulAPI
|
7
7
|
# Requesting additional upload URLs
|
8
8
|
#
|
9
|
-
# @see https://developers.
|
9
|
+
# @see https://developers.files.com/#requesting-additional-upload-urls Requesting additional upload URLs
|
10
10
|
#
|
11
11
|
# ### Params
|
12
12
|
#
|
@@ -6,8 +6,8 @@ module BrickFTP
|
|
6
6
|
module RESTfulAPI
|
7
7
|
# Count folder contents
|
8
8
|
#
|
9
|
-
# @see https://developers.
|
10
|
-
# @see https://developers.
|
9
|
+
# @see https://developers.files.com/#count-folder-contents-recursively Count folder contents recursively
|
10
|
+
# @see https://developers.files.com/#count-folder-contents-non-recursively Count folder contents non-recursively
|
11
11
|
#
|
12
12
|
class CountFolderContents
|
13
13
|
include Command
|
@@ -4,7 +4,7 @@ module BrickFTP
|
|
4
4
|
module RESTfulAPI
|
5
5
|
# Create a user in a group
|
6
6
|
#
|
7
|
-
# @see https://developers.
|
7
|
+
# @see https://developers.files.com/#create-a-user-in-a-groupCreate a user in a group
|
8
8
|
#
|
9
9
|
# ### Params
|
10
10
|
#
|