Appearance
Toplist API playground
Build a request for GET /api/v1/toplists. Copy it in your language, or send it from this page.
curl "https://{tenant}/api/v1/toplists?page=1" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json"The samples use YOUR_TOKEN. The token you type below is not put in them.
The request goes from your browser to your tenant. The token is not stored and is not sent to docs.dataflair.ai.
How the playground works
- The request goes from your browser straight to your tenant. It does not pass through docs.dataflair.ai.
- The tenant must end in
.dataflair.ai. Any other host is rejected before a request is built. - Your token stays in memory in this page. It is not stored. It is not put in the address of this page, and it is not put in the code samples.
- The playground only reads.
GET /api/v1/toplistschanges nothing on your tenant. - A failed request shows its status, its time and the body. It links to the matching row in the error table.
- If your browser cannot reach your tenant, use the
curlsample. - The playground does not follow redirects, so your token is not sent to any host but the one you typed.
Test this
This page is the test. The same request in curl:
bash
curl "https://{tenant}/api/v1/toplists?page=1" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Accept: application/json"