Table of Contents

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

string

AuthRequest

The API path for the auth request endpoint.

public const string AuthRequest = "/api/v1/auth/request"

Field Value

string

AuthRequestCode

The API path for the auth request code endpoint.

public const string AuthRequestCode = "/api/v1/auth/requestcode"

Field Value

string

Command

The API path for the command endpoint.

public const string Command = "/api/v1/command"

Field Value

string

Metadata

The API path for the metadata endpoint.

public const string Metadata = "/metadata"

Field Value

string

Playlists

The API path for the playlists" endpoint.

public const string Playlists = "/api/v1/playlists"

Field Value

string

Realtime

The API path for the realtime endpoint.

public const string Realtime = "/api/v1/realtime"

Field Value

string

State

The API path for the state endpoint.

public const string State = "/api/v1/state"

Field Value

string

SupportedVersion

The supported version. Will be used to build the API path.

public const string SupportedVersion = "v1"

Field Value

string