# Simple REST API

**URL:** <https://community.volumio.com/t/simple-rest-api/4672>\
**Category:** Help\
**Created:** [November 13, 2016, 12:23pm UTC](https://community.volumio.com/t/simple-rest-api/4672 "2016-11-13T12:23:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![christophe](https://community.volumio.com/user_avatar/community.volumio.com/christophe/32/5174_2.png) [@christophe](https://community.volumio.com/u/christophe)\
**Post date:** [November 13, 2016, 12:23pm UTC](https://community.volumio.com/t/simple-rest-api/4672/1 "2016-11-13T12:23:19Z")

</div>

Hi

I would like to include volumio into my home controller but unfortunately I can not use websocket (technology limitation)  
I don’t care about api feedback, I simply want to

- clear queue
- add and play a given playlist
- pause/stop/play the queue
- volume up/down

I tried to achieve that with basic MPD client (like bash: mpdc) but looks like it’s not working

It there another way to achieve that or do we need a new feature in volumio (I though it was present in volumio-1  
I possible a basic REST api will be perfect [volumio/queue/?action=clear](http://volumio/queue/?action=clear) or /clear …

Thx in advance

---

<div class="post-metadata">

**Author:** ![volumio](https://community.volumio.com/user_avatar/community.volumio.com/volumio/32/3_2.png) [@volumio](https://community.volumio.com/u/volumio)\
**Post date:** [November 13, 2016, 1:51pm UTC](https://community.volumio.com/t/simple-rest-api/4672/2 "2016-11-13T13:51:55Z")

</div>

We are including a REST API in the my\_volumio branch:

[github.com/volumio/Volumio2/blo … i/index.js](https://github.com/volumio/Volumio2/blob/my_volumio/app/plugins/user_interface/rest_api/index.js)

If you want you can add the call you need (look in the websocket interface file and add them to rest api, then please do a PR)

---

<div class="post-metadata">

**Author:** ![christophe](https://community.volumio.com/user_avatar/community.volumio.com/christophe/32/5174_2.png) [@christophe](https://community.volumio.com/u/christophe)\
**Post date:** [December 12, 2016, 9:32pm UTC](https://community.volumio.com/t/simple-rest-api/4672/3 "2016-12-12T21:32:35Z")

</div>

OK, Thanks I’ll have a look

Christophe
