OpenAPI документация для status.json 2.0
swagger: 2.0
info: [+]
description: MyRadio24 API
version: 2.0.0
title: MyRadio24 API
contact: [+]
email: noreply@example.com
license: [+]
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
host: myradio24.com
basePath: /myradio24/2.0.0
tags: [+]
0: [+]
name: developers
description: Operations available to regular developers
schemes: [+]
0: https
paths: [+]
/users/${userName}/status.json: [+]
get: [+]
tags: [+]
0: developers
summary: station info
description: You can get information about the station
operationId: stationInfo
produces: [+]
0: application/json
parameters: [+]
0: [+]
name: userName
in: path
description: pass a search string for looking up inventory
required: true
type: string
responses: [+]
definitions: [+]
station: [+]
type: object
properties: [+]
port: [+]
type: string
example: demo
description: Station identifier (username)
online: [+]
type: integer
description: 0 - offile; 1 - online
kbps: [+]
limit: [+]
title: [+]
type: string
example: DEMO
description: Station title
djname: [+]
type: string
example: Auto-DJ
description: DJ Name
song: [+]
type: string
example: The Kyoto Connection - Hachiko (The Faithtful Dog)
genre: [+]
type: string
example: other
description: Station genre
url: [+]
type: string
example: https://myradio24.org/demo
description: Station URL
streamname: [+]
type: string
example: Auto-DJ
files: [+]
listeners: [+]
nolisteners: [+]
plisteners: [+]
country: [+]
type: string
example: russia
description: Station country
favorites: [+]
artist: [+]
type: string
example: The Kyoto Connection
songtitle: [+]
type: string
example: Hachiko (The Faithtful Dog)
img: [+]
type: string
example: artists/1014c250f5f80f98ba2fa342c38d0d7f.jpg
description: Path to the cover image relatively to https://myradio24.com/ (300x300px, medium quality)
logo: [+]
type: string
description: Path to the logo image relatively to https://myradio24.com/ (300x70px, medium quality)
enabletable: [+]
type: integer
example: [+]
turntable: [+]
type: integer
example: [+]
nextsongs: [+]
playlist: [+]
type: string
streams: [+]
rank: [+]
songs: [+]
stream: [+]
type: object
properties: [+]
song: [+]
type: object
properties: [+]
time: [+]
song: [+]
type: string
example: Ketsa - Wounds
description: Full song title with artist
img: [+]
type: string
example: artists/204056ebabc387c9f6e234026ec75854.jpg
description: Path to the cover image relatively to https://myradio24.com/ (300x300px, medium quality)
songid: [+]
type: string
example: 188046582412354572
description: Unique song ID as string (max value bigint unsigned 20 digits)
artist: [+]
type: string
example: Ketsa
description: Artist name
songtitle: [+]
type: string
example: Wounds
description: Song title
rank: [+]