Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
docs: API updates to reflect reality #1379
Conversation
robert-ancell
added some commits
Jun 21, 2016
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
I've attempted to document all the fields as returned from snapd, some of them I'm not sure what they mean exactly so please check if the descriptions could be improved. |
|
add to whitelist |
|
Thanks for this update! |
|
Looks good |
niemeyer
reviewed
Jun 22, 2016
| @@ -225,14 +229,20 @@ snaps is supported via the `refresh` key. | ||
| [//]: # keep the fields sorted, both in the description and the sample above. Makes scanning easier | ||
| -* `description`: snap description | ||
| +* `channel`: which channel the package is currently tracking. |
niemeyer
reviewed
Jun 22, 2016
| @@ -225,14 +229,20 @@ snaps is supported via the `refresh` key. | ||
| [//]: # keep the fields sorted, both in the description and the sample above. Makes scanning easier | ||
| -* `description`: snap description | ||
| +* `channel`: which channel the package is currently tracking. | ||
| +* `confinement`: the confinement used; one of `strict` or `devmode`. |
niemeyer
Jun 22, 2016
Contributor
* `confinement`: the confinement requested by the snap itself; one of `strict` or `devmode`.
* `devmode`: whether the snap is currently installed in development mode
niemeyer
Jun 22, 2016
Contributor
Sorry, devmode should go below. This is the results from find only.
niemeyer
reviewed
Jun 22, 2016
| * `download-size`: how big the download will be. | ||
| * `icon`: a url to the snap icon, possibly relative to this server. | ||
| +* `id`: Unique ID for this snap |
niemeyer
reviewed
Jun 22, 2016
| * `name`: the snap name. | ||
| * `prices`: JSON object with properties named by ISO 4217 currency code. The values of the properties are numerics representing the cost in each currency. For free snaps, the "prices" property is omitted. | ||
| +* `private`: true if this is not a publically available snap. |
niemeyer
Jun 22, 2016
Contributor
* `private`: whether this snap is available to its author only or public
niemeyer
reviewed
Jun 22, 2016
| * `installed-size`: how much space the snap itself (not its data) uses. | ||
| * `install-date`: the date and time when the snap was installed. | ||
| -* `status`: can be either `installed` or `active` (i.e. is current). | ||
| +* `trymode`: true if the app was installed in try mode. |
niemeyer
Jun 22, 2016
Contributor
Please copy the devmode description here.
Also, why was status dropped? Note that the description differs.
niemeyer
changed the title from
Snapd docs update
to
docs: API updates to reflect reality
Jun 22, 2016
robert-ancell
added some commits
Jun 22, 2016
|
THanks! |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
niemeyer
merged commit 371d306
into
snapcore:master
Jun 28, 2016
niemeyer
referenced this pull request
in ubuntu-core/snappy-jenkins
Jun 29, 2016
Open
Bot spams pull requests unnecessarily #184
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
robert-ancell commentedJun 21, 2016
No description provided.