Files
duplicati/Duplicati/Library/Backend/Dropbox/WebApi.cs
T
2018-06-23 19:58:56 +02:00

41 lines
1.5 KiB
C#

// Copyright (C) 2018, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using System.Collections.Generic;
using System.Collections.Specialized;
using Duplicati.Library.Utility;
namespace Duplicati.Library.Backend.WebApi
{
public static class Dropbox
{
public static string CreateFolderUrl()
{
return Uri.UriBuilder(Url.API, Path.CreateFolder);
}
private static class Url
{
public const string API = "https://api.dropboxapi.com/2";
public const string CONTENT_API_URL = "https://content.dropboxapi.com/2";
}
private static class Path
{
public const string CreateFolder = "files/create_folder";
}
}
}