List Application Images
- Name
get
- Type
- /v1/applications
- Description
Send a
GET
request to list application images.
Request
Example
curl -X GET "https://api.simplystack.com/v1/applications" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
Response
JSON object with key named applications
which is an array of the following attributes for the applications object:
Attributes
- Name
id
- Type
- integer
- Description
Application image unique integer identifier.
- Name
slug
- Type
- string
- Description
Application image unique string identifier.
- Name
name
- Type
- string
- Description
Human readable name of the application image.
- Name
size_ids
- Type
- array
- Description
Available size IDs of the image.
- Name
available
- Type
- boolean
- Description
A boolean value indicates that the distribution is available for installation.
- Name
extra_price
- Type
- decimal
- Description
Value of the extra price of the distribution in US$.
Example
json
{
"applications": [
{
"name": "Django 1.8.7 on Ubuntu 16.04",
"slug": "django-1-8",
"available": true,
"extra_price": 0.0,
"size_ids": [1, 2, 3, 4, 5, 6, 7, 8]
},
{
"name": "Wordpress 4.8 on Ubuntu 16.04",
"slug": "wordpress-4-8",
"available": true,
"extra_price": 0.0,
"size_ids": [2, 3, 4, 5, 6, 7, 8]
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"pages": 1,
"per_page": 25,
"previous_page": null,
"total": 2
},
"query": null,
"sort": null
}
}