Template talk:API endpoint infobox

From Guild Wars 2 Wiki
Jump to navigationJump to search

Add authorization requirement and scopes?[edit]

I think the infobox could do with a flag whether or not an authorization token is required (adds Category:Authenticated endpoint?), which scopes are required and which scopes produce additional data (one example being v2/characters requiring account and characters and the optional-ish inventories scope in the current API-CDI). --zeeZUser ZeeZ Sig.png (talk) 09:46, 24 June 2015 (UTC)

OK for me. Raljeor (talk) 10:49, 24 June 2015 (UTC)
Added. Category is added if any scopes are defined.--Relyk ~ talk < 11:43, 24 June 2015 (UTC)
What about additional/optional scopes though? :P --zeeZUser ZeeZ Sig.png (talk) 18:44, 24 June 2015 (UTC)
You can add multiple scopes. I don't know about optional scopes. List them as a section called Optional?--Relyk ~ talk < 10:34, 28 June 2015 (UTC)

Ädd authenticated and localized properties[edit]

I wonder if it's an idea to add authenticated and localized as properties in the infobox. And possibly add links to the respective API info pages as well. This means that we would have the option to remove the parameters about access_token and lang from all pages and only have the endpoint specific parameters. I'd like to try it myself, but even though I'm capable of adding new rows to the infobox, I have no clue how Semantic MediaWiki works... Archomeda (talk) 12:02, 23 July 2018 (UTC)