lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
417 stars 140 forks source link

Question: Is HTML the right response for broadcast endpoint? #246

Closed cassiofb-dev closed 1 year ago

cassiofb-dev commented 1 year ago

Hi, I'm trying to get some broadcast info with lichess api but the return type in the docs and in the actual response seems different. Am I missing something?

The endpoint I am using

image

The response I am getting

image

niklasf commented 1 year ago

This endpoint requires OAuth (Authorization: Bearer ... header). Otherwise it falls back to a non-API page.

cassiofb-dev commented 1 year ago

Thanks, that makes sense. I didn't tried with token because it didn't have required label as the other fields.