POST Playlist endpoint?

Curious whether there will ever be an endpoint to POST the creation of a new playlist. I would volunteer to implement it if there was interest.

Here’s an example to justify it:

  1. Each DJ at our station has an RFID badge used to get into the station’s front door. After they enter the broadcast booth to start their show, they would tap their card at a RFID reader.
  2. The reader POSTs the GUID of the DJ to our local server.
  3. Our local server performs a SQL lookup from our database on the GUID to match it to a Spinitron Persona ID.
  4. Using the Persona ID (PID), assuming they belong to only one show, get the Show ID (SID).
  5. Using the PID, SID, and time of day, our server would make a POST request to Spinitron to immediately create a new playlist under the indicated show, belonging to the indicated persona.
  6. Spinitron’s response would include the ID of the playlist just generated. Our server would then send a direct message to the DJ with a link to edit their playlist (to add an episode title/description or to adjust the duration, etc.) by using the PID and the base url https://spinitron.com/m/playlist/edit/{PID}
1 Like