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

Post to /xled/v1/playlist with empty entries returns code: 0 #25

Open
scrool opened this issue Nov 27, 2021 · 0 comments
Open

Post to /xled/v1/playlist with empty entries returns code: 0 #25

scrool opened this issue Nov 27, 2021 · 0 comments

Comments

@scrool
Copy link
Collaborator

scrool commented Nov 27, 2021

Interestingly following post:

POST /xled/v1/playlist HTTP/1.1
Host: REDACTED
User-Agent: python-requests/2.26.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
X-Auth-Token: KDrffKRHnEQ=
Content-Length: 15
Content-Type: application/json

{"entries": []}

Returns:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 10
Connection: close

{"code":0}

Tested on FW versions: 2.6.0 and 2.8.3.

I'm not sure if it is only if entries are empty (which might mean that it returned number of items in the playlist) or it is generic response for this call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant