Skip to content

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

@scrool

Description

@scrool

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions