Marketplace/LangPacks: Difference between revisions

add updating instructions
(fix urls)
(add updating instructions)
Line 33: Line 33:


  $ curling https://marketplace.firefox.com/api/v2/langpacks/<paste-langpack-uuid-from-previous-line-here>/
  $ curling https://marketplace.firefox.com/api/v2/langpacks/<paste-langpack-uuid-from-previous-line-here>/
==== Updating an existing langpack ====
Validate a langpack like above, then:
$ curling -X PUT -d '{"upload": "<paste-validation-id-from-previous-line-here>"}' https://marketplace.firefox.com/api/v2/langpacks/<paste-langpack-uuid-here>/
Note: the ''version'' field in your manifest needs to be different.
20

edits