16#include <rapidjson/fwd.h>
27 std::string GetAPIEndpoint()
const;
29 std::string GetOAuthLoginPage()
const;
31 std::string GetOAuthClientID()
const;
33 std::string GetOAuthClientSecret()
const;
35 std::string GetOAuthRedirectURL()
const;
37 std::string GetAPIUrl(std::string_view apiURI)
const;
39 std::string GetFinishUploadPage(std::string_view audioID, std::string_view token)
const;
41 std::string GetAudioURL(std::string_view userSlug, std::string_view audioSlug)
const;
43 std::chrono::milliseconds GetProgressCallbackTimeout()
const;
45 std::vector<std::string> GetPreferredAudioFormats(
bool preferLossless =
true)
const;
47 rapidjson::Document GetExportConfig(
const std::string& exporterName)
const;
50 std::string GetDownloadMime()
const;
52 std::string GetAcceptLanguageValue()
const;
54 std::string GetCreateProjectUrl()
const;
55 std::string GetCreateSnapshotUrl(std::string_view projectId)
const;
56 std::string GetSnapshotSyncUrl(
57 std::string_view projectId, std::string_view snapshotId)
const;
58 std::string GetProjectsUrl(
int page,
int pageSize, std::string_view searchTerm)
const;
60 std::string GetProjectInfoUrl(std::string_view projectId)
const;
61 std::string GetSnapshotInfoUrl(
62 std::string_view projectId, std::string_view snapshotId)
const;
63 std::string GetDeleteSnapshotUrl(
64 std::string_view projectId, std::string_view snapshotId)
const;
66 std::string GetNetworkStatsUrl(std::string_view projectId)
const;
68 GetProjectPageUrl(std::string_view userId, std::string_view projectId)
const;
70 GetProjectsPageUrl(std::string_view userId)
const;
Configuration for the audio.com.
std::string mOAuthLoginPage
std::string mOAuthRedirectURL
std::string mFinishUploadPage
std::string mOAuthClientSecret
std::string mPreferredMimeType
std::string mOAuthClientID
const ServiceConfig & GetServiceConfig()
Returns the instance of the ServiceConfig.