Difference between revisions of "Requests"

From MSX - Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Since version '''0.1.128''', it is also possible to replace specific keywords inside a JSON URL with the corresponding values. Please see following available keywords.
 
Since version '''0.1.128''', it is also possible to replace specific keywords inside a JSON URL with the corresponding values. Please see following available keywords.
  
<code>{HOST}</code>, <code>{SECURE}</code>, <code>{CLIENT}</code>, <code>{PLATFORM}</code>, <code>{PLAYER}</code>, <code>{WIDTH}</code>, <code>{HEIGHT}</code>.  
+
<code>{HOST}</code>, <code>{SECURE}</code>, <code>{CLIENT}</code>, <code>{PLATFORM}</code>, <code>{ID}</code>, <code>{PLAYER}</code>, <code>{WIDTH}</code>, <code>{HEIGHT}</code>.  
  
 
Please see following action examples and the corresponding HTTP requests.
 
Please see following action examples and the corresponding HTTP requests.

Revision as of 09:44, 2 November 2021

If JSON files are requested from a server, a version parameter v (which indicates the current Media Station X version) and a timestamp parameter t (which indicates the current timestamp) are automatically appended. Please see following action examples and the corresponding HTTP requests.

Since version 0.1.128, it is also possible to replace specific keywords inside a JSON URL with the corresponding values. Please see following available keywords.

{HOST}, {SECURE}, {CLIENT}, {PLATFORM}, {ID}, {PLAYER}, {WIDTH}, {HEIGHT}.

Please see following action examples and the corresponding HTTP requests.