dropbox_api 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +113 -22
- data/docs/DropboxApi/Authenticator.html +12 -12
- data/docs/DropboxApi/ChunkedUploader.html +20 -20
- data/docs/DropboxApi/Client.html +1673 -906
- data/docs/DropboxApi/ConnectionBuilder.html +16 -16
- data/docs/DropboxApi/Endpoints/Auth/TokenRevoke.html +10 -10
- data/docs/DropboxApi/Endpoints/Auth.html +6 -6
- data/docs/DropboxApi/Endpoints/Base.html +9 -9
- data/docs/DropboxApi/Endpoints/ContentDownload.html +19 -19
- data/docs/DropboxApi/Endpoints/ContentUpload.html +17 -17
- data/docs/DropboxApi/Endpoints/Files/Copy.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CopyBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceGet.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CopyReferenceSave.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CreateFileRequest.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/CreateFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/CreateFolderBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Delete.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/DeleteBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/DeleteBatchCheck.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Download.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetMetadata.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetPreview.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetTemporaryLink.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetThumbnail.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/GetThumbnailBatch.html +15 -15
- data/docs/DropboxApi/Endpoints/Files/ListFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderContinue.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListFolderGetLatestCursor.html +10 -10
- data/docs/DropboxApi/Endpoints/Files/ListFolderLongpoll.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/ListRevisions.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Move.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/PermanentlyDelete.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Restore.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/SaveUrl.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/SaveUrlCheckJobStatus.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/Search.html +48 -96
- data/docs/DropboxApi/Endpoints/Files/Upload.html +10 -10
- data/docs/DropboxApi/Endpoints/Files/UploadSessionAppendV2.html +11 -11
- data/docs/DropboxApi/Endpoints/Files/UploadSessionFinish.html +12 -12
- data/docs/DropboxApi/Endpoints/Files/UploadSessionStart.html +12 -12
- data/docs/DropboxApi/Endpoints/Files.html +6 -6
- data/docs/DropboxApi/Endpoints/Rpc.html +17 -17
- data/docs/DropboxApi/Endpoints/RpcContent.html +11 -11
- data/docs/DropboxApi/Endpoints/RpcNotify.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/AddFileMember.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/AddFolderMember.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/CreateSharedLinkWithSettings.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/GetSharedLinkMetadata.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/ListFileMembers.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/ListFolderMembers.html +12 -12
- data/docs/DropboxApi/Endpoints/Sharing/ListSharedLinks.html +10 -10
- data/docs/DropboxApi/Endpoints/Sharing/RevokeSharedLink.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/ShareFolder.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing/UnshareFile.html +11 -11
- data/docs/DropboxApi/Endpoints/Sharing.html +6 -6
- data/docs/DropboxApi/Endpoints/Users/GetAccount.html +11 -11
- data/docs/DropboxApi/Endpoints/Users/GetAccountBatch.html +11 -11
- data/docs/DropboxApi/Endpoints/Users/GetCurrentAccount.html +10 -10
- data/docs/DropboxApi/Endpoints/Users/GetSpaceUsage.html +10 -10
- 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 +17 -17
- 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 +7 -7
- 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 -9
- 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/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 +9 -9
- 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 +10 -10
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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/ParentFolderAccessInfo.html +6 -6
- data/docs/DropboxApi/Metadata/PhotoMetadata.html +6 -6
- data/docs/DropboxApi/Metadata/Resource.html +10 -10
- 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/ThumbnailBatchResultData.html +6 -6
- data/docs/DropboxApi/Metadata/ThumbnailBatchResultEntry.html +11 -11
- data/docs/DropboxApi/Metadata/UploadSessionCursor.html +9 -9
- 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/Stack.html +22 -22
- data/docs/DropboxApi/MiddleWare.html +6 -6
- data/docs/DropboxApi/OptionsValidator.html +9 -9
- 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 +10 -10
- data/docs/DropboxApi/Results/CreateFolderBatchResult.html +13 -13
- data/docs/DropboxApi/Results/CreateFolderBatchResultEntry.html +9 -9
- data/docs/DropboxApi/Results/DeleteBatchResult.html +13 -13
- data/docs/DropboxApi/Results/DeleteBatchResultEntry.html +9 -9
- 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 +13 -13
- data/docs/DropboxApi/Results/RelocationBatchResultEntry.html +9 -9
- 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/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 +220 -108
- data/docs/_index.html +86 -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 +28 -23
- data/docs/file.api_coverage.html +14 -14
- 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 +28 -23
- data/docs/js/app.js +14 -3
- data/docs/method_list.html +338 -266
- data/docs/top-level-namespace.html +6 -6
- data/lib/dropbox_api/authenticator.rb +2 -6
- data/lib/dropbox_api/client.rb +23 -2
- data/lib/dropbox_api/connection_builder.rb +38 -4
- data/lib/dropbox_api/endpoints/base.rb +24 -1
- data/lib/dropbox_api/endpoints/content_download.rb +2 -2
- data/lib/dropbox_api/endpoints/content_upload.rb +2 -2
- data/lib/dropbox_api/endpoints/files/search_continue.rb +23 -0
- data/lib/dropbox_api/endpoints/rpc.rb +2 -2
- data/lib/dropbox_api/endpoints/rpc_content.rb +2 -2
- data/lib/dropbox_api/endpoints/rpc_notify.rb +2 -2
- data/lib/dropbox_api/errors/expired_access_token_error.rb +5 -0
- data/lib/dropbox_api/metadata/basic_account.rb +7 -1
- data/lib/dropbox_api/metadata/namespace_id.rb +10 -0
- data/lib/dropbox_api/metadata/root_info.rb +32 -0
- data/lib/dropbox_api/metadata/team_root_info.rb +8 -0
- data/lib/dropbox_api/metadata/user_root_info.rb +7 -0
- data/lib/dropbox_api/middleware/path_root.rb +35 -0
- data/lib/dropbox_api/results/search_v2_result.rb +2 -3
- data/lib/dropbox_api/version.rb +1 -1
- data/lib/dropbox_api.rb +10 -3
- metadata +21 -3
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::Search
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files::Search";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/search_v2</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
132
132
|
</dt>
|
|
133
|
-
<dd><pre class="code"><span class='const'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results.html" title="DropboxApi::Results (module)">Results</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results/
|
|
133
|
+
<dd><pre class="code"><span class='const'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results.html" title="DropboxApi::Results (module)">Results</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Results/SearchV2Result.html" title="DropboxApi::Results::SearchV2Result (class)">SearchV2Result</a></span></span></pre></dd>
|
|
134
134
|
|
|
135
135
|
<dt id="ErrorType-constant" class="">ErrorType =
|
|
136
136
|
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<li class="public ">
|
|
158
158
|
<span class="summary_signature">
|
|
159
159
|
|
|
160
|
-
<a href="#search-instance_method" title="#search (instance method)">#<strong>search</strong>(query,
|
|
160
|
+
<a href="#search-instance_method" title="#search (instance method)">#<strong>search</strong>(query, options = nil, match_field_options = nil) ⇒ Object </a>
|
|
161
161
|
|
|
162
162
|
|
|
163
163
|
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
<div class="method_details first">
|
|
229
229
|
<h3 class="signature first" id="search-instance_method">
|
|
230
230
|
|
|
231
|
-
#<strong>search</strong>(query,
|
|
231
|
+
#<strong>search</strong>(query, options = nil, match_field_options = nil) ⇒ <tt>Object</tt>
|
|
232
232
|
|
|
233
233
|
|
|
234
234
|
|
|
@@ -258,84 +258,48 @@ due to a short delay in indexing.</p>
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
—
|
|
261
|
-
<div class='inline'><p>The string to search for.
|
|
262
|
-
|
|
263
|
-
token is used for prefix matching (i.e. "bat c" matches "bat cave" but
|
|
264
|
-
not "batman car").</p>
|
|
261
|
+
<div class='inline'><p>The string to search for. May match across
|
|
262
|
+
multiple fields based on the request arguments.</p>
|
|
265
263
|
</div>
|
|
266
264
|
|
|
267
265
|
</li>
|
|
268
266
|
|
|
269
267
|
<li>
|
|
270
268
|
|
|
271
|
-
<span class='name'>
|
|
269
|
+
<span class='name'>options</span>
|
|
272
270
|
|
|
273
271
|
|
|
274
|
-
<span class='type'>(<tt>
|
|
272
|
+
<span class='type'>(<tt><span class='object_link'><a href="../../Metadata/SearchOptions.html" title="DropboxApi::Metadata::SearchOptions (class)">DropboxApi::Metadata::SearchOptions</a></span></tt>)</span>
|
|
275
273
|
|
|
276
274
|
|
|
277
|
-
<em class="default">(defaults to: <tt
|
|
275
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
278
276
|
|
|
279
277
|
|
|
280
278
|
—
|
|
281
|
-
<div class='inline'><p>
|
|
279
|
+
<div class='inline'><p>Options for more
|
|
280
|
+
targeted search results. This field is optional.</p>
|
|
282
281
|
</div>
|
|
283
282
|
|
|
284
283
|
</li>
|
|
285
284
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
<
|
|
299
|
-
<span class="name">start</span>
|
|
300
|
-
<span class="type">(<tt>Numeric</tt>)</span>
|
|
301
|
-
<span class="default">
|
|
302
|
-
|
|
303
|
-
</span>
|
|
304
|
-
|
|
305
|
-
— <div class='inline'><p>The starting index within the search
|
|
306
|
-
results (used for paging). The default for this field is 0.</p>
|
|
307
|
-
</div>
|
|
308
|
-
|
|
309
|
-
</li>
|
|
310
|
-
|
|
311
|
-
<li>
|
|
312
|
-
<span class="name">max_results</span>
|
|
313
|
-
<span class="type">(<tt>Numeric</tt>)</span>
|
|
314
|
-
<span class="default">
|
|
315
|
-
|
|
316
|
-
</span>
|
|
317
|
-
|
|
318
|
-
— <div class='inline'><p>The maximum number of search
|
|
319
|
-
results to return. The default for this field is 100.</p>
|
|
320
|
-
</div>
|
|
321
|
-
|
|
322
|
-
</li>
|
|
323
|
-
|
|
324
|
-
<li>
|
|
325
|
-
<span class="name">mode</span>
|
|
326
|
-
<span class="type">(<tt>:filename</tt>, <tt>:filename_and_content</tt>, <tt>:deleted_filename</tt>)</span>
|
|
327
|
-
<span class="default">
|
|
328
|
-
|
|
329
|
-
</span>
|
|
330
|
-
|
|
331
|
-
— <div class='inline'><p>The search mode. Note that searching file content is only
|
|
332
|
-
available for Dropbox Business accounts. The default is filename.</p>
|
|
285
|
+
<li>
|
|
286
|
+
|
|
287
|
+
<span class='name'>match_field_options</span>
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
<span class='type'>(<tt><span class='object_link'><a href="../../Metadata/SearchMatchFieldOptions.html" title="DropboxApi::Metadata::SearchMatchFieldOptions (class)">DropboxApi::Metadata::SearchMatchFieldOptions</a></span></tt>)</span>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
<em class="default">(defaults to: <tt>nil</tt>)</em>
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
—
|
|
297
|
+
<div class='inline'><p>Options for search results match fields. This field is optional.</p>
|
|
333
298
|
</div>
|
|
334
|
-
|
|
335
|
-
</li>
|
|
336
299
|
|
|
337
|
-
</
|
|
300
|
+
</li>
|
|
338
301
|
|
|
302
|
+
</ul>
|
|
339
303
|
|
|
340
304
|
|
|
341
305
|
</div>
|
|
@@ -345,39 +309,27 @@ available for Dropbox Business accounts. The default is filename.</p>
|
|
|
345
309
|
<pre class="lines">
|
|
346
310
|
|
|
347
311
|
|
|
312
|
+
22
|
|
313
|
+
23
|
|
314
|
+
24
|
|
315
|
+
25
|
|
316
|
+
26
|
|
348
317
|
27
|
|
349
318
|
28
|
|
350
319
|
29
|
|
351
|
-
30
|
|
352
|
-
31
|
|
353
|
-
32
|
|
354
|
-
33
|
|
355
|
-
34
|
|
356
|
-
35
|
|
357
|
-
36
|
|
358
|
-
37
|
|
359
|
-
38
|
|
360
|
-
39
|
|
361
|
-
40
|
|
362
|
-
41</pre>
|
|
320
|
+
30</pre>
|
|
363
321
|
</td>
|
|
364
322
|
<td>
|
|
365
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/search.rb', line
|
|
366
|
-
|
|
367
|
-
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:search</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_query'>query</span><span class='comma'>,</span> <span class='id identifier
|
|
368
|
-
<span class='id identifier
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
<span class='rbracket'>]</span
|
|
373
|
-
|
|
374
|
-
<span class='id identifier
|
|
375
|
-
<span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:mode</span><span class='rbracket'>]</span> <span class='op'>||=</span> <span class='symbol'>:filename</span>
|
|
376
|
-
|
|
377
|
-
<span class='id identifier rubyid_perform_request'>perform_request</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
378
|
-
<span class='symbol'>:query</span> <span class='op'>=></span> <span class='id identifier rubyid_query'>query</span><span class='comma'>,</span>
|
|
379
|
-
<span class='symbol'>:path</span> <span class='op'>=></span> <span class='id identifier rubyid_path'>path</span>
|
|
380
|
-
<span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
323
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/search.rb', line 22</span>
|
|
324
|
+
|
|
325
|
+
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:search</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_query'>query</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_match_field_options'>match_field_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='op'>|</span>
|
|
326
|
+
<span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>query:</span> <span class='id identifier rubyid_query'>query</span> <span class='rbrace'>}</span>
|
|
327
|
+
|
|
328
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span> <span class='kw'>unless</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
329
|
+
|
|
330
|
+
<span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:match_field_options</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_match_field_options'>match_field_options</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span> <span class='kw'>unless</span> <span class='id identifier rubyid_match_field_options'>match_field_options</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
|
|
331
|
+
|
|
332
|
+
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
|
|
381
333
|
<span class='kw'>end</span></pre>
|
|
382
334
|
</td>
|
|
383
335
|
</tr>
|
|
@@ -389,9 +341,9 @@ available for Dropbox Business accounts. The default is filename.</p>
|
|
|
389
341
|
</div>
|
|
390
342
|
|
|
391
343
|
<div id="footer">
|
|
392
|
-
Generated on
|
|
344
|
+
Generated on Sun Feb 7 11:51:56 2021 by
|
|
393
345
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
394
|
-
0.9.
|
|
346
|
+
0.9.26 (ruby-2.5.1).
|
|
395
347
|
</div>
|
|
396
348
|
|
|
397
349
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::Upload
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files::Upload";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/upload</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
@@ -391,7 +391,6 @@ this field is <code>false</code>.</p>
|
|
|
391
391
|
<pre class="lines">
|
|
392
392
|
|
|
393
393
|
|
|
394
|
-
49
|
|
395
394
|
50
|
|
396
395
|
51
|
|
397
396
|
52
|
|
@@ -402,10 +401,11 @@ this field is <code>false</code>.</p>
|
|
|
402
401
|
57
|
|
403
402
|
58
|
|
404
403
|
59
|
|
405
|
-
60
|
|
404
|
+
60
|
|
405
|
+
61</pre>
|
|
406
406
|
</td>
|
|
407
407
|
<td>
|
|
408
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload.rb', line
|
|
408
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload.rb', line 50</span>
|
|
409
409
|
|
|
410
410
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
|
|
411
411
|
<span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
|
|
@@ -429,9 +429,9 @@ this field is <code>false</code>.</p>
|
|
|
429
429
|
</div>
|
|
430
430
|
|
|
431
431
|
<div id="footer">
|
|
432
|
-
Generated on
|
|
432
|
+
Generated on Sun Feb 7 11:51:57 2021 by
|
|
433
433
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
434
|
-
0.9.
|
|
434
|
+
0.9.26 (ruby-2.5.1).
|
|
435
435
|
</div>
|
|
436
436
|
|
|
437
437
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::UploadSessionAppendV2
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files::UploadSessionAppendV2";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/upload_session/append_v2</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
@@ -331,7 +331,6 @@ The default for this field is <code>false</code>.</p>
|
|
|
331
331
|
<pre class="lines">
|
|
332
332
|
|
|
333
333
|
|
|
334
|
-
38
|
|
335
334
|
39
|
|
336
335
|
40
|
|
337
336
|
41
|
|
@@ -341,10 +340,11 @@ The default for this field is <code>false</code>.</p>
|
|
|
341
340
|
45
|
|
342
341
|
46
|
|
343
342
|
47
|
|
344
|
-
48
|
|
343
|
+
48
|
|
344
|
+
49</pre>
|
|
345
345
|
</td>
|
|
346
346
|
<td>
|
|
347
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_append_v2.rb', line
|
|
347
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_append_v2.rb', line 39</span>
|
|
348
348
|
|
|
349
349
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload_session_append_v2</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cursor'>cursor</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
|
|
350
350
|
<span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
|
|
@@ -352,7 +352,7 @@ The default for this field is <code>false</code>.</p>
|
|
|
352
352
|
<span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
|
353
353
|
|
|
354
354
|
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
355
|
-
<span class='
|
|
355
|
+
<span class='label'>cursor:</span> <span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
|
|
356
356
|
<span class='rbrace'>}</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
|
|
357
357
|
|
|
358
358
|
<span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_offset'>offset</span> <span class='op'>+=</span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span>
|
|
@@ -367,9 +367,9 @@ The default for this field is <code>false</code>.</p>
|
|
|
367
367
|
</div>
|
|
368
368
|
|
|
369
369
|
<div id="footer">
|
|
370
|
-
Generated on
|
|
370
|
+
Generated on Sun Feb 7 11:51:58 2021 by
|
|
371
371
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
372
|
-
0.9.
|
|
372
|
+
0.9.26 (ruby-2.5.1).
|
|
373
373
|
</div>
|
|
374
374
|
|
|
375
375
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::UploadSessionFinish
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files::UploadSessionFinish";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/upload_session/finish</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
@@ -292,20 +292,20 @@ other optional modifiers for the commit.</p>
|
|
|
292
292
|
<pre class="lines">
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
21
|
|
296
295
|
22
|
|
297
296
|
23
|
|
298
297
|
24
|
|
299
298
|
25
|
|
300
|
-
26
|
|
299
|
+
26
|
|
300
|
+
27</pre>
|
|
301
301
|
</td>
|
|
302
302
|
<td>
|
|
303
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_finish.rb', line
|
|
303
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_finish.rb', line 22</span>
|
|
304
304
|
|
|
305
305
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload_session_finish</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cursor'>cursor</span><span class='comma'>,</span> <span class='id identifier rubyid_commit'>commit</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='op'>|</span>
|
|
306
306
|
<span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
307
|
-
<span class='
|
|
308
|
-
<span class='
|
|
307
|
+
<span class='label'>cursor:</span> <span class='id identifier rubyid_cursor'>cursor</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span><span class='comma'>,</span>
|
|
308
|
+
<span class='label'>commit:</span> <span class='id identifier rubyid_commit'>commit</span><span class='period'>.</span><span class='id identifier rubyid_to_hash'>to_hash</span>
|
|
309
309
|
<span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
|
|
310
310
|
<span class='kw'>end</span></pre>
|
|
311
311
|
</td>
|
|
@@ -318,9 +318,9 @@ other optional modifiers for the commit.</p>
|
|
|
318
318
|
</div>
|
|
319
319
|
|
|
320
320
|
<div id="footer">
|
|
321
|
-
Generated on
|
|
321
|
+
Generated on Sun Feb 7 11:51:58 2021 by
|
|
322
322
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
323
|
-
0.9.
|
|
323
|
+
0.9.26 (ruby-2.5.1).
|
|
324
324
|
</div>
|
|
325
325
|
|
|
326
326
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: DropboxApi::Endpoints::Files::UploadSessionStart
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files::UploadSessionStart";
|
|
19
19
|
relpath = '../../../';
|
|
20
20
|
</script>
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
<dt id="Path-constant" class="">Path =
|
|
126
126
|
|
|
127
127
|
</dt>
|
|
128
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'
|
|
128
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/2/files/upload_session/start</span><span class='tstring_end'>'</span></span></pre></dd>
|
|
129
129
|
|
|
130
130
|
<dt id="ResultType-constant" class="">ResultType =
|
|
131
131
|
|
|
@@ -302,7 +302,6 @@ that you can use to continue the upload afterwards.</p>
|
|
|
302
302
|
<pre class="lines">
|
|
303
303
|
|
|
304
304
|
|
|
305
|
-
25
|
|
306
305
|
26
|
|
307
306
|
27
|
|
308
307
|
28
|
|
@@ -313,10 +312,11 @@ that you can use to continue the upload afterwards.</p>
|
|
|
313
312
|
33
|
|
314
313
|
34
|
|
315
314
|
35
|
|
316
|
-
36
|
|
315
|
+
36
|
|
316
|
+
37</pre>
|
|
317
317
|
</td>
|
|
318
318
|
<td>
|
|
319
|
-
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_start.rb', line
|
|
319
|
+
<pre class="code"><span class="info file"># File 'lib/dropbox_api/endpoints/files/upload_session_start.rb', line 26</span>
|
|
320
320
|
|
|
321
321
|
<span class='id identifier rubyid_add_endpoint'>add_endpoint</span> <span class='symbol'>:upload_session_start</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='op'>|</span>
|
|
322
322
|
<span class='id identifier rubyid_validate_options'>validate_options</span><span class='lparen'>(</span><span class='lbracket'>[</span>
|
|
@@ -326,8 +326,8 @@ that you can use to continue the upload afterwards.</p>
|
|
|
326
326
|
<span class='id identifier rubyid_session'>session</span> <span class='op'>=</span> <span class='id identifier rubyid_perform_request'>perform_request</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_content'>content</span><span class='rparen'>)</span>
|
|
327
327
|
|
|
328
328
|
<span class='const'><span class='object_link'><a href="../../../DropboxApi.html" title="DropboxApi (module)">DropboxApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Metadata.html" title="DropboxApi::Metadata (module)">Metadata</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../../Metadata/UploadSessionCursor.html" title="DropboxApi::Metadata::UploadSessionCursor (class)">UploadSessionCursor</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../../Metadata/Base.html#initialize-instance_method" title="DropboxApi::Metadata::Base#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='lbrace'>{</span>
|
|
329
|
-
<span class='tstring'><span class='tstring_beg'
|
|
330
|
-
<span class='tstring'><span class='tstring_beg'
|
|
329
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>session_id</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_session'>session</span><span class='period'>.</span><span class='id identifier rubyid_session_id'>session_id</span><span class='comma'>,</span>
|
|
330
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>offset</span><span class='tstring_end'>'</span></span> <span class='op'>=></span> <span class='id identifier rubyid_content'>content</span><span class='period'>.</span><span class='id identifier rubyid_bytesize'>bytesize</span>
|
|
331
331
|
<span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
332
332
|
<span class='kw'>end</span></pre>
|
|
333
333
|
</td>
|
|
@@ -340,9 +340,9 @@ that you can use to continue the upload afterwards.</p>
|
|
|
340
340
|
</div>
|
|
341
341
|
|
|
342
342
|
<div id="footer">
|
|
343
|
-
Generated on
|
|
343
|
+
Generated on Sun Feb 7 11:51:58 2021 by
|
|
344
344
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
345
|
-
0.9.
|
|
345
|
+
0.9.26 (ruby-2.5.1).
|
|
346
346
|
</div>
|
|
347
347
|
|
|
348
348
|
</div>
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: DropboxApi::Endpoints::Files
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.9.
|
|
9
|
+
— Documentation by YARD 0.9.26
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
|
16
16
|
|
|
17
|
-
<script type="text/javascript"
|
|
17
|
+
<script type="text/javascript">
|
|
18
18
|
pathId = "DropboxApi::Endpoints::Files";
|
|
19
19
|
relpath = '../../';
|
|
20
20
|
</script>
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<div id="footer">
|
|
110
|
-
Generated on
|
|
110
|
+
Generated on Sun Feb 7 11:51:55 2021 by
|
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
112
|
-
0.9.
|
|
112
|
+
0.9.26 (ruby-2.5.1).
|
|
113
113
|
</div>
|
|
114
114
|
|
|
115
115
|
</div>
|