Skip to content

Commit 2f27eab

Browse files
Merge pull request #2587 from Dorthu/document-final-changes
Documents final changes to release
2 parents d5214b6 + 07da4f4 commit 2f27eab

File tree

3 files changed

+54
-15
lines changed

3 files changed

+54
-15
lines changed

docs/src/data/endpoints/profile.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ endpoints:
316316
as well as applications that you have created and authorized yourself.
317317
methods:
318318
GET:
319+
response: oauthapp
319320
description: >
320321
Returns all application allowed to access your user's resources.
321322
examples:

docs/src/data/objects/linode.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,18 @@ schema:
2626
type: Integer
2727
value: 10000
2828
description: Disk IO Rate ops/sec (Range 0-100000, default 10000). 0 to disable.
29-
transfer:
30-
type: Object
31-
description: Thresholds for sending email alerts.
32-
in:
33-
type: Integer
34-
value: 0
35-
description: Incoming Traffic Mbit/s (Range 0-40000, default 10). 0 to disable.
36-
out:
37-
type: Integer
38-
value: 10
39-
description: Outbound Traffic Mbit/s (Range 0-10000, default 10). 0 to disable.
40-
quota:
41-
type: Integer
42-
value: 80
43-
description: Transfer Quota % (Range 0-400, default 80). 0 to disable.
29+
network_in:
30+
type: Integer
31+
value: 0
32+
description: Incoming Traffic Mbit/s (Range 0-40000, default 10). 0 to disable.
33+
network_out:
34+
type: Integer
35+
value: 10
36+
description: Outbound Traffic Mbit/s (Range 0-10000, default 10). 0 to disable.
37+
transfer_quota:
38+
type: Integer
39+
value: 80
40+
description: Transfer Quota % (Range 0-400, default 80). 0 to disable.
4441
backups:
4542
type: Object
4643
seeAlso: "/reference/endpoints/linode/instances/$id/backups"

docs/src/data/objects/oauthapp.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: OAuth App
2+
prefix: profile/apps
3+
description: >
4+
An application you have authorized to access your account.
5+
schema:
6+
id:
7+
type: Integer
8+
value: 123
9+
description: >
10+
The authorization ID for this application.
11+
label:
12+
type: String
13+
description: >
14+
This application's name.
15+
value: Install-on-Linode
16+
thumbnail_url:
17+
type: String
18+
description: A link to this application's thumbnail, or null if unset.
19+
value: null
20+
scopes:
21+
type: String
22+
description: >
23+
The OAuth Scopes you granted this application when you authorized it.
24+
These were presented on login.linode.com when you were granting the
25+
application access to your account.
26+
value: linodes:*
27+
created:
28+
type: Datetime
29+
description: When you granted this application access to your account.
30+
value: 2017-10-02T07:37:23
31+
expiry:
32+
type: Datetime
33+
description: >
34+
The date and time when this token is no longer honored as valid. You can
35+
expire a token immediately by sending a DELETE request to its resource.
36+
value: 2017-10-16T07:37:23
37+
website:
38+
type: String
39+
description: >
40+
The domain where this application lives, as determined by its redirect_uri.
41+
value: http://localhost:8000

0 commit comments

Comments
 (0)