dropbox_api 0.1.16 → 0.1.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.rubocop.yml +15 -0
- data/.travis.yml +0 -2
- data/Gemfile +26 -1
- data/README.md +120 -24
- data/Rakefile +4 -3
- data/TODO.md +24 -7
- data/api_coverage.md +8 -8
- data/bin/console +4 -3
- data/docs/DropboxApi/Authenticator.html +14 -20
- data/docs/DropboxApi/ChunkedUploader.html +20 -20
- data/docs/DropboxApi/Client.html +3446 -992
- data/docs/DropboxApi/ConnectionBuilder.html +266 -31
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +13 -13
- data/docs/DropboxApi/Endpoints/Auth.html +6 -6
- data/docs/DropboxApi/Endpoints/Base.html +92 -11
- data/docs/DropboxApi/Endpoints/ContentDownload.html +37 -48
- data/docs/DropboxApi/Endpoints/ContentUpload.html +35 -46
- data/docs/DropboxApi/Endpoints/Files/Copy.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +359 -0
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +13 -13
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +377 -0
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +308 -0
- data/docs/DropboxApi/Endpoints/Files/Delete.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +305 -0
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +307 -0
- data/docs/DropboxApi/Endpoints/Files/Download.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +19 -19
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +39 -20
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +13 -13
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Move.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Restore.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/Search.html +51 -99
- data/docs/DropboxApi/Endpoints/Files/SearchContinue.html +300 -0
- data/docs/DropboxApi/Endpoints/Files/Upload.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +14 -14
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +15 -15
- data/docs/DropboxApi/Endpoints/Files.html +8 -8
- data/docs/DropboxApi/Endpoints/Rpc.html +36 -47
- data/docs/DropboxApi/Endpoints/RpcContent.html +28 -33
- data/docs/DropboxApi/Endpoints/RpcNotify.html +28 -33
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +110 -19
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +15 -15
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +13 -13
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +293 -0
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +14 -14
- data/docs/DropboxApi/Endpoints/Sharing.html +8 -8
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +14 -14
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +14 -14
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +13 -13
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +13 -13
- data/docs/DropboxApi/Endpoints/Users.html +6 -6
- data/docs/DropboxApi/Endpoints.html +6 -6
- data/docs/DropboxApi/Errors/AddFileMemberError.html +10 -10
- data/docs/DropboxApi/Errors/AddFolderMemberError.html +16 -16
- data/docs/DropboxApi/Errors/AddMemberSelectorError.html +11 -11
- data/docs/DropboxApi/Errors/AlreadySharedError.html +9 -9
- data/docs/DropboxApi/Errors/BadPathError.html +6 -6
- data/docs/DropboxApi/Errors/BasicError.html +18 -18
- data/docs/DropboxApi/Errors/CantCopySharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/CantMoveFolderIntoItselfError.html +6 -6
- data/docs/DropboxApi/Errors/CantNestSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/CantShareOutsideTeamError.html +6 -6
- data/docs/DropboxApi/Errors/ContainsSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/ConversionError.html +6 -6
- data/docs/DropboxApi/Errors/CreateFileRequestError.html +6 -6
- data/docs/DropboxApi/Errors/CreateFolderBatchError.html +161 -0
- data/docs/DropboxApi/Errors/CreateFolderError.html +7 -7
- data/docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html +11 -11
- data/docs/DropboxApi/Errors/CursorClosedError.html +6 -6
- data/docs/DropboxApi/Errors/CursorNotClosedError.html +6 -6
- data/docs/DropboxApi/Errors/DeleteError.html +9 -8
- data/docs/DropboxApi/Errors/DisallowedNameError.html +6 -6
- data/docs/DropboxApi/Errors/DisallowedSharedLinkPolicyError.html +6 -6
- data/docs/DropboxApi/Errors/DownloadError.html +7 -7
- data/docs/DropboxApi/Errors/DownloadFailedError.html +6 -6
- data/docs/DropboxApi/Errors/EmailUnverifiedError.html +6 -6
- data/docs/DropboxApi/Errors/ExpiredAccessTokenError.html +143 -0
- data/docs/DropboxApi/Errors/FileAncestorConflictError.html +6 -6
- data/docs/DropboxApi/Errors/FileConflictError.html +6 -6
- data/docs/DropboxApi/Errors/FileMemberActionError.html +10 -10
- data/docs/DropboxApi/Errors/FolderConflictError.html +6 -6
- data/docs/DropboxApi/Errors/GetAccountError.html +7 -7
- data/docs/DropboxApi/Errors/GetCopyReferenceError.html +7 -7
- data/docs/DropboxApi/Errors/GetMetadataError.html +7 -7
- data/docs/DropboxApi/Errors/GroupDeletedError.html +6 -6
- data/docs/DropboxApi/Errors/GroupNotOnTeamError.html +6 -6
- data/docs/DropboxApi/Errors/HttpError.html +6 -6
- data/docs/DropboxApi/Errors/InProgressError.html +6 -6
- data/docs/DropboxApi/Errors/InsideAppFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsideOsxPackageError.html +6 -6
- data/docs/DropboxApi/Errors/InsidePublicFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsideSharedFolderError.html +6 -6
- data/docs/DropboxApi/Errors/InsufficientPlanError.html +6 -6
- data/docs/DropboxApi/Errors/InsufficientSpaceError.html +6 -6
- data/docs/DropboxApi/Errors/InternalError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCommentError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCopyReferenceError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidCursorError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidDropboxIdError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidEmailError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidFileError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidIdError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidMemberError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidPathError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidRevisionError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidSettingsError.html +6 -6
- data/docs/DropboxApi/Errors/InvalidUrlError.html +6 -6
- data/docs/DropboxApi/Errors/IsAppFolderError.html +6 -6
- data/docs/DropboxApi/Errors/IsFileError.html +6 -6
- data/docs/DropboxApi/Errors/IsFolderError.html +6 -6
- data/docs/DropboxApi/Errors/IsOsxPackageError.html +6 -6
- data/docs/DropboxApi/Errors/IsPublicFolderError.html +6 -6
- data/docs/DropboxApi/Errors/ListFolderContinueError.html +8 -8
- data/docs/DropboxApi/Errors/ListFolderError.html +7 -7
- data/docs/DropboxApi/Errors/ListFolderLongpollError.html +7 -7
- data/docs/DropboxApi/Errors/ListRevisionsError.html +7 -7
- data/docs/DropboxApi/Errors/ListSharedLinksError.html +8 -8
- data/docs/DropboxApi/Errors/LookupError.html +11 -11
- data/docs/DropboxApi/Errors/MalformedPathError.html +6 -6
- data/docs/DropboxApi/Errors/NoAccountError.html +6 -6
- data/docs/DropboxApi/Errors/NoPermissionError.html +6 -6
- data/docs/DropboxApi/Errors/NoWritePermissionError.html +6 -6
- data/docs/DropboxApi/Errors/NotAMemberError.html +6 -6
- data/docs/DropboxApi/Errors/NotFileError.html +6 -6
- data/docs/DropboxApi/Errors/NotFolderError.html +6 -6
- data/docs/DropboxApi/Errors/NotFoundError.html +6 -6
- data/docs/DropboxApi/Errors/PollError.html +8 -8
- data/docs/DropboxApi/Errors/PreviewError.html +10 -10
- data/docs/DropboxApi/Errors/RateLimitError.html +6 -6
- data/docs/DropboxApi/Errors/RelocationBatchEntryError.html +163 -0
- data/docs/DropboxApi/Errors/RelocationError.html +13 -13
- data/docs/DropboxApi/Errors/RestoreError.html +9 -9
- data/docs/DropboxApi/Errors/RestrictedContentError.html +6 -6
- data/docs/DropboxApi/Errors/RevokeSharedLinkError.html +164 -0
- data/docs/DropboxApi/Errors/SaveCopyReferenceError.html +11 -11
- data/docs/DropboxApi/Errors/SaveUrlError.html +10 -10
- data/docs/DropboxApi/Errors/SearchError.html +7 -7
- data/docs/DropboxApi/Errors/SettingsError.html +8 -8
- data/docs/DropboxApi/Errors/ShareFolderError.html +11 -11
- data/docs/DropboxApi/Errors/SharePathError.html +17 -17
- data/docs/DropboxApi/Errors/SharedFolderAccessError.html +10 -10
- data/docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html +6 -6
- data/docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html +6 -6
- data/docs/DropboxApi/Errors/SharedLinkError.html +9 -9
- data/docs/DropboxApi/Errors/SharedLinkMalformedError.html +143 -0
- data/docs/DropboxApi/Errors/SharedLinkNotFoundError.html +6 -6
- data/docs/DropboxApi/Errors/SharingFileAccessError.html +11 -11
- data/docs/DropboxApi/Errors/SharingUserError.html +7 -7
- data/docs/DropboxApi/Errors/TeamFolderError.html +6 -6
- data/docs/DropboxApi/Errors/TeamPolicyDisallowsMemberPolicyError.html +6 -6
- data/docs/DropboxApi/Errors/ThumbnailBatchError.html +7 -7
- data/docs/DropboxApi/Errors/ThumbnailError.html +10 -10
- data/docs/DropboxApi/Errors/TooManyFilesError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyMembersError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyPendingInvitesError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyRequestsError.html +15 -15
- data/docs/DropboxApi/Errors/TooManySharedFolderTargetsError.html +6 -6
- data/docs/DropboxApi/Errors/TooManyWriteOperationsError.html +6 -6
- data/docs/DropboxApi/Errors/UnmountedError.html +6 -6
- data/docs/DropboxApi/Errors/UnshareFileError.html +8 -8
- data/docs/DropboxApi/Errors/UnsupportedContentError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedExtensionError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedImageError.html +6 -6
- data/docs/DropboxApi/Errors/UnsupportedLinkTypeError.html +6 -6
- data/docs/DropboxApi/Errors/UnverifiedDropboxId.html +6 -6
- data/docs/DropboxApi/Errors/UploadError.html +7 -7
- data/docs/DropboxApi/Errors/UploadSessionFinishError.html +9 -9
- data/docs/DropboxApi/Errors/UploadSessionLookupError.html +10 -10
- data/docs/DropboxApi/Errors/UploadSessionOffsetError.html +10 -10
- data/docs/DropboxApi/Errors/UploadWriteFailedError.html +7 -7
- data/docs/DropboxApi/Errors/WriteConflictError.html +9 -9
- data/docs/DropboxApi/Errors/WriteError.html +11 -11
- data/docs/DropboxApi/Errors.html +8 -8
- data/docs/DropboxApi/Metadata/AccessLevel.html +9 -9
- data/docs/DropboxApi/Metadata/AddFileMemberResult.html +6 -6
- data/docs/DropboxApi/Metadata/AddMember.html +11 -11
- data/docs/DropboxApi/Metadata/Base.html +24 -24
- data/docs/DropboxApi/Metadata/BasicAccount.html +12 -7
- data/docs/DropboxApi/Metadata/CommitInfo.html +9 -9
- data/docs/DropboxApi/Metadata/Deleted.html +6 -6
- data/docs/DropboxApi/Metadata/Dimensions.html +6 -6
- data/docs/DropboxApi/Metadata/Field.html +24 -20
- data/docs/DropboxApi/Metadata/File.html +10 -10
- data/docs/DropboxApi/Metadata/FileCategoriesList.html +205 -0
- data/docs/DropboxApi/Metadata/FileCategory.html +250 -0
- data/docs/DropboxApi/Metadata/FileExtensionsList.html +213 -0
- data/docs/DropboxApi/Metadata/FileLinkMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/FileMemberAction.html +10 -10
- data/docs/DropboxApi/Metadata/FileRequest.html +6 -6
- data/docs/DropboxApi/Metadata/FileStatus.html +242 -0
- data/docs/DropboxApi/Metadata/Folder.html +10 -10
- data/docs/DropboxApi/Metadata/FolderLinkMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/FolderSharingInfo.html +6 -6
- data/docs/DropboxApi/Metadata/LinkPermissions.html +6 -6
- data/docs/DropboxApi/Metadata/Location.html +6 -6
- data/docs/DropboxApi/Metadata/MediaInfo.html +9 -9
- data/docs/DropboxApi/Metadata/MediaMetadata.html +9 -9
- data/docs/DropboxApi/Metadata/Member.html +13 -13
- data/docs/DropboxApi/Metadata/MemberAction.html +9 -9
- data/docs/DropboxApi/Metadata/MemberActionList.html +9 -9
- data/docs/DropboxApi/Metadata/MemberPermission.html +6 -6
- data/docs/DropboxApi/Metadata/MemberPermissionList.html +10 -10
- data/docs/DropboxApi/Metadata/MetadataV2.html +140 -0
- data/docs/DropboxApi/Metadata/Name.html +6 -6
- data/docs/DropboxApi/Metadata/NamespaceId.html +210 -0
- data/docs/DropboxApi/Metadata/ParentFolderAccessInfo.html +6 -6
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/Resource.html +10 -10
- data/docs/DropboxApi/Metadata/RootInfo.html +227 -0
- data/docs/DropboxApi/Metadata/SearchMatchFieldOptions.html +140 -0
- data/docs/DropboxApi/Metadata/SearchMatchTypeV2.html +244 -0
- data/docs/DropboxApi/Metadata/SearchMatchV2.html +216 -0
- data/docs/DropboxApi/Metadata/SearchOptions.html +140 -0
- data/docs/DropboxApi/Metadata/SearchOrderBy.html +242 -0
- data/docs/DropboxApi/Metadata/SharedFolder.html +6 -6
- data/docs/DropboxApi/Metadata/SharedFolderPolicy.html +6 -6
- data/docs/DropboxApi/Metadata/SharedLink.html +18 -18
- data/docs/DropboxApi/Metadata/SharedLinkMetadata.html +10 -10
- data/docs/DropboxApi/Metadata/SpaceAllocation.html +6 -6
- data/docs/DropboxApi/Metadata/SpaceUsage.html +6 -6
- data/docs/DropboxApi/Metadata/Tag.html +14 -14
- data/docs/DropboxApi/Metadata/Team.html +6 -6
- data/docs/DropboxApi/Metadata/TeamMemberInfo.html +6 -6
- data/docs/DropboxApi/Metadata/TeamRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultData.html +6 -6
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
- data/docs/DropboxApi/Metadata/UserRootInfo.html +140 -0
- data/docs/DropboxApi/Metadata/VideoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/WriteMode.html +21 -21
- data/docs/DropboxApi/Metadata.html +8 -8
- data/docs/DropboxApi/MiddleWare/DecodeResult.html +13 -13
- data/docs/DropboxApi/MiddleWare/PathRoot.html +412 -0
- data/docs/DropboxApi/MiddleWare/Stack.html +22 -22
- data/docs/DropboxApi/MiddleWare.html +8 -8
- data/docs/DropboxApi/OptionsValidator.html +10 -10
- data/docs/DropboxApi/ResultBuilder.html +30 -30
- data/docs/DropboxApi/Results/AddFileMemberResultList.html +10 -10
- data/docs/DropboxApi/Results/Base.html +11 -11
- data/docs/DropboxApi/Results/BasicAccountBatch.html +10 -10
- data/docs/DropboxApi/Results/CopyBatchResult.html +224 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +241 -0
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +234 -0
- data/docs/DropboxApi/Results/DeleteBatchResult.html +241 -0
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/GetCopyReferenceResult.html +18 -18
- data/docs/DropboxApi/Results/GetTemporaryLinkResult.html +14 -14
- data/docs/DropboxApi/Results/GetThumbnailBatchResult.html +10 -10
- data/docs/DropboxApi/Results/ListFolderGetLatestCursorResult.html +10 -10
- data/docs/DropboxApi/Results/ListFolderLongpollResult.html +14 -14
- data/docs/DropboxApi/Results/ListFolderResult.html +18 -18
- data/docs/DropboxApi/Results/ListRevisionsResult.html +14 -14
- data/docs/DropboxApi/Results/ListSharedLinksResult.html +18 -18
- data/docs/DropboxApi/Results/RelocationBatchResult.html +241 -0
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +226 -0
- data/docs/DropboxApi/Results/SaveCopyReferenceResult.html +10 -10
- data/docs/DropboxApi/Results/SaveUrlJobStatus.html +15 -15
- data/docs/DropboxApi/Results/SaveUrlResult.html +10 -10
- data/docs/DropboxApi/Results/Search/Match.html +18 -18
- data/docs/DropboxApi/Results/Search.html +6 -6
- data/docs/DropboxApi/Results/SearchResult.html +3 -3
- data/docs/DropboxApi/Results/SearchV2Result.html +368 -0
- data/docs/DropboxApi/Results/ShareFolderLaunch.html +12 -12
- data/docs/DropboxApi/Results/SharedFileMembers.html +22 -22
- data/docs/DropboxApi/Results/SharedFolderMembers.html +22 -22
- data/docs/DropboxApi/Results/UploadSessionStart.html +10 -10
- data/docs/DropboxApi/Results/VoidResult.html +6 -6
- data/docs/DropboxApi/Results.html +8 -8
- data/docs/DropboxApi.html +7 -7
- data/docs/DropboxScaffoldBuilder.html +269 -102
- data/docs/_index.html +261 -16
- data/docs/class_list.html +3 -3
- data/docs/css/common.css +3 -0
- data/docs/css/style.css +3 -2
- data/docs/file.README.html +134 -43
- data/docs/file.api_coverage.html +21 -21
- data/docs/file.rails_setup.html +10 -10
- data/docs/file_list.html +2 -2
- data/docs/frames.html +2 -2
- data/docs/index.html +134 -43
- data/docs/js/app.js +25 -3
- data/docs/method_list.html +598 -238
- data/docs/top-level-namespace.html +6 -6
- data/dropbox_api.gemspec +11 -16
- data/lib/dropbox_api/authenticator.rb +5 -8
- data/lib/dropbox_api/chunked_uploader.rb +2 -1
- data/lib/dropbox_api/client.rb +24 -2
- data/lib/dropbox_api/connection_builder.rb +39 -4
- data/lib/dropbox_api/endpoints/auth/token_revoke.rb +2 -1
- data/lib/dropbox_api/endpoints/base.rb +31 -5
- data/lib/dropbox_api/endpoints/content_download.rb +5 -7
- data/lib/dropbox_api/endpoints/content_upload.rb +3 -2
- data/lib/dropbox_api/endpoints/file_requests/create_file_request.rb +2 -1
- data/lib/dropbox_api/endpoints/files/copy.rb +4 -3
- data/lib/dropbox_api/endpoints/files/copy_batch.rb +36 -0
- data/lib/dropbox_api/endpoints/files/copy_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/copy_reference_get.rb +3 -2
- data/lib/dropbox_api/endpoints/files/copy_reference_save.rb +4 -3
- data/lib/dropbox_api/endpoints/files/create_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/create_folder_batch.rb +41 -0
- data/lib/dropbox_api/endpoints/files/create_folder_batch_check.rb +22 -0
- data/lib/dropbox_api/endpoints/files/delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/delete_batch.rb +23 -0
- data/lib/dropbox_api/endpoints/files/delete_batch_check.rb +21 -0
- data/lib/dropbox_api/endpoints/files/download.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_preview.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_temporary_link.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail.rb +3 -2
- data/lib/dropbox_api/endpoints/files/get_thumbnail_batch.rb +4 -3
- data/lib/dropbox_api/endpoints/files/list_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_continue.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb +2 -1
- data/lib/dropbox_api/endpoints/files/list_folder_longpoll.rb +3 -2
- data/lib/dropbox_api/endpoints/files/list_revisions.rb +3 -2
- data/lib/dropbox_api/endpoints/files/move.rb +4 -3
- data/lib/dropbox_api/endpoints/files/permanently_delete.rb +3 -2
- data/lib/dropbox_api/endpoints/files/restore.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url.rb +4 -3
- data/lib/dropbox_api/endpoints/files/save_url_check_job_status.rb +3 -2
- data/lib/dropbox_api/endpoints/files/search.rb +16 -27
- data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
- data/lib/dropbox_api/endpoints/files/upload.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_append_v2.rb +3 -2
- data/lib/dropbox_api/endpoints/files/upload_session_finish.rb +4 -3
- data/lib/dropbox_api/endpoints/files/upload_session_start.rb +4 -3
- data/lib/dropbox_api/endpoints/rpc.rb +3 -2
- data/lib/dropbox_api/endpoints/rpc_content.rb +3 -2
- data/lib/dropbox_api/endpoints/rpc_notify.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_file_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/add_folder_member.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/create_shared_link_with_settings.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/get_shared_link_metadata.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/list_file_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_folder_members.rb +4 -3
- data/lib/dropbox_api/endpoints/sharing/list_shared_links.rb +2 -1
- data/lib/dropbox_api/endpoints/sharing/revoke_shared_link.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/share_folder.rb +3 -2
- data/lib/dropbox_api/endpoints/sharing/unshare_file.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_account_batch.rb +3 -2
- data/lib/dropbox_api/endpoints/users/get_current_account.rb +2 -1
- data/lib/dropbox_api/endpoints/users/get_space_usage.rb +2 -1
- data/lib/dropbox_api/endpoints/virtual/upload_by_chunks.rb +1 -0
- data/lib/dropbox_api/errors/add_file_member_error.rb +5 -4
- data/lib/dropbox_api/errors/add_folder_member_error.rb +11 -10
- data/lib/dropbox_api/errors/add_member_selector_error.rb +6 -5
- data/lib/dropbox_api/errors/already_shared_error.rb +1 -0
- data/lib/dropbox_api/errors/basic_error.rb +2 -1
- data/lib/dropbox_api/errors/create_file_request_error.rb +1 -0
- data/lib/dropbox_api/errors/create_folder_batch_error.rb +8 -0
- data/lib/dropbox_api/errors/create_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/create_shared_link_with_settings_error.rb +6 -5
- data/lib/dropbox_api/errors/delete_error.rb +5 -3
- data/lib/dropbox_api/errors/download_error.rb +2 -1
- data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
- data/lib/dropbox_api/errors/file_member_action_error.rb +5 -4
- data/lib/dropbox_api/errors/get_account_error.rb +2 -1
- data/lib/dropbox_api/errors/get_copy_reference_error.rb +2 -1
- data/lib/dropbox_api/errors/get_metadata_error.rb +2 -1
- data/lib/dropbox_api/errors/http_error.rb +1 -0
- data/lib/dropbox_api/errors/list_folder_continue_error.rb +3 -2
- data/lib/dropbox_api/errors/list_folder_error.rb +2 -1
- data/lib/dropbox_api/errors/list_folder_longpoll_error.rb +2 -1
- data/lib/dropbox_api/errors/list_revisions_error.rb +2 -1
- data/lib/dropbox_api/errors/list_shared_links_error.rb +3 -2
- data/lib/dropbox_api/errors/lookup_error.rb +6 -5
- data/lib/dropbox_api/errors/poll_error.rb +3 -2
- data/lib/dropbox_api/errors/preview_error.rb +5 -4
- data/lib/dropbox_api/errors/relocation_batch_entry_error.rb +10 -0
- data/lib/dropbox_api/errors/relocation_error.rb +8 -7
- data/lib/dropbox_api/errors/restore_error.rb +4 -3
- data/lib/dropbox_api/errors/revoke_shared_link_error.rb +5 -4
- data/lib/dropbox_api/errors/save_copy_reference_error.rb +6 -5
- data/lib/dropbox_api/errors/save_url_error.rb +5 -4
- data/lib/dropbox_api/errors/search_error.rb +2 -1
- data/lib/dropbox_api/errors/settings_error.rb +3 -2
- data/lib/dropbox_api/errors/share_folder_error.rb +6 -5
- data/lib/dropbox_api/errors/share_path_error.rb +12 -11
- data/lib/dropbox_api/errors/shared_folder_access_error.rb +5 -4
- data/lib/dropbox_api/errors/shared_link_error.rb +4 -3
- data/lib/dropbox_api/errors/sharing_file_access_error.rb +6 -5
- data/lib/dropbox_api/errors/sharing_user_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_batch_error.rb +2 -1
- data/lib/dropbox_api/errors/thumbnail_error.rb +5 -4
- data/lib/dropbox_api/errors/too_many_requests_error.rb +3 -2
- data/lib/dropbox_api/errors/unshare_file_error.rb +3 -2
- data/lib/dropbox_api/errors/upload_error.rb +2 -1
- data/lib/dropbox_api/errors/upload_session_finish_error.rb +4 -3
- data/lib/dropbox_api/errors/upload_session_lookup_error.rb +5 -4
- data/lib/dropbox_api/errors/upload_session_offset_error.rb +1 -0
- data/lib/dropbox_api/errors/upload_write_failed_error.rb +2 -1
- data/lib/dropbox_api/errors/write_conflict_error.rb +4 -3
- data/lib/dropbox_api/errors/write_error.rb +6 -5
- data/lib/dropbox_api/metadata/access_level.rb +1 -0
- data/lib/dropbox_api/metadata/add_file_member_result.rb +1 -0
- data/lib/dropbox_api/metadata/add_member.rb +3 -2
- data/lib/dropbox_api/metadata/base.rb +2 -1
- data/lib/dropbox_api/metadata/basic_account.rb +8 -1
- data/lib/dropbox_api/metadata/commit_info.rb +2 -1
- data/lib/dropbox_api/metadata/deleted.rb +1 -0
- data/lib/dropbox_api/metadata/dimensions.rb +1 -0
- data/lib/dropbox_api/metadata/field.rb +7 -4
- data/lib/dropbox_api/metadata/file.rb +2 -1
- data/lib/dropbox_api/metadata/file_categories_list.rb +9 -0
- data/lib/dropbox_api/metadata/file_category.rb +22 -0
- data/lib/dropbox_api/metadata/file_extensions_list.rb +13 -0
- data/lib/dropbox_api/metadata/file_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/file_member_action.rb +2 -1
- data/lib/dropbox_api/metadata/file_request.rb +1 -0
- data/lib/dropbox_api/metadata/file_status.rb +14 -0
- data/lib/dropbox_api/metadata/folder.rb +2 -1
- data/lib/dropbox_api/metadata/folder_link_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/folder_sharing_info.rb +1 -0
- data/lib/dropbox_api/metadata/link_permissions.rb +1 -0
- data/lib/dropbox_api/metadata/location.rb +1 -0
- data/lib/dropbox_api/metadata/media_info.rb +1 -0
- data/lib/dropbox_api/metadata/media_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/member.rb +6 -5
- data/lib/dropbox_api/metadata/member_action.rb +1 -0
- data/lib/dropbox_api/metadata/member_action_list.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission.rb +1 -0
- data/lib/dropbox_api/metadata/member_permission_list.rb +1 -0
- data/lib/dropbox_api/metadata/metadata_v2.rb +7 -0
- data/lib/dropbox_api/metadata/name.rb +1 -0
- data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
- data/lib/dropbox_api/metadata/parent_folder_access_info.rb +1 -0
- data/lib/dropbox_api/metadata/photo_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/resource.rb +2 -1
- data/lib/dropbox_api/metadata/root_info.rb +32 -0
- data/lib/dropbox_api/metadata/search_match_field_options.rb +9 -0
- data/lib/dropbox_api/metadata/search_match_type_v2.rb +16 -0
- data/lib/dropbox_api/metadata/search_match_v2.rb +18 -0
- data/lib/dropbox_api/metadata/search_options.rb +33 -0
- data/lib/dropbox_api/metadata/search_order_by.rb +14 -0
- data/lib/dropbox_api/metadata/shared_folder.rb +1 -0
- data/lib/dropbox_api/metadata/shared_folder_policy.rb +1 -0
- data/lib/dropbox_api/metadata/shared_link.rb +3 -2
- data/lib/dropbox_api/metadata/shared_link_metadata.rb +2 -1
- data/lib/dropbox_api/metadata/space_allocation.rb +1 -0
- data/lib/dropbox_api/metadata/space_usage.rb +1 -0
- data/lib/dropbox_api/metadata/tag.rb +2 -1
- data/lib/dropbox_api/metadata/team.rb +1 -0
- data/lib/dropbox_api/metadata/team_member_info.rb +1 -0
- data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_data.rb +1 -0
- data/lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb +3 -2
- data/lib/dropbox_api/metadata/upload_session_cursor.rb +1 -0
- data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
- data/lib/dropbox_api/metadata/video_metadata.rb +1 -0
- data/lib/dropbox_api/metadata/write_mode.rb +6 -5
- data/lib/dropbox_api/middleware/decode_result.rb +3 -2
- data/lib/dropbox_api/middleware/path_root.rb +35 -0
- data/lib/dropbox_api/middleware/stack.rb +1 -0
- data/lib/dropbox_api/options_validator.rb +1 -0
- data/lib/dropbox_api/result_builder.rb +3 -2
- data/lib/dropbox_api/results/add_file_member_result_list.rb +1 -0
- data/lib/dropbox_api/results/base.rb +1 -0
- data/lib/dropbox_api/results/basic_account_batch.rb +1 -0
- data/lib/dropbox_api/results/copy_batch_result.rb +15 -0
- data/lib/dropbox_api/results/create_folder_batch_result.rb +21 -0
- data/lib/dropbox_api/results/create_folder_batch_result_entry.rb +20 -0
- data/lib/dropbox_api/results/delete_batch_result.rb +21 -0
- data/lib/dropbox_api/results/delete_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/get_copy_reference_result.rb +4 -3
- data/lib/dropbox_api/results/get_temporary_link_result.rb +3 -2
- data/lib/dropbox_api/results/get_thumbnail_batch_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_get_latest_cursor_result.rb +2 -1
- data/lib/dropbox_api/results/list_folder_longpoll_result.rb +3 -2
- data/lib/dropbox_api/results/list_folder_result.rb +4 -3
- data/lib/dropbox_api/results/list_revisions_result.rb +3 -2
- data/lib/dropbox_api/results/list_shared_links_result.rb +4 -3
- data/lib/dropbox_api/results/relocation_batch_result.rb +21 -0
- data/lib/dropbox_api/results/relocation_batch_result_entry.rb +16 -0
- data/lib/dropbox_api/results/save_copy_reference_result.rb +2 -1
- data/lib/dropbox_api/results/save_url_job_status.rb +7 -6
- data/lib/dropbox_api/results/save_url_result.rb +2 -1
- data/lib/dropbox_api/results/search/match.rb +3 -2
- data/lib/dropbox_api/results/search_v2_result.rb +23 -0
- data/lib/dropbox_api/results/share_folder_launch.rb +4 -3
- data/lib/dropbox_api/results/shared_file_members.rb +5 -4
- data/lib/dropbox_api/results/shared_folder_members.rb +5 -4
- data/lib/dropbox_api/results/upload_session_start.rb +2 -1
- data/lib/dropbox_api/results/void_result.rb +1 -0
- data/lib/dropbox_api/version.rb +2 -1
- data/lib/dropbox_api.rb +38 -6
- data/yardoc/endpoint_handler.rb +2 -1
- data/yardoc/helpers/html_helper.rb +2 -1
- data/yardoc/rspec.rb +3 -2
- data/yardoc/templates/default/method_details/setup.rb +1 -0
- metadata +84 -93
- data/CHANGES.md +0 -7
- data/lib/dropbox_api/results/search_result.rb +0 -22
metadata
CHANGED
@@ -1,85 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dropbox_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesús Burgos
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.7'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.7'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '10.0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '10.0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: vcr
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: webmock
|
14
|
+
name: faraday
|
71
15
|
requirement: !ruby/object:Gem::Requirement
|
72
16
|
requirements:
|
73
|
-
- - "
|
17
|
+
- - "<"
|
74
18
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
77
21
|
prerelease: false
|
78
22
|
version_requirements: !ruby/object:Gem::Requirement
|
79
23
|
requirements:
|
80
|
-
- - "
|
24
|
+
- - "<"
|
81
25
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
26
|
+
version: '3.0'
|
83
27
|
- !ruby/object:Gem::Dependency
|
84
28
|
name: oauth2
|
85
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,27 +38,7 @@ dependencies:
|
|
94
38
|
- - "~>"
|
95
39
|
- !ruby/object:Gem::Version
|
96
40
|
version: '1.1'
|
97
|
-
|
98
|
-
name: faraday
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0.8'
|
104
|
-
- - "<="
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: 0.15.4
|
107
|
-
type: :runtime
|
108
|
-
prerelease: false
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '0.8'
|
114
|
-
- - "<="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 0.15.4
|
117
|
-
description:
|
41
|
+
description:
|
118
42
|
email:
|
119
43
|
- jburmac@gmail.com
|
120
44
|
executables: []
|
@@ -123,9 +47,9 @@ extra_rdoc_files: []
|
|
123
47
|
files:
|
124
48
|
- ".gitignore"
|
125
49
|
- ".rspec"
|
50
|
+
- ".rubocop.yml"
|
126
51
|
- ".travis.yml"
|
127
52
|
- ".yardopts"
|
128
|
-
- CHANGES.md
|
129
53
|
- Gemfile
|
130
54
|
- LICENSE
|
131
55
|
- README.md
|
@@ -148,11 +72,17 @@ files:
|
|
148
72
|
- docs/DropboxApi/Endpoints/ContentUpload.html
|
149
73
|
- docs/DropboxApi/Endpoints/Files.html
|
150
74
|
- docs/DropboxApi/Endpoints/Files/Copy.html
|
75
|
+
- docs/DropboxApi/Endpoints/Files/CopyBatch.html
|
76
|
+
- docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html
|
151
77
|
- docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html
|
152
78
|
- docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html
|
153
79
|
- docs/DropboxApi/Endpoints/Files/CreateFileRequest.html
|
154
80
|
- docs/DropboxApi/Endpoints/Files/CreateFolder.html
|
81
|
+
- docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html
|
82
|
+
- docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html
|
155
83
|
- docs/DropboxApi/Endpoints/Files/Delete.html
|
84
|
+
- docs/DropboxApi/Endpoints/Files/DeleteBatch.html
|
85
|
+
- docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html
|
156
86
|
- docs/DropboxApi/Endpoints/Files/Download.html
|
157
87
|
- docs/DropboxApi/Endpoints/Files/GetMetadata.html
|
158
88
|
- docs/DropboxApi/Endpoints/Files/GetPreview.html
|
@@ -170,6 +100,7 @@ files:
|
|
170
100
|
- docs/DropboxApi/Endpoints/Files/SaveUrl.html
|
171
101
|
- docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html
|
172
102
|
- docs/DropboxApi/Endpoints/Files/Search.html
|
103
|
+
- docs/DropboxApi/Endpoints/Files/SearchContinue.html
|
173
104
|
- docs/DropboxApi/Endpoints/Files/Upload.html
|
174
105
|
- docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html
|
175
106
|
- docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html
|
@@ -185,6 +116,7 @@ files:
|
|
185
116
|
- docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html
|
186
117
|
- docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html
|
187
118
|
- docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html
|
119
|
+
- docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html
|
188
120
|
- docs/DropboxApi/Endpoints/Sharing/ShareFolder.html
|
189
121
|
- docs/DropboxApi/Endpoints/Sharing/UnshareFile.html
|
190
122
|
- docs/DropboxApi/Endpoints/Users.html
|
@@ -206,6 +138,7 @@ files:
|
|
206
138
|
- docs/DropboxApi/Errors/ContainsSharedFolderError.html
|
207
139
|
- docs/DropboxApi/Errors/ConversionError.html
|
208
140
|
- docs/DropboxApi/Errors/CreateFileRequestError.html
|
141
|
+
- docs/DropboxApi/Errors/CreateFolderBatchError.html
|
209
142
|
- docs/DropboxApi/Errors/CreateFolderError.html
|
210
143
|
- docs/DropboxApi/Errors/CreateSharedLinkWithSettingsError.html
|
211
144
|
- docs/DropboxApi/Errors/CursorClosedError.html
|
@@ -216,6 +149,7 @@ files:
|
|
216
149
|
- docs/DropboxApi/Errors/DownloadError.html
|
217
150
|
- docs/DropboxApi/Errors/DownloadFailedError.html
|
218
151
|
- docs/DropboxApi/Errors/EmailUnverifiedError.html
|
152
|
+
- docs/DropboxApi/Errors/ExpiredAccessTokenError.html
|
219
153
|
- docs/DropboxApi/Errors/FileAncestorConflictError.html
|
220
154
|
- docs/DropboxApi/Errors/FileConflictError.html
|
221
155
|
- docs/DropboxApi/Errors/FileMemberActionError.html
|
@@ -268,9 +202,11 @@ files:
|
|
268
202
|
- docs/DropboxApi/Errors/PollError.html
|
269
203
|
- docs/DropboxApi/Errors/PreviewError.html
|
270
204
|
- docs/DropboxApi/Errors/RateLimitError.html
|
205
|
+
- docs/DropboxApi/Errors/RelocationBatchEntryError.html
|
271
206
|
- docs/DropboxApi/Errors/RelocationError.html
|
272
207
|
- docs/DropboxApi/Errors/RestoreError.html
|
273
208
|
- docs/DropboxApi/Errors/RestrictedContentError.html
|
209
|
+
- docs/DropboxApi/Errors/RevokeSharedLinkError.html
|
274
210
|
- docs/DropboxApi/Errors/SaveCopyReferenceError.html
|
275
211
|
- docs/DropboxApi/Errors/SaveUrlError.html
|
276
212
|
- docs/DropboxApi/Errors/SearchError.html
|
@@ -281,6 +217,7 @@ files:
|
|
281
217
|
- docs/DropboxApi/Errors/SharedLinkAccessDeniedError.html
|
282
218
|
- docs/DropboxApi/Errors/SharedLinkAlreadyExistsError.html
|
283
219
|
- docs/DropboxApi/Errors/SharedLinkError.html
|
220
|
+
- docs/DropboxApi/Errors/SharedLinkMalformedError.html
|
284
221
|
- docs/DropboxApi/Errors/SharedLinkNotFoundError.html
|
285
222
|
- docs/DropboxApi/Errors/SharingFileAccessError.html
|
286
223
|
- docs/DropboxApi/Errors/SharingUserError.html
|
@@ -319,9 +256,13 @@ files:
|
|
319
256
|
- docs/DropboxApi/Metadata/Dimensions.html
|
320
257
|
- docs/DropboxApi/Metadata/Field.html
|
321
258
|
- docs/DropboxApi/Metadata/File.html
|
259
|
+
- docs/DropboxApi/Metadata/FileCategoriesList.html
|
260
|
+
- docs/DropboxApi/Metadata/FileCategory.html
|
261
|
+
- docs/DropboxApi/Metadata/FileExtensionsList.html
|
322
262
|
- docs/DropboxApi/Metadata/FileLinkMetadata.html
|
323
263
|
- docs/DropboxApi/Metadata/FileMemberAction.html
|
324
264
|
- docs/DropboxApi/Metadata/FileRequest.html
|
265
|
+
- docs/DropboxApi/Metadata/FileStatus.html
|
325
266
|
- docs/DropboxApi/Metadata/Folder.html
|
326
267
|
- docs/DropboxApi/Metadata/FolderLinkMetadata.html
|
327
268
|
- docs/DropboxApi/Metadata/FolderSharingInfo.html
|
@@ -334,10 +275,18 @@ files:
|
|
334
275
|
- docs/DropboxApi/Metadata/MemberActionList.html
|
335
276
|
- docs/DropboxApi/Metadata/MemberPermission.html
|
336
277
|
- docs/DropboxApi/Metadata/MemberPermissionList.html
|
278
|
+
- docs/DropboxApi/Metadata/MetadataV2.html
|
337
279
|
- docs/DropboxApi/Metadata/Name.html
|
280
|
+
- docs/DropboxApi/Metadata/NamespaceId.html
|
338
281
|
- docs/DropboxApi/Metadata/ParentFolderAccessInfo.html
|
339
282
|
- docs/DropboxApi/Metadata/PhotoMetadata.html
|
340
283
|
- docs/DropboxApi/Metadata/Resource.html
|
284
|
+
- docs/DropboxApi/Metadata/RootInfo.html
|
285
|
+
- docs/DropboxApi/Metadata/SearchMatchFieldOptions.html
|
286
|
+
- docs/DropboxApi/Metadata/SearchMatchTypeV2.html
|
287
|
+
- docs/DropboxApi/Metadata/SearchMatchV2.html
|
288
|
+
- docs/DropboxApi/Metadata/SearchOptions.html
|
289
|
+
- docs/DropboxApi/Metadata/SearchOrderBy.html
|
341
290
|
- docs/DropboxApi/Metadata/SharedFolder.html
|
342
291
|
- docs/DropboxApi/Metadata/SharedFolderPolicy.html
|
343
292
|
- docs/DropboxApi/Metadata/SharedLink.html
|
@@ -347,13 +296,16 @@ files:
|
|
347
296
|
- docs/DropboxApi/Metadata/Tag.html
|
348
297
|
- docs/DropboxApi/Metadata/Team.html
|
349
298
|
- docs/DropboxApi/Metadata/TeamMemberInfo.html
|
299
|
+
- docs/DropboxApi/Metadata/TeamRootInfo.html
|
350
300
|
- docs/DropboxApi/Metadata/ThumbnailBatchResultData.html
|
351
301
|
- docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html
|
352
302
|
- docs/DropboxApi/Metadata/UploadSessionCursor.html
|
303
|
+
- docs/DropboxApi/Metadata/UserRootInfo.html
|
353
304
|
- docs/DropboxApi/Metadata/VideoMetadata.html
|
354
305
|
- docs/DropboxApi/Metadata/WriteMode.html
|
355
306
|
- docs/DropboxApi/MiddleWare.html
|
356
307
|
- docs/DropboxApi/MiddleWare/DecodeResult.html
|
308
|
+
- docs/DropboxApi/MiddleWare/PathRoot.html
|
357
309
|
- docs/DropboxApi/MiddleWare/Stack.html
|
358
310
|
- docs/DropboxApi/OptionsValidator.html
|
359
311
|
- docs/DropboxApi/ResultBuilder.html
|
@@ -361,6 +313,11 @@ files:
|
|
361
313
|
- docs/DropboxApi/Results/AddFileMemberResultList.html
|
362
314
|
- docs/DropboxApi/Results/Base.html
|
363
315
|
- docs/DropboxApi/Results/BasicAccountBatch.html
|
316
|
+
- docs/DropboxApi/Results/CopyBatchResult.html
|
317
|
+
- docs/DropboxApi/Results/CreateFolderBatchResult.html
|
318
|
+
- docs/DropboxApi/Results/CreateFolderBatchResultEntry.html
|
319
|
+
- docs/DropboxApi/Results/DeleteBatchResult.html
|
320
|
+
- docs/DropboxApi/Results/DeleteBatchResultEntry.html
|
364
321
|
- docs/DropboxApi/Results/GetCopyReferenceResult.html
|
365
322
|
- docs/DropboxApi/Results/GetTemporaryLinkResult.html
|
366
323
|
- docs/DropboxApi/Results/GetThumbnailBatchResult.html
|
@@ -369,12 +326,15 @@ files:
|
|
369
326
|
- docs/DropboxApi/Results/ListFolderResult.html
|
370
327
|
- docs/DropboxApi/Results/ListRevisionsResult.html
|
371
328
|
- docs/DropboxApi/Results/ListSharedLinksResult.html
|
329
|
+
- docs/DropboxApi/Results/RelocationBatchResult.html
|
330
|
+
- docs/DropboxApi/Results/RelocationBatchResultEntry.html
|
372
331
|
- docs/DropboxApi/Results/SaveCopyReferenceResult.html
|
373
332
|
- docs/DropboxApi/Results/SaveUrlJobStatus.html
|
374
333
|
- docs/DropboxApi/Results/SaveUrlResult.html
|
375
334
|
- docs/DropboxApi/Results/Search.html
|
376
335
|
- docs/DropboxApi/Results/Search/Match.html
|
377
336
|
- docs/DropboxApi/Results/SearchResult.html
|
337
|
+
- docs/DropboxApi/Results/SearchV2Result.html
|
378
338
|
- docs/DropboxApi/Results/ShareFolderLaunch.html
|
379
339
|
- docs/DropboxApi/Results/SharedFileMembers.html
|
380
340
|
- docs/DropboxApi/Results/SharedFolderMembers.html
|
@@ -409,10 +369,16 @@ files:
|
|
409
369
|
- lib/dropbox_api/endpoints/content_upload.rb
|
410
370
|
- lib/dropbox_api/endpoints/file_requests/create_file_request.rb
|
411
371
|
- lib/dropbox_api/endpoints/files/copy.rb
|
372
|
+
- lib/dropbox_api/endpoints/files/copy_batch.rb
|
373
|
+
- lib/dropbox_api/endpoints/files/copy_batch_check.rb
|
412
374
|
- lib/dropbox_api/endpoints/files/copy_reference_get.rb
|
413
375
|
- lib/dropbox_api/endpoints/files/copy_reference_save.rb
|
414
376
|
- lib/dropbox_api/endpoints/files/create_folder.rb
|
377
|
+
- lib/dropbox_api/endpoints/files/create_folder_batch.rb
|
378
|
+
- lib/dropbox_api/endpoints/files/create_folder_batch_check.rb
|
415
379
|
- lib/dropbox_api/endpoints/files/delete.rb
|
380
|
+
- lib/dropbox_api/endpoints/files/delete_batch.rb
|
381
|
+
- lib/dropbox_api/endpoints/files/delete_batch_check.rb
|
416
382
|
- lib/dropbox_api/endpoints/files/download.rb
|
417
383
|
- lib/dropbox_api/endpoints/files/get_metadata.rb
|
418
384
|
- lib/dropbox_api/endpoints/files/get_preview.rb
|
@@ -430,6 +396,7 @@ files:
|
|
430
396
|
- lib/dropbox_api/endpoints/files/save_url.rb
|
431
397
|
- lib/dropbox_api/endpoints/files/save_url_check_job_status.rb
|
432
398
|
- lib/dropbox_api/endpoints/files/search.rb
|
399
|
+
- lib/dropbox_api/endpoints/files/search_continue.rb
|
433
400
|
- lib/dropbox_api/endpoints/files/upload.rb
|
434
401
|
- lib/dropbox_api/endpoints/files/upload_session_append_v2.rb
|
435
402
|
- lib/dropbox_api/endpoints/files/upload_session_finish.rb
|
@@ -458,10 +425,12 @@ files:
|
|
458
425
|
- lib/dropbox_api/errors/already_shared_error.rb
|
459
426
|
- lib/dropbox_api/errors/basic_error.rb
|
460
427
|
- lib/dropbox_api/errors/create_file_request_error.rb
|
428
|
+
- lib/dropbox_api/errors/create_folder_batch_error.rb
|
461
429
|
- lib/dropbox_api/errors/create_folder_error.rb
|
462
430
|
- lib/dropbox_api/errors/create_shared_link_with_settings_error.rb
|
463
431
|
- lib/dropbox_api/errors/delete_error.rb
|
464
432
|
- lib/dropbox_api/errors/download_error.rb
|
433
|
+
- lib/dropbox_api/errors/expired_access_token_error.rb
|
465
434
|
- lib/dropbox_api/errors/file_member_action_error.rb
|
466
435
|
- lib/dropbox_api/errors/get_account_error.rb
|
467
436
|
- lib/dropbox_api/errors/get_copy_reference_error.rb
|
@@ -475,6 +444,7 @@ files:
|
|
475
444
|
- lib/dropbox_api/errors/lookup_error.rb
|
476
445
|
- lib/dropbox_api/errors/poll_error.rb
|
477
446
|
- lib/dropbox_api/errors/preview_error.rb
|
447
|
+
- lib/dropbox_api/errors/relocation_batch_entry_error.rb
|
478
448
|
- lib/dropbox_api/errors/relocation_error.rb
|
479
449
|
- lib/dropbox_api/errors/restore_error.rb
|
480
450
|
- lib/dropbox_api/errors/revoke_shared_link_error.rb
|
@@ -509,9 +479,13 @@ files:
|
|
509
479
|
- lib/dropbox_api/metadata/dimensions.rb
|
510
480
|
- lib/dropbox_api/metadata/field.rb
|
511
481
|
- lib/dropbox_api/metadata/file.rb
|
482
|
+
- lib/dropbox_api/metadata/file_categories_list.rb
|
483
|
+
- lib/dropbox_api/metadata/file_category.rb
|
484
|
+
- lib/dropbox_api/metadata/file_extensions_list.rb
|
512
485
|
- lib/dropbox_api/metadata/file_link_metadata.rb
|
513
486
|
- lib/dropbox_api/metadata/file_member_action.rb
|
514
487
|
- lib/dropbox_api/metadata/file_request.rb
|
488
|
+
- lib/dropbox_api/metadata/file_status.rb
|
515
489
|
- lib/dropbox_api/metadata/folder.rb
|
516
490
|
- lib/dropbox_api/metadata/folder_link_metadata.rb
|
517
491
|
- lib/dropbox_api/metadata/folder_sharing_info.rb
|
@@ -524,10 +498,18 @@ files:
|
|
524
498
|
- lib/dropbox_api/metadata/member_action_list.rb
|
525
499
|
- lib/dropbox_api/metadata/member_permission.rb
|
526
500
|
- lib/dropbox_api/metadata/member_permission_list.rb
|
501
|
+
- lib/dropbox_api/metadata/metadata_v2.rb
|
527
502
|
- lib/dropbox_api/metadata/name.rb
|
503
|
+
- lib/dropbox_api/metadata/namespace_id.rb
|
528
504
|
- lib/dropbox_api/metadata/parent_folder_access_info.rb
|
529
505
|
- lib/dropbox_api/metadata/photo_metadata.rb
|
530
506
|
- lib/dropbox_api/metadata/resource.rb
|
507
|
+
- lib/dropbox_api/metadata/root_info.rb
|
508
|
+
- lib/dropbox_api/metadata/search_match_field_options.rb
|
509
|
+
- lib/dropbox_api/metadata/search_match_type_v2.rb
|
510
|
+
- lib/dropbox_api/metadata/search_match_v2.rb
|
511
|
+
- lib/dropbox_api/metadata/search_options.rb
|
512
|
+
- lib/dropbox_api/metadata/search_order_by.rb
|
531
513
|
- lib/dropbox_api/metadata/shared_folder.rb
|
532
514
|
- lib/dropbox_api/metadata/shared_folder_policy.rb
|
533
515
|
- lib/dropbox_api/metadata/shared_link.rb
|
@@ -537,18 +519,26 @@ files:
|
|
537
519
|
- lib/dropbox_api/metadata/tag.rb
|
538
520
|
- lib/dropbox_api/metadata/team.rb
|
539
521
|
- lib/dropbox_api/metadata/team_member_info.rb
|
522
|
+
- lib/dropbox_api/metadata/team_root_info.rb
|
540
523
|
- lib/dropbox_api/metadata/thumbnail_batch_result_data.rb
|
541
524
|
- lib/dropbox_api/metadata/thumbnail_batch_result_entry.rb
|
542
525
|
- lib/dropbox_api/metadata/upload_session_cursor.rb
|
526
|
+
- lib/dropbox_api/metadata/user_root_info.rb
|
543
527
|
- lib/dropbox_api/metadata/video_metadata.rb
|
544
528
|
- lib/dropbox_api/metadata/write_mode.rb
|
545
529
|
- lib/dropbox_api/middleware/decode_result.rb
|
530
|
+
- lib/dropbox_api/middleware/path_root.rb
|
546
531
|
- lib/dropbox_api/middleware/stack.rb
|
547
532
|
- lib/dropbox_api/options_validator.rb
|
548
533
|
- lib/dropbox_api/result_builder.rb
|
549
534
|
- lib/dropbox_api/results/add_file_member_result_list.rb
|
550
535
|
- lib/dropbox_api/results/base.rb
|
551
536
|
- lib/dropbox_api/results/basic_account_batch.rb
|
537
|
+
- lib/dropbox_api/results/copy_batch_result.rb
|
538
|
+
- lib/dropbox_api/results/create_folder_batch_result.rb
|
539
|
+
- lib/dropbox_api/results/create_folder_batch_result_entry.rb
|
540
|
+
- lib/dropbox_api/results/delete_batch_result.rb
|
541
|
+
- lib/dropbox_api/results/delete_batch_result_entry.rb
|
552
542
|
- lib/dropbox_api/results/get_copy_reference_result.rb
|
553
543
|
- lib/dropbox_api/results/get_temporary_link_result.rb
|
554
544
|
- lib/dropbox_api/results/get_thumbnail_batch_result.rb
|
@@ -557,11 +547,13 @@ files:
|
|
557
547
|
- lib/dropbox_api/results/list_folder_result.rb
|
558
548
|
- lib/dropbox_api/results/list_revisions_result.rb
|
559
549
|
- lib/dropbox_api/results/list_shared_links_result.rb
|
550
|
+
- lib/dropbox_api/results/relocation_batch_result.rb
|
551
|
+
- lib/dropbox_api/results/relocation_batch_result_entry.rb
|
560
552
|
- lib/dropbox_api/results/save_copy_reference_result.rb
|
561
553
|
- lib/dropbox_api/results/save_url_job_status.rb
|
562
554
|
- lib/dropbox_api/results/save_url_result.rb
|
563
555
|
- lib/dropbox_api/results/search/match.rb
|
564
|
-
- lib/dropbox_api/results/
|
556
|
+
- lib/dropbox_api/results/search_v2_result.rb
|
565
557
|
- lib/dropbox_api/results/share_folder_launch.rb
|
566
558
|
- lib/dropbox_api/results/shared_file_members.rb
|
567
559
|
- lib/dropbox_api/results/shared_folder_members.rb
|
@@ -581,7 +573,7 @@ homepage: https://github.com/Jesus/dropbox_api
|
|
581
573
|
licenses:
|
582
574
|
- MIT
|
583
575
|
metadata: {}
|
584
|
-
post_install_message:
|
576
|
+
post_install_message:
|
585
577
|
rdoc_options: []
|
586
578
|
require_paths:
|
587
579
|
- lib
|
@@ -589,16 +581,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
589
581
|
requirements:
|
590
582
|
- - ">="
|
591
583
|
- !ruby/object:Gem::Version
|
592
|
-
version: '
|
584
|
+
version: '2.3'
|
593
585
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
594
586
|
requirements:
|
595
587
|
- - ">="
|
596
588
|
- !ruby/object:Gem::Version
|
597
589
|
version: '0'
|
598
590
|
requirements: []
|
599
|
-
|
600
|
-
|
601
|
-
signing_key:
|
591
|
+
rubygems_version: 3.0.9
|
592
|
+
signing_key:
|
602
593
|
specification_version: 4
|
603
594
|
summary: Library for communicating with Dropbox API v2
|
604
595
|
test_files: []
|
data/CHANGES.md
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
This file aims to compile all the breaking changes introduced in each version.
|
2
|
-
|
3
|
-
### Version 0.2
|
4
|
-
|
5
|
-
- `list_folder_members` changed its signature from
|
6
|
-
`list_folder_members(folder_id, options = {})` to
|
7
|
-
`list_folder_members(folder_id, actions = [], options = {})`
|
@@ -1,22 +0,0 @@
|
|
1
|
-
module DropboxApi::Results
|
2
|
-
class SearchResult < DropboxApi::Results::Base
|
3
|
-
# A list (possibly empty) of matches for the query.
|
4
|
-
def matches
|
5
|
-
@matches ||= @data["matches"].map do |match|
|
6
|
-
DropboxApi::Results::Search::Match.new match
|
7
|
-
end
|
8
|
-
end
|
9
|
-
|
10
|
-
# Used for paging. Value to set the start argument to when calling search
|
11
|
-
# to fetch the next page of results.
|
12
|
-
def start
|
13
|
-
@data["start"].to_i
|
14
|
-
end
|
15
|
-
|
16
|
-
# Used for paging. If true, indicates there is another page of results
|
17
|
-
# available that can be fetched by calling search again.
|
18
|
-
def has_more?
|
19
|
-
@data["more"].to_s == "true"
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|