We have an API allowing developers to POST a new packaged app , but we don't seem to have anything to POST a new package for any existing app. This means a developer can not 100% manage a packaged app using the API.  POST /api/v2/apps/app/ - http://firefox-marketplace-api.readthedocs.org/en/latest/topics/submission.html#app-post-label
Would be a good occasion to clean up a few things: - The way the POST to create a new app is done  could be simplified and refactored to use the generic DRF implementation of create(), with a custom serializer, like I've implemented it in the langpacks API . It might then be possible to share that code with the API view that this bug is about. - Another thing that should be extracted and shared is what is currently done in the view when you submit a new version in the devhub .  https://github.com/mozilla/zamboni/blob/08e329d475312c1b96d3c238eee1af66d4e94737/mkt/webapps/views.py#L130  https://github.com/mozilla/zamboni/blob/0f4b1d7b93ad9c9f5685cdc3c4686de2ff04e44a/mkt/langpacks/serializers.py#L10  https://github.com/mozilla/zamboni/blob/08e329d475312c1b96d3c238eee1af66d4e94737/mkt/developers/views.py#L211
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.