Skip to content

Commit 621814d

Browse files
author
Josh Sager
committed
bug: Missing /account/transfer endpoint
* Created object and endpoint data for /account/transfer
1 parent aae4890 commit 621814d

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

src/data/endpoints/account.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,3 +673,19 @@ endpoints:
673673
The PayerID returned by PayPal during the transaction authorization
674674
process.
675675
value: ABCDEFGHIJKLM
676+
/account/transfer:
677+
group: Transfer
678+
type: resource
679+
authenticated: true
680+
description: >
681+
View your network utilization for the current month, in gigabytes.
682+
methods:
683+
GET:
684+
response: transfer
685+
oauth: account:view
686+
description: >
687+
Returns transfer pool statistics based on active Linodes and
688+
NodeBalancers on your account.
689+
examples:
690+
curl: |
691+
curl https://$api_root/$version/account/transfer

src/data/objects/transfer.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Transfer
2+
prefix: transfer
3+
description: >
4+
Transfer pool statistics
5+
schema:
6+
billable:
7+
type: Integer
8+
value: 0
9+
description: Amount of billable pool.
10+
quota:
11+
type: Integer
12+
value: 2000
13+
description: The amount of network usage allowed each billing cycle.
14+
used:
15+
type: Integer
16+
value: 0
17+
description: The amount of network usage you have used this billing cycle.
18+
max:
19+
type: Integer
20+
value: 2000
21+
description: Help me!

0 commit comments

Comments
 (0)