Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.html #831

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ <h1>Sonos API</h1>

<div class="docs">
<h2>Info</h2>
<p><span class="method">GET</span> <a href="/state">/state</a></p>
<p><span class="method">GET</span> <a href="/zones">/zones</a></p>
<p><span class="method">GET</span> <a href="/favorites">/favorites</a></p>
<p><span class="method">GET</span> <a href="/playlists">/playlists</a></p>
Expand Down Expand Up @@ -106,11 +107,6 @@ <h4>Other</h4>
<ul>
<li>say</li>
</ul>

<h4>Internals</h4>
<ul>
<li>state <span class="explanation">returns a json-representation of the current state of player</span></li>
</ul>
Comment on lines -109 to -113
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every zone has a /state endpoint, so this should not be deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is moved to a different area, and remains in the index.html as a clickable link. So /state is not deleted from the file.

</div>

<div class="footer">
Expand Down