We're trying to push around 237 pages to MDN, using the PUT API , for WebExtensions API reference documentation, and they need to be tagged correctly for the sidebar to work. But it seems like the tags aren't getting set correctly. Using a very slightly modified version of the example, , the page is published fine, and the title is set, but the tags are not what I expected . It also doesn't seem to suppress the TOC, which I thought '"show_toc": 0' would do for me. I asked in dev-mdc and Jean-Yves told me that this has never worked. I'd much rather not have to fix up all 237 pages manually.  https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/PUT_API  https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/PUT_API#applicationjson  https://gist.github.com/wbamberg/22f03b77356573b5761c#file-test_put-sh  https://developer.allizom.org//en-US/docs/User:wbamberg/PutExample
I tested this locally. It appears that the API doesn't take a list of tag strings, but a single string with a comma separated list of tags. E.g., change ["test", "me"] in the JSON to "test me" or "test, me".
Yes! https://developer.allizom.org/en-US/Add-ons/WebExtensions/API/bookmarks Thank you! \o/
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
Oh, sorry, I did not realise the connection earlier. I do this and related things in https://github.com/anaran/webidl2mdn/blob/master/webidl2mdn-jetpack/data/webidl2skeleton.js#L202 I am still looking for the right functionality of my webidl2 to MDN skeleton generator. https://addons.mozilla.org/en-US/firefox/addon/mdn-web-api-referee/versions/?page=1#version-0.0.2
You need to log in before you can comment on or make changes to this bug.