Publishing new extensions through API

177 views
Skip to first unread message

Rain Cao

unread,
Jun 4, 2024, 5:16:12 AM6/4/24
to Chromium Extensions
Hello. I am working on a project where I want to publish the chrome extensions programmatically. I found the documentation regarding the APIs here, however there isn't much explanation besides an example curl request. I am relatively new to interacting with APIs so I would really appreciate any help or guidance!

My question is, when submitting a new extension through the developer account, there are many fields such as description, store icon, category, language, etc. to fill out, but in the documentation it seems like it's only uploading the zip file and none other fields:

curl -H "Authorization: Bearer $TOKEN" -H "x-goog-api-version: 2" -X POST
-T $FILE_NAME -v https://www.googleapis.com/upload/chromewebstore/v1.1/items


Therefore I am confused on how to publish new extensions to the chrome store programmatically? Or is there a simpler way to do this? 

Oliver Dunk

unread,
Jun 4, 2024, 5:24:22 AM6/4/24
to Rain Cao, Chromium Extensions
Hi Rain,

We don't currently support publishing new items end to end using the API. You can make a POST request to https://www.googleapis.com/upload/chromewebstore/v1.1/items to create a new item, but you will need to head to the Chrome Web Store Developer Dashboard to fill in certain metadata.

The most common flow people use is:
  • Publish your first release manually in the UI
  • Note the extension ID, and publish subsequent updates using the API
  • If you need to change metadata, return to the Chrome Web Store Developer Dashboard
I hope that helps :)
Oliver Dunk | DevRel, Chrome Extensions | https://developer.chrome.com/ | London, GB


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/25e21ca6-138a-4cb2-bd1a-a20458cf9b39n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages