16#include <rapidjson/fwd.h>
29 std::string GetAPIEndpoint()
const;
33 std::string GetOAuthClientID()
const;
35 std::string GetOAuthClientSecret()
const;
37 std::string GetOAuthRedirectURL()
const;
39 std::string GetAPIUrl(std::string_view apiURI)
const;
41 std::string GetFinishUploadPage(
42 std::string_view audioID, std::string_view token,
45 std::string GetAudioURL(
46 std::string_view userSlug, std::string_view audioSlug,
49 std::chrono::milliseconds GetProgressCallbackTimeout()
const;
51 std::vector<std::string> GetPreferredAudioFormats(
bool preferLossless =
true)
const;
53 rapidjson::Document GetExportConfig(
const std::string& exporterName)
const;
56 std::string GetDownloadMime()
const;
58 std::string GetAcceptLanguageValue()
const;
60 std::string GetCreateProjectUrl()
const;
61 std::string GetCreateSnapshotUrl(std::string_view projectId)
const;
62 std::string GetSnapshotSyncUrl(
63 std::string_view projectId, std::string_view snapshotId)
const;
64 std::string GetProjectsUrl(
int page,
int pageSize, std::string_view searchTerm)
const;
66 std::string GetProjectInfoUrl(std::string_view projectId)
const;
67 std::string GetSnapshotInfoUrl(
68 std::string_view projectId, std::string_view snapshotId)
const;
69 std::string GetDeleteSnapshotUrl(
70 std::string_view projectId, std::string_view snapshotId)
const;
72 std::string GetNetworkStatsUrl(std::string_view projectId)
const;
73 std::string GetProjectPageUrl(
74 std::string_view userId, std::string_view projectId,
77 GetProjectsPageUrl(std::string_view userId,
AudiocomTrace)
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.