Your applications and the publishers you may write for
const url = 'https://api.thebgdb.org/v1/publisher/applications';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.thebgdb.org/v1/publisher/applications \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your applications, newest first, and in publishers the publishers your games:write tokens may write for.
object
object
The publisher as games credit it. A moderator may correct it when granting access.
Why it was turned down or withdrawn.
object
Example
{ "data": [ { "status": "pending" } ]}Not logged in.
object
What went wrong, in plain English words. The wording may change: act on code.
A stable name for this refusal, for programs and for showing the message in another language. A code is never renamed; new ones may be added.
The numbers the sentence names, when it names any: for example { "max": 20 } with daily_photo_limit.
object
On every refusal over a limit (rate_limited, weekly_limit, coverage_limit): where higher limits are to be had. The same pricing address is in the Link header, with rel="payment".
object
The plans and prices page.
The account page, where a member makes a free API token.
Example
{ "error": "Game not found", "code": "game_not_found"}