← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Click Package upload API

 

Why not limit the interaction to just MyApps, and let devportal to worry
about interacting with updown?


On 2 September 2013 15:02, Ricardo Kirkner <ricardo.kirkner@xxxxxxxxxxxxx>wrote:

> Hello everyone,
>
> I'd like to start the work to allow uploading click packages to the
> AppStore directly from within the SDK by proposing some ideas and getting
> feedback on them.
>
> The current goal, as we understand it is to:
> - allow developers to upload a new click package directly from the SDK
> - allow developers to upload an update to an existing click app directly
> from the SDK
>
> In order to meet these initial goals I propose the following approach:
>
> 1. Provide an API in the Click-Updown service that
> - allows uploading a click app
> - is authenticated
> - will verify the uploaders credentials to correspond to an existing
> Ubuntu One account
> - will verify the requested application already exists in the MyApps
> catalog
> - will verify that the uploader is the application owner (or has the
> equivalent permissions)
>
> 2. Write a reference implementation library that knows how to interact with
> - the Ubuntu One account API to validate the user's credentials and embed
> them properly into the upload request
> - the Click-Updown API to submit the upload request
>
> 3. Write a reference implementation script that will allow simple
> uploading of click packages from the CLI
>
> Limitations
> ----------------
>
> In the first iteration, the click app must already exist in the MyApps
> catalog, and the user will be requested to create it through the web if
> that is not the case. In future iterations this might be extended to allow
> registering the app directly from within the SDK.
>
> The initial version of these APIs will only support uploading of click
> packages, but not publishing them automatically. Changes the to state of a
> click app must be performed by following the existing web-based review
> flows.
>
>
> Let me know what you think of this and of any other details that might be
> relevant to provide the simplest and most useful experience to developers.
>
> Ricardo
>
> --
> Mailing list: https://launchpad.net/~ubuntu-appstore-developers
> Post to     : ubuntu-appstore-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-appstore-developers
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References