Class Endpoints
- Namespace
- XeroxDev.YTMDesktop.Companion.Constants
- Assembly
- XeroxDev.YTMDesktop.Companion.dll
This class contains the endpoints for the API.
public static class Endpoints
- Inheritance
-
Endpoints
- Inherited Members
Fields
Api
The API path.
public const string Api = "/api/v1"
Field Value
AuthRequest
The API path for the auth request endpoint.
public const string AuthRequest = "/api/v1/auth/request"
Field Value
AuthRequestCode
The API path for the auth request code endpoint.
public const string AuthRequestCode = "/api/v1/auth/requestcode"
Field Value
Command
The API path for the command endpoint.
public const string Command = "/api/v1/command"
Field Value
Metadata
The API path for the metadata endpoint.
public const string Metadata = "/metadata"
Field Value
Playlists
The API path for the playlists" endpoint.
public const string Playlists = "/api/v1/playlists"
Field Value
Realtime
The API path for the realtime endpoint.
public const string Realtime = "/api/v1/realtime"
Field Value
State
The API path for the state endpoint.
public const string State = "/api/v1/state"
Field Value
SupportedVersion
The supported version. Will be used to build the API path.
public const string SupportedVersion = "v1"