Skip to content

bug: Fix documentation example for /images #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions src/data/objects/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: >
image created by Linode for public use.
schema:
id:
type: Integer
value: 12345
type: String
value: linode/ubuntu17.10
description: The ID of this image
label:
type: String
value: ubuntu_17.4_with_rails_5
value: Ubuntu 17.10
description: |
A short description of the image. Labels cannot
contain special characters.
Expand All @@ -18,19 +18,15 @@ schema:
editable: true
description:
type: String
value: Ubuntu 17.4 with Ruby on Rails 5
value: Ubuntu 17.10 with Ruby on Rails 5
description: |
A detailed description of this image.
limit: 0-65000 characters
editable: true
created:
type: String
value: "2015-09-29T11:21:01"
value: "2017-10-19T20:19:16"
description: When the image was created.
updated:
type: String
value: "2015-09-29T11:21:01"
description: The last time the image was modified.
type:
type: Enum
subtype: Type
Expand All @@ -43,15 +39,15 @@ schema:
description: True if the image is public.
size:
type: Integer
value: 1000
value: 2250
description: The minimum size this image needs to deploy.
created_by:
type: String
value: your_username
value: linode
description: The name of the user who created this image, or linode for official images.
vendor:
type: String
value: Arch
value: Ubuntu
description: The upstream distribution vendor. Consistent between releases of a distro.
None for private images.
deprecated:
Expand Down