Skip to content

Commit 13b5803

Browse files
DropboxBotScott Erickson
andauthored
Automated Spec Update (#253)
b343fc634be6702d3e58c2eaaf6cb622e8642512 Change Notes: shared_links Namespace: - Update comments Co-authored-by: Scott Erickson <[email protected]> Co-authored-by: DropboxBot <[email protected]> Co-authored-by: Scott Erickson <[email protected]>
1 parent 30d03a2 commit 13b5803

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/CreateSharedLinkArg.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class CreateSharedLinkArg
3232
/// class.</para>
3333
/// </summary>
3434
/// <param name="path">The path to share.</param>
35-
/// <param name="shortUrl">Whether to return a shortened URL.</param>
35+
/// <param name="shortUrl">The short url</param>
3636
/// <param name="pendingUpload">If it's okay to share a path that does not yet exist,
3737
/// set this to either <see cref="Dropbox.Api.Sharing.PendingUploadMode.File" /> or
3838
/// <see cref="Dropbox.Api.Sharing.PendingUploadMode.Folder" /> to indicate whether to
@@ -69,7 +69,7 @@ public CreateSharedLinkArg()
6969
public string Path { get; protected set; }
7070

7171
/// <summary>
72-
/// <para>Whether to return a shortened URL.</para>
72+
/// <para>Gets the short url of the create shared link arg</para>
7373
/// </summary>
7474
public bool ShortUrl { get; protected set; }
7575

dropbox-sdk-dotnet/Dropbox.Api/Generated/Sharing/SharingUserRoutes.cs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,6 @@ public ShareFolderJobStatus EndCheckShareJobStatus(sys.IAsyncResult asyncResult)
538538
/// <para>Create a shared link.</para>
539539
/// <para>If a shared link already exists for the given path, that link is
540540
/// returned.</para>
541-
/// <para>Note that in the returned <see cref="PathLinkMetadata" />, the <see
542-
/// cref="Dropbox.Api.Sharing.PathLinkMetadata.Url" /> field is the shortened URL if
543-
/// <see cref="Dropbox.Api.Sharing.CreateSharedLinkArg.ShortUrl" /> argument is set to
544-
/// <c>true</c>.</para>
545541
/// <para>Previously, it was technically possible to break a shared link by moving or
546542
/// renaming the corresponding file or folder. In the future, this will no longer be
547543
/// the case, so your app shouldn't rely on this behavior. Instead, if your app needs
@@ -582,10 +578,6 @@ public sys.IAsyncResult BeginCreateSharedLink(CreateSharedLinkArg createSharedLi
582578
/// <para>Create a shared link.</para>
583579
/// <para>If a shared link already exists for the given path, that link is
584580
/// returned.</para>
585-
/// <para>Note that in the returned <see cref="PathLinkMetadata" />, the <see
586-
/// cref="Dropbox.Api.Sharing.PathLinkMetadata.Url" /> field is the shortened URL if
587-
/// <see cref="Dropbox.Api.Sharing.CreateSharedLinkArg.ShortUrl" /> argument is set to
588-
/// <c>true</c>.</para>
589581
/// <para>Previously, it was technically possible to break a shared link by moving or
590582
/// renaming the corresponding file or folder. In the future, this will no longer be
591583
/// the case, so your app shouldn't rely on this behavior. Instead, if your app needs
@@ -594,7 +586,7 @@ public sys.IAsyncResult BeginCreateSharedLink(CreateSharedLinkArg createSharedLi
594586
/// />.</para>
595587
/// </summary>
596588
/// <param name="path">The path to share.</param>
597-
/// <param name="shortUrl">Whether to return a shortened URL.</param>
589+
/// <param name="shortUrl">The short url</param>
598590
/// <param name="pendingUpload">If it's okay to share a path that does not yet exist,
599591
/// set this to either <see cref="Dropbox.Api.Sharing.PendingUploadMode.File" /> or
600592
/// <see cref="Dropbox.Api.Sharing.PendingUploadMode.Folder" /> to indicate whether to
@@ -620,7 +612,7 @@ public t.Task<PathLinkMetadata> CreateSharedLinkAsync(string path,
620612
/// <para>Begins an asynchronous send to the create shared link route.</para>
621613
/// </summary>
622614
/// <param name="path">The path to share.</param>
623-
/// <param name="shortUrl">Whether to return a shortened URL.</param>
615+
/// <param name="shortUrl">The short url</param>
624616
/// <param name="pendingUpload">If it's okay to share a path that does not yet exist,
625617
/// set this to either <see cref="Dropbox.Api.Sharing.PendingUploadMode.File" /> or
626618
/// <see cref="Dropbox.Api.Sharing.PendingUploadMode.Folder" /> to indicate whether to
@@ -1271,7 +1263,6 @@ public SharedLinkMetadata EndGetSharedLinkMetadata(sys.IAsyncResult asyncResult)
12711263
/// including collection links, up to a maximum of 1000 links.</para>
12721264
/// <para>If a non-empty path is given, returns a list of all shared links that allow
12731265
/// access to the given path. Collection links are never returned in this case.</para>
1274-
/// <para>Note that the url field in the response is never the shortened URL.</para>
12751266
/// </summary>
12761267
/// <param name="getSharedLinksArg">The request parameters</param>
12771268
/// <returns>The task that represents the asynchronous send operation. The TResult
@@ -1309,7 +1300,6 @@ public sys.IAsyncResult BeginGetSharedLinks(GetSharedLinksArg getSharedLinksArg,
13091300
/// including collection links, up to a maximum of 1000 links.</para>
13101301
/// <para>If a non-empty path is given, returns a list of all shared links that allow
13111302
/// access to the given path. Collection links are never returned in this case.</para>
1312-
/// <para>Note that the url field in the response is never the shortened URL.</para>
13131303
/// </summary>
13141304
/// <param name="path">See <see
13151305
/// cref="Dropbox.Api.Sharing.Routes.SharingUserRoutes.GetSharedLinksAsync" />

spec

0 commit comments

Comments
 (0)