Skip to content

Docs/feedback cleanup #21

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 5 commits into from
Dec 22, 2017
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions src/data/objects/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ schema:
limit: 1-255 characters
status:
type: Enum
subtype: Status
subtype: BackupStatus
value: successful
description: Status of the backup.
filterable: false
Expand Down Expand Up @@ -57,7 +57,7 @@ schema:
value: daily
description: If this backup is available, which backup slot it is in. Otherwise, unavailable.
enums:
Status:
BackupStatus:
paused: Backup job is currently suspended.
pending: Backup job has not started yet.
running: Backup job is currently running.
Expand Down
6 changes: 5 additions & 1 deletion src/data/objects/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ schema:
value: Arch
description: The upstream distribution vendor. Consistent between releases of a distro.
None for private images.
filterable: true
deprecated:
type: Boolean
value: false
description: Whether or not this image is deprecated. Will only be true for deprecated
public images.
enums:
Type:
manual: Image was created manually
Expand Down
4 changes: 2 additions & 2 deletions src/data/objects/invoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ schema:
value: 123
description: The invoice's ID.
total:
type: integer
value: 120
type: Float
value: 120.0
filterable: true
description: The amount of the invoice in U.S. Dollars.
label:
Expand Down
8 changes: 4 additions & 4 deletions src/data/objects/invoice_item.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ schema:
value: prepay
description: The type of service, either 'prepay' or 'misc'
amount:
type: integer
value: 20
type: Float
value: 20.0
description: The price, in U.S. Dollars, of unitprice multiplied by quantity.
unitprice:
type: integer
value: 10
type: Float
value: 10.0
description: The monthly service fee (in US Dollars) for this item.
label:
type: string
Expand Down
11 changes: 6 additions & 5 deletions src/data/objects/linode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ schema:
description: If enabled, the last snapshot that was successfully taken.
type: backup
created:
type: String
value: "2015-09-29T11:21:01"
description: The time at which this Linode was created.
type: Datetime
value: 2015-09-29T11:21:01
region:
type: String
filterable: true
Expand All @@ -74,11 +75,11 @@ schema:
value: us-east-1a
image:
description: >
The image that this Linode booted to last, if known. Currently this will
only display official images.
type: Image
The ID of the image that this Linode booted to last, if known.
type: String
seeAlso: "/reference/endpoints/images"
filterable: true
value: linode/debian8
group:
editable: true
type: String
Expand Down
2 changes: 1 addition & 1 deletion src/data/objects/linodenetworking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ schema:
slaac:
type: ipv6-address
description: >
This Linode's SLACC range.
This Linode's SLAAC range.
link_local:
type: String
value: f300::f03c:91ff:fe96:46da
Expand Down
4 changes: 2 additions & 2 deletions src/data/objects/longviewsubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ schema:
description: Cost (in cents) per hour.
filterable: true
monthly:
type: Integer
value: 40
type: Float
value: 40.0
description: Cost (in US dollars) per month.
filterable: true
4 changes: 2 additions & 2 deletions src/data/objects/profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ schema:
value: 2
description: Total number of referrals attributed to user that have not yet converted to full accounts.
credit:
type: Integer
value: 160
type: Float
value: 160.0
description: US Dollar amount of credit based on completed referrals.
ip_whitelist_enabled:
type: Boolean
Expand Down
4 changes: 2 additions & 2 deletions src/data/objects/type.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ schema:
description: Cost (in cents) per hour.
filterable: true
monthly:
type: Integer
type: Float
value: 1000
description: Cost (in US dollars) per month.
filterable: true
Expand All @@ -51,7 +51,7 @@ schema:
description: Cost (in US dollars) per hour.
filterable: true
monthly:
type: Integer
type: Float
value: 2.5
description: Cost (in US dollars) per month.
filterable: true
Expand Down
2 changes: 1 addition & 1 deletion src/data/python/linode_client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ groups:
methods:
get_distributions:
desc: >
Retrieves a list of Distribution objects. This function is filterable - include fitlers
Retrieves a list of Distribution objects. This function is filterable - include filters
in the parameters list to retrieve only specific objects.
parameters:
'*filters':
Expand Down