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;
40 std::string GetAuthWithRedirectURL()
const;
42 std::string GetAPIUrl(std::string_view apiURI)
const;
44 std::string GetFinishUploadPage(
45 std::string_view audioID, std::string_view token,
48 std::string GetAudioURL(
49 std::string_view userSlug, std::string_view audioSlug,
52 std::chrono::milliseconds GetProgressCallbackTimeout()
const;
54 std::vector<std::string> GetPreferredAudioFormats(
bool preferLossless =
true)
const;
56 rapidjson::Document GetExportConfig(
const std::string& exporterName)
const;
59 std::string GetDownloadMime()
const;
61 std::string GetAcceptLanguageValue()
const;
63 std::string GetCreateProjectUrl()
const;
64 std::string GetCreateSnapshotUrl(std::string_view projectId)
const;
65 std::string GetSnapshotSyncUrl(
66 std::string_view projectId, std::string_view snapshotId)
const;
67 std::string GetProjectsUrl(
int page,
int pageSize, std::string_view searchTerm)
const;
69 std::string GetProjectInfoUrl(std::string_view projectId)
const;
70 std::string GetSnapshotInfoUrl(
71 std::string_view projectId, std::string_view snapshotId)
const;
72 std::string GetDeleteSnapshotUrl(
73 std::string_view projectId, std::string_view snapshotId)
const;
75 std::string GetNetworkStatsUrl(std::string_view projectId)
const;
76 std::string GetProjectPagePath(std::string_view userSlug, std::string_view projectSlug,
79 GetProjectsPagePath(std::string_view userSlug,
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
std::string mAuthWithRedirectURL
const ServiceConfig & GetServiceConfig()
Returns the instance of the ServiceConfig.