Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Idea: API Candidate
#6
(12-31-2023, 08:21 PM)Tim Curtis Wrote: I tried the link in your OP but it looks like its broken.

Here's a paste from the PDF.  it looks better in the doc, though.  I'll try to fix it later when we get back from the doc.

FastAPI
/openapi.json

default
GET / Root

GET /mpc/consume Consume

GET /mpc/clear Clear

GET /mpc/current Current

GET /mpc/lsplaylists Lsplaylists

GET /mpc/load/{file} Load

GET /mpc/next Next

GET /mpc/pause Pause

GET /mpc/play/{song_number} Play

GET /mpc/prev Prev

GET /mpc/random Random

GET /mpc/repeat Repeat

GET /mpc/shuffle Shuffle

GET /mpc/stop Stop

GET /mpc/toggle Toggle
0.1.0 OAS 3.1

GET /mpc/volume/ Volume

GET /mpc/volume/{absolute_level} Absolute Volume

GET /mpc/mute Mute

GET /mpc/restore Restore

GET /mpc/volumeup/{increment} Volumeup

GET /mpc/volumedn/{increment} Volumedn
Reply


Messages In This Thread
API Candidate - by ubergoober - 12-31-2023, 07:04 PM
RE: API Candidate - by Tim Curtis - 12-31-2023, 07:13 PM
RE: API Candidate - by Tim Curtis - 12-31-2023, 07:16 PM
RE: API Candidate - by ubergoober - 12-31-2023, 07:26 PM
RE: API Candidate - by Tim Curtis - 12-31-2023, 08:21 PM
RE: API Candidate - by ubergoober - 12-31-2023, 08:54 PM
RE: API Candidate - by ubergoober - 12-31-2023, 10:46 PM
RE: API Candidate - by Nutul - 01-01-2024, 05:38 PM
RE: API Candidate - by ubergoober - 01-01-2024, 09:05 PM
RE: API Candidate - by Tim Curtis - 01-06-2024, 04:55 PM
RE: API Candidate - by ubergoober - 01-06-2024, 06:11 PM
RE: API Candidate - by Tim Curtis - 01-06-2024, 06:26 PM
RE: API Candidate - by ubergoober - 01-06-2024, 07:53 PM

Forum Jump: