Skip to content

Amazon music

Get and set Amazon Music settings


Set Amazon access token

GET
/setAmazonAccessToken:{str}:{str2}

Makes a call to https://10.10.10.254/httpapi.asp?command=setAmazonAccessToken:{str}:{str2}

Parameters

Path Parameters

str*

Unknown

Type
string
Required
str2*

Unknown

Type
string
Required

Responses

Successful response

Playground

Variables
Key
Value

Samples


Enable Amazon Atmos

GET
/EnableAmazonAtmos:{n}

Makes a call to https://10.10.10.254/httpapi.asp?command=EnableAmazonAtmos:%d

Parameters

Path Parameters

n*

1 to enable, 0 to disable Amazon Atmos

Type
integer
Required

Responses

Successful response

Playground

Variables
Key
Value

Samples


Enable Amazon HD

GET
/EnableAmazonHD:{n}

Makes a call to https://10.10.10.254/httpapi.asp?command=EnableAmazonHD:%d

Parameters

Path Parameters

n*

1 to enable, 0 to disable Amazon HD

Type
integer
Required

Responses

Successful response

Playground

Variables
Key
Value

Samples


Get Amazon HD status

GET
/GetAmazonHD

Makes a call to https://10.10.10.254/httpapi.asp?command=GetAmazonHD

Responses

Successful response

Playground

Samples


Get Amazon Music configuration

GET
/getAmazonConfig

Makes a call to https://10.10.10.254/httpapi.asp?command=getAmazonConfig

Responses

Successful response

Playground

Samples


Set Amazon Music parameters

GET
/setAmazonMusicParams:code={str1}:redirect_uri={str2}:client_id={str3}:code_verifier={str4}

Makes a call to https://10.10.10.254/httpapi.asp?command=setAmazonMusicParams:code=%@:redirect_uri=%@:client_id=%@:code_verifier=%@
Note: The parameters in the command should be replaced with actual values when making the request.

Parameters

Path Parameters

str1*

The code parameter for Amazon Music

Type
string
Required
str2*

The redirect URI for Amazon Music

Type
string
Required
str3*

The client ID for Amazon Music

Type
string
Required
str4*

The code verifier for Amazon Music

Type
string
Required

Responses

Successful response

Playground

Variables
Key
Value

Samples


Set Amazon Prime token

GET
/setPrimeToken:username={str1}:token={str2}:refreshToken={str3}:expires_in={n}

Makes a call to https://10.10.10.254/httpapi.asp?command=setPrimeToken:username=%@:token=%@:refreshToken=%@:expires_in=%ld

Parameters

Path Parameters

str1*

The username for Amazon Prime

Type
string
Required
str2*

The access token for Amazon Prime

Type
string
Required
str3*

The refresh token for Amazon Prime

Type
string
Required
n*

The expiration time in seconds for the access token

Type
integer
Required

Responses

Successful response

Playground

Variables
Key
Value

Samples


Powered by VitePress OpenAPI