platform-api 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +18 -0
- data/CHANGELOG.md +4 -0
- data/Rakefile +2 -1
- data/lib/platform-api/client.rb +228 -114
- data/lib/platform-api/version.rb +1 -1
- data/schema.json +219 -99
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af5f1f76825ffbdc9460cb85953237ab56777c24a5e151f0f828bbbd0bc76ea
|
4
|
+
data.tar.gz: b143b936b40dc12b0c5825ce2caa8c0500289a92409237b8790e8bdc9e89370d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1713dd8c04e817daf7b4cd0e5ba69d6f7405a8b2d4c92d4d61283ded59156d12e0a6ebff46293e48aa257e2829b85f80be2fcca4a2ef10a424bdc3ecb633b18
|
7
|
+
data.tar.gz: 9b2517360fa97fa69b52b68b6d64bd92c10d4409bb551ec6dae6cb8798aab80bfa087b7c1e090d5116623061e4a53e083b2fcd85dc85da8e28444cd065503d93
|
data/.circleci/config.yml
CHANGED
@@ -63,6 +63,22 @@ jobs:
|
|
63
63
|
- <<: *bundle
|
64
64
|
- <<: *hatchet_setup
|
65
65
|
- <<: *unit
|
66
|
+
"ruby-3.0":
|
67
|
+
docker:
|
68
|
+
- image: circleci/ruby:3.0
|
69
|
+
steps:
|
70
|
+
- checkout
|
71
|
+
- <<: *bundle
|
72
|
+
- <<: *hatchet_setup
|
73
|
+
- <<: *unit
|
74
|
+
"ruby-3.1":
|
75
|
+
docker:
|
76
|
+
- image: circleci/ruby:3.1
|
77
|
+
steps:
|
78
|
+
- checkout
|
79
|
+
- <<: *bundle
|
80
|
+
- <<: *hatchet_setup
|
81
|
+
- <<: *unit
|
66
82
|
|
67
83
|
workflows:
|
68
84
|
version: 2
|
@@ -74,3 +90,5 @@ workflows:
|
|
74
90
|
- "ruby-2.5"
|
75
91
|
- "ruby-2.6"
|
76
92
|
- "ruby-2.7"
|
93
|
+
- "ruby-3.0"
|
94
|
+
- "ruby-3.1"
|
data/CHANGELOG.md
CHANGED
data/Rakefile
CHANGED
@@ -15,9 +15,10 @@ task :publish_docs => [:build] do
|
|
15
15
|
sh 'rake yard'
|
16
16
|
sh 'cp -R doc /tmp/platform-api-doc'
|
17
17
|
sh 'git checkout gh-pages'
|
18
|
+
sh 'rm -rf *'
|
18
19
|
sh 'cp -R /tmp/platform-api-doc/* .'
|
19
20
|
sh 'rm -rf /tmp/platform-api-doc'
|
20
|
-
sh 'git add .'
|
21
|
+
sh 'git add -A .'
|
21
22
|
sh 'git commit -am "Rebuild documentation"'
|
22
23
|
sh 'git push origin gh-pages'
|
23
24
|
sh 'git checkout master'
|
data/lib/platform-api/client.rb
CHANGED
@@ -83,7 +83,7 @@ module PlatformAPI
|
|
83
83
|
|
84
84
|
# Get the default options.
|
85
85
|
def self.default_options
|
86
|
-
default_headers = {"Accept"=>"application/vnd.heroku+json; version=3", "User-Agent"=>"platform-api/3.
|
86
|
+
default_headers = {"Accept"=>"application/vnd.heroku+json; version=3", "User-Agent"=>"platform-api/3.6.0"}
|
87
87
|
{
|
88
88
|
default_headers: default_headers,
|
89
89
|
url: "https://api.heroku.com"
|
@@ -196,13 +196,6 @@ module PlatformAPI
|
|
196
196
|
@app_feature_resource ||= AppFeature.new(@client)
|
197
197
|
end
|
198
198
|
|
199
|
-
# App formation set describes the combination of process types with their quantities and sizes as well as application process tier
|
200
|
-
#
|
201
|
-
# @return [AppFormationSet]
|
202
|
-
def app_formation_set
|
203
|
-
@app_formation_set_resource ||= AppFormationSet.new(@client)
|
204
|
-
end
|
205
|
-
|
206
199
|
# An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.
|
207
200
|
#
|
208
201
|
# @return [AppSetup]
|
@@ -1242,13 +1235,6 @@ module PlatformAPI
|
|
1242
1235
|
end
|
1243
1236
|
end
|
1244
1237
|
|
1245
|
-
# App formation set describes the combination of process types with their quantities and sizes as well as application process tier
|
1246
|
-
class AppFormationSet
|
1247
|
-
def initialize(client)
|
1248
|
-
@client = client
|
1249
|
-
end
|
1250
|
-
end
|
1251
|
-
|
1252
1238
|
# An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.
|
1253
1239
|
class AppSetup
|
1254
1240
|
def initialize(client)
|
@@ -1543,6 +1529,14 @@ module PlatformAPI
|
|
1543
1529
|
def delete_cache(app_id_or_app_name)
|
1544
1530
|
@client.build.delete_cache(app_id_or_app_name)
|
1545
1531
|
end
|
1532
|
+
|
1533
|
+
# Cancel running build.
|
1534
|
+
#
|
1535
|
+
# @param app_id_or_app_name: unique identifier of app or unique name of app
|
1536
|
+
# @param build_id: unique identifier of build
|
1537
|
+
def cancel(app_id_or_app_name, build_id)
|
1538
|
+
@client.build.cancel(app_id_or_app_name, build_id)
|
1539
|
+
end
|
1546
1540
|
end
|
1547
1541
|
|
1548
1542
|
# A buildpack installation represents a buildpack that will be run against an app.
|
@@ -4173,7 +4167,7 @@ module PlatformAPI
|
|
4173
4167
|
"description": "Mark an add-on as provisioned for use.",
|
4174
4168
|
"href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/provision",
|
4175
4169
|
"method": "POST",
|
4176
|
-
"rel": "
|
4170
|
+
"rel": "update",
|
4177
4171
|
"targetSchema": {
|
4178
4172
|
"$ref": "#/definitions/add-on"
|
4179
4173
|
},
|
@@ -4183,7 +4177,7 @@ module PlatformAPI
|
|
4183
4177
|
"description": "Mark an add-on as deprovisioned.",
|
4184
4178
|
"href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/deprovision",
|
4185
4179
|
"method": "POST",
|
4186
|
-
"rel": "
|
4180
|
+
"rel": "update",
|
4187
4181
|
"targetSchema": {
|
4188
4182
|
"$ref": "#/definitions/add-on"
|
4189
4183
|
},
|
@@ -5196,8 +5190,24 @@ module PlatformAPI
|
|
5196
5190
|
"description": "Add-ons represent add-ons that have been provisioned and attached to one or more apps.",
|
5197
5191
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
5198
5192
|
"stability": "production",
|
5199
|
-
"strictProperties": true,
|
5200
5193
|
"title": "Heroku Platform API - Add-on",
|
5194
|
+
"additionalProperties": false,
|
5195
|
+
"required": [
|
5196
|
+
"actions",
|
5197
|
+
"addon_service",
|
5198
|
+
"billing_entity",
|
5199
|
+
"app",
|
5200
|
+
"billed_price",
|
5201
|
+
"config_vars",
|
5202
|
+
"created_at",
|
5203
|
+
"id",
|
5204
|
+
"name",
|
5205
|
+
"plan",
|
5206
|
+
"provider_id",
|
5207
|
+
"state",
|
5208
|
+
"updated_at",
|
5209
|
+
"web_url"
|
5210
|
+
],
|
5201
5211
|
"type": [
|
5202
5212
|
"object"
|
5203
5213
|
],
|
@@ -5362,6 +5372,57 @@ module PlatformAPI
|
|
5362
5372
|
"null",
|
5363
5373
|
"string"
|
5364
5374
|
]
|
5375
|
+
},
|
5376
|
+
"addon_service": {
|
5377
|
+
"description": "identity of add-on service",
|
5378
|
+
"anyOf": [
|
5379
|
+
{
|
5380
|
+
"properties": {
|
5381
|
+
"id": {
|
5382
|
+
"$ref": "#/definitions/add-on-service/definitions/id"
|
5383
|
+
},
|
5384
|
+
"name": {
|
5385
|
+
"$ref": "#/definitions/add-on-service/definitions/name"
|
5386
|
+
}
|
5387
|
+
},
|
5388
|
+
"strictProperties": true,
|
5389
|
+
"type": [
|
5390
|
+
"object"
|
5391
|
+
]
|
5392
|
+
},
|
5393
|
+
{
|
5394
|
+
"$ref": "#/definitions/add-on-service"
|
5395
|
+
}
|
5396
|
+
]
|
5397
|
+
},
|
5398
|
+
"plan": {
|
5399
|
+
"description": "identity of add-on plan",
|
5400
|
+
"anyOf": [
|
5401
|
+
{
|
5402
|
+
"properties": {
|
5403
|
+
"id": {
|
5404
|
+
"$ref": "#/definitions/plan/definitions/id"
|
5405
|
+
},
|
5406
|
+
"name": {
|
5407
|
+
"$ref": "#/definitions/plan/definitions/name"
|
5408
|
+
}
|
5409
|
+
},
|
5410
|
+
"strictProperties": true,
|
5411
|
+
"type": [
|
5412
|
+
"object"
|
5413
|
+
]
|
5414
|
+
},
|
5415
|
+
{
|
5416
|
+
"$ref": "#/definitions/plan"
|
5417
|
+
}
|
5418
|
+
]
|
5419
|
+
},
|
5420
|
+
"provision_message": {
|
5421
|
+
"description": "A provision message",
|
5422
|
+
"readOnly": true,
|
5423
|
+
"type": [
|
5424
|
+
"string"
|
5425
|
+
]
|
5365
5426
|
}
|
5366
5427
|
},
|
5367
5428
|
"links": [
|
@@ -5492,6 +5553,9 @@ module PlatformAPI
|
|
5492
5553
|
"object"
|
5493
5554
|
]
|
5494
5555
|
},
|
5556
|
+
"targetSchema": {
|
5557
|
+
"$ref": "#/definitions/add-on"
|
5558
|
+
},
|
5495
5559
|
"title": "Update"
|
5496
5560
|
},
|
5497
5561
|
{
|
@@ -5564,19 +5628,7 @@ module PlatformAPI
|
|
5564
5628
|
"$ref": "#/definitions/add-on/definitions/actions"
|
5565
5629
|
},
|
5566
5630
|
"addon_service": {
|
5567
|
-
"
|
5568
|
-
"properties": {
|
5569
|
-
"id": {
|
5570
|
-
"$ref": "#/definitions/add-on-service/definitions/id"
|
5571
|
-
},
|
5572
|
-
"name": {
|
5573
|
-
"$ref": "#/definitions/add-on-service/definitions/name"
|
5574
|
-
}
|
5575
|
-
},
|
5576
|
-
"strictProperties": true,
|
5577
|
-
"type": [
|
5578
|
-
"object"
|
5579
|
-
]
|
5631
|
+
"$ref": "#/definitions/add-on/definitions/addon_service"
|
5580
5632
|
},
|
5581
5633
|
"billing_entity": {
|
5582
5634
|
"description": "billing entity associated with this add-on",
|
@@ -5663,23 +5715,14 @@ module PlatformAPI
|
|
5663
5715
|
"$ref": "#/definitions/add-on/definitions/name"
|
5664
5716
|
},
|
5665
5717
|
"plan": {
|
5666
|
-
"
|
5667
|
-
"properties": {
|
5668
|
-
"id": {
|
5669
|
-
"$ref": "#/definitions/plan/definitions/id"
|
5670
|
-
},
|
5671
|
-
"name": {
|
5672
|
-
"$ref": "#/definitions/plan/definitions/name"
|
5673
|
-
}
|
5674
|
-
},
|
5675
|
-
"strictProperties": true,
|
5676
|
-
"type": [
|
5677
|
-
"object"
|
5678
|
-
]
|
5718
|
+
"$ref": "#/definitions/add-on/definitions/plan"
|
5679
5719
|
},
|
5680
5720
|
"provider_id": {
|
5681
5721
|
"$ref": "#/definitions/add-on/definitions/provider_id"
|
5682
5722
|
},
|
5723
|
+
"provision_message": {
|
5724
|
+
"$ref": "#/definitions/add-on/definitions/provision_message"
|
5725
|
+
},
|
5683
5726
|
"state": {
|
5684
5727
|
"$ref": "#/definitions/add-on/definitions/state"
|
5685
5728
|
},
|
@@ -6029,63 +6072,6 @@ module PlatformAPI
|
|
6029
6072
|
}
|
6030
6073
|
}
|
6031
6074
|
},
|
6032
|
-
"app-formation-set": {
|
6033
|
-
"description": "App formation set describes the combination of process types with their quantities and sizes as well as application process tier",
|
6034
|
-
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
6035
|
-
"stability": "development",
|
6036
|
-
"strictProperties": true,
|
6037
|
-
"title": "Heroku Platform API - Application Formation Set",
|
6038
|
-
"type": [
|
6039
|
-
"object"
|
6040
|
-
],
|
6041
|
-
"properties": {
|
6042
|
-
"description": {
|
6043
|
-
"description": "a string representation of the formation set",
|
6044
|
-
"example": "web@2:Standard-2X worker@3:Performance-M",
|
6045
|
-
"readOnly": true,
|
6046
|
-
"type": [
|
6047
|
-
"string"
|
6048
|
-
]
|
6049
|
-
},
|
6050
|
-
"process_tier": {
|
6051
|
-
"description": "application process tier",
|
6052
|
-
"enum": [
|
6053
|
-
"production",
|
6054
|
-
"free",
|
6055
|
-
"hobby",
|
6056
|
-
"private"
|
6057
|
-
],
|
6058
|
-
"example": "production",
|
6059
|
-
"readOnly": true,
|
6060
|
-
"type": [
|
6061
|
-
"string"
|
6062
|
-
]
|
6063
|
-
},
|
6064
|
-
"app": {
|
6065
|
-
"description": "app being described by the formation-set",
|
6066
|
-
"properties": {
|
6067
|
-
"name": {
|
6068
|
-
"$ref": "#/definitions/app/definitions/name"
|
6069
|
-
},
|
6070
|
-
"id": {
|
6071
|
-
"$ref": "#/definitions/app/definitions/id"
|
6072
|
-
}
|
6073
|
-
},
|
6074
|
-
"type": [
|
6075
|
-
"object"
|
6076
|
-
]
|
6077
|
-
},
|
6078
|
-
"updated_at": {
|
6079
|
-
"description": "last time fomation-set was updated",
|
6080
|
-
"example": "2012-01-01T12:00:00Z",
|
6081
|
-
"format": "date-time",
|
6082
|
-
"readOnly": true,
|
6083
|
-
"type": [
|
6084
|
-
"string"
|
6085
|
-
]
|
6086
|
-
}
|
6087
|
-
}
|
6088
|
-
},
|
6089
6075
|
"app-setup": {
|
6090
6076
|
"description": "An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.",
|
6091
6077
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
@@ -7413,9 +7399,10 @@ module PlatformAPI
|
|
7413
7399
|
"description": "web URL of app",
|
7414
7400
|
"example": "https://example.herokuapp.com/",
|
7415
7401
|
"format": "uri",
|
7416
|
-
"pattern": "^https?://[a-z][a-z0-9-]{3,
|
7402
|
+
"pattern": "^https?://[a-z][a-z0-9-]{3,43}\\.herokuapp\\.com/$",
|
7417
7403
|
"readOnly": true,
|
7418
7404
|
"type": [
|
7405
|
+
"null",
|
7419
7406
|
"string"
|
7420
7407
|
]
|
7421
7408
|
},
|
@@ -8068,7 +8055,15 @@ module PlatformAPI
|
|
8068
8055
|
"description": "A build represents the process of transforming a code tarball into a slug",
|
8069
8056
|
"title": "Heroku Build API - Build",
|
8070
8057
|
"stability": "production",
|
8071
|
-
"strictProperties":
|
8058
|
+
"strictProperties": false,
|
8059
|
+
"required": [
|
8060
|
+
"created_at",
|
8061
|
+
"id",
|
8062
|
+
"source_blob",
|
8063
|
+
"status",
|
8064
|
+
"updated_at",
|
8065
|
+
"user"
|
8066
|
+
],
|
8072
8067
|
"type": [
|
8073
8068
|
"object"
|
8074
8069
|
],
|
@@ -8191,6 +8186,15 @@ module PlatformAPI
|
|
8191
8186
|
"string",
|
8192
8187
|
"null"
|
8193
8188
|
]
|
8189
|
+
},
|
8190
|
+
"version_description": {
|
8191
|
+
"description": "Version description of the gzipped tarball.",
|
8192
|
+
"example": "* Fake User: Change session key",
|
8193
|
+
"readOnly": true,
|
8194
|
+
"type": [
|
8195
|
+
"string",
|
8196
|
+
"null"
|
8197
|
+
]
|
8194
8198
|
}
|
8195
8199
|
},
|
8196
8200
|
"strictProperties": true,
|
@@ -8200,7 +8204,7 @@ module PlatformAPI
|
|
8200
8204
|
},
|
8201
8205
|
"stack": {
|
8202
8206
|
"description": "stack of build",
|
8203
|
-
"example": "heroku-
|
8207
|
+
"example": "heroku-22",
|
8204
8208
|
"readOnly": true,
|
8205
8209
|
"type": [
|
8206
8210
|
"string"
|
@@ -8291,6 +8295,16 @@ module PlatformAPI
|
|
8291
8295
|
"method": "DELETE",
|
8292
8296
|
"rel": "empty",
|
8293
8297
|
"title": "Delete cache"
|
8298
|
+
},
|
8299
|
+
{
|
8300
|
+
"description": "Cancel running build.",
|
8301
|
+
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/builds/{(%23%2Fdefinitions%2Fbuild%2Fdefinitions%2Fidentity)}",
|
8302
|
+
"method": "DELETE",
|
8303
|
+
"rel": "self",
|
8304
|
+
"targetSchema": {
|
8305
|
+
"$ref": "#/definitions/build"
|
8306
|
+
},
|
8307
|
+
"title": "Cancel"
|
8294
8308
|
}
|
8295
8309
|
],
|
8296
8310
|
"properties": {
|
@@ -9235,7 +9249,7 @@ module PlatformAPI
|
|
9235
9249
|
},
|
9236
9250
|
"name": {
|
9237
9251
|
"description": "the name of this dyno-size",
|
9238
|
-
"example": "
|
9252
|
+
"example": "eco",
|
9239
9253
|
"readOnly": true,
|
9240
9254
|
"type": [
|
9241
9255
|
"string"
|
@@ -9268,13 +9282,22 @@ module PlatformAPI
|
|
9268
9282
|
}
|
9269
9283
|
},
|
9270
9284
|
"dyno_units": {
|
9271
|
-
"
|
9285
|
+
"deprecated": true,
|
9286
|
+
"description": "deprecated. See precise_dyno_units instead",
|
9272
9287
|
"example": 0,
|
9273
9288
|
"readOnly": true,
|
9274
9289
|
"type": [
|
9275
9290
|
"integer"
|
9276
9291
|
]
|
9277
9292
|
},
|
9293
|
+
"precise_dyno_units": {
|
9294
|
+
"description": "unit of consumption for Heroku Enterprise customers to 2 decimal places",
|
9295
|
+
"example": 0.28,
|
9296
|
+
"readOnly": true,
|
9297
|
+
"type": [
|
9298
|
+
"number"
|
9299
|
+
]
|
9300
|
+
},
|
9278
9301
|
"private_space_only": {
|
9279
9302
|
"description": "whether this dyno can only be provisioned in a private space",
|
9280
9303
|
"example": false,
|
@@ -9324,6 +9347,9 @@ module PlatformAPI
|
|
9324
9347
|
"dyno_units": {
|
9325
9348
|
"$ref": "#/definitions/dyno-size/definitions/dyno_units"
|
9326
9349
|
},
|
9350
|
+
"precise_dyno_units": {
|
9351
|
+
"$ref": "#/definitions/dyno-size/definitions/precise_dyno_units"
|
9352
|
+
},
|
9327
9353
|
"id": {
|
9328
9354
|
"$ref": "#/definitions/dyno-size/definitions/id"
|
9329
9355
|
},
|
@@ -10423,6 +10449,9 @@ module PlatformAPI
|
|
10423
10449
|
"href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fidentity)}",
|
10424
10450
|
"method": "GET",
|
10425
10451
|
"rel": "self",
|
10452
|
+
"targetSchema": {
|
10453
|
+
"$ref": "#/definitions/enterprise-account"
|
10454
|
+
},
|
10426
10455
|
"title": "Info"
|
10427
10456
|
},
|
10428
10457
|
{
|
@@ -11265,6 +11294,9 @@ module PlatformAPI
|
|
11265
11294
|
"href": "/account/invoice-address",
|
11266
11295
|
"method": "GET",
|
11267
11296
|
"rel": "self",
|
11297
|
+
"targetSchema": {
|
11298
|
+
"$ref": "#/definitions/invoice-address"
|
11299
|
+
},
|
11268
11300
|
"title": "info"
|
11269
11301
|
},
|
11270
11302
|
{
|
@@ -11303,6 +11335,9 @@ module PlatformAPI
|
|
11303
11335
|
"type": [
|
11304
11336
|
"object"
|
11305
11337
|
]
|
11338
|
+
},
|
11339
|
+
"targetSchema": {
|
11340
|
+
"$ref": "#/definitions/invoice-address"
|
11306
11341
|
}
|
11307
11342
|
}
|
11308
11343
|
],
|
@@ -11643,7 +11678,11 @@ module PlatformAPI
|
|
11643
11678
|
"description": "add-on that created the drain",
|
11644
11679
|
"example": {
|
11645
11680
|
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
11646
|
-
"name": "singing-swiftly-1242"
|
11681
|
+
"name": "singing-swiftly-1242",
|
11682
|
+
"app": {
|
11683
|
+
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
11684
|
+
"name": "example"
|
11685
|
+
}
|
11647
11686
|
},
|
11648
11687
|
"properties": {
|
11649
11688
|
"id": {
|
@@ -11651,8 +11690,44 @@ module PlatformAPI
|
|
11651
11690
|
},
|
11652
11691
|
"name": {
|
11653
11692
|
"$ref": "#/definitions/add-on/definitions/name"
|
11693
|
+
},
|
11694
|
+
"app": {
|
11695
|
+
"description": "billing application associated with this add-on",
|
11696
|
+
"type": [
|
11697
|
+
"object"
|
11698
|
+
],
|
11699
|
+
"properties": {
|
11700
|
+
"id": {
|
11701
|
+
"$ref": "#/definitions/app/definitions/id"
|
11702
|
+
},
|
11703
|
+
"name": {
|
11704
|
+
"$ref": "#/definitions/app/definitions/name"
|
11705
|
+
}
|
11706
|
+
},
|
11707
|
+
"strictProperties": true
|
11708
|
+
}
|
11709
|
+
},
|
11710
|
+
"readOnly": true,
|
11711
|
+
"type": [
|
11712
|
+
"object",
|
11713
|
+
"null"
|
11714
|
+
]
|
11715
|
+
},
|
11716
|
+
"app": {
|
11717
|
+
"description": "application that is attached to this drain",
|
11718
|
+
"example": {
|
11719
|
+
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
11720
|
+
"name": "example"
|
11721
|
+
},
|
11722
|
+
"properties": {
|
11723
|
+
"id": {
|
11724
|
+
"$ref": "#/definitions/app/definitions/id"
|
11725
|
+
},
|
11726
|
+
"name": {
|
11727
|
+
"$ref": "#/definitions/app/definitions/name"
|
11654
11728
|
}
|
11655
11729
|
},
|
11730
|
+
"strictProperties": true,
|
11656
11731
|
"readOnly": true,
|
11657
11732
|
"type": [
|
11658
11733
|
"object",
|
@@ -11825,6 +11900,9 @@ module PlatformAPI
|
|
11825
11900
|
"addon": {
|
11826
11901
|
"$ref": "#/definitions/log-drain/definitions/addon"
|
11827
11902
|
},
|
11903
|
+
"app": {
|
11904
|
+
"$ref": "#/definitions/log-drain/definitions/app"
|
11905
|
+
},
|
11828
11906
|
"created_at": {
|
11829
11907
|
"$ref": "#/definitions/log-drain/definitions/created_at"
|
11830
11908
|
},
|
@@ -12957,10 +13035,16 @@ module PlatformAPI
|
|
12957
13035
|
"$ref": "#/definitions/account/definitions/email"
|
12958
13036
|
}
|
12959
13037
|
},
|
13038
|
+
"required": [
|
13039
|
+
"email"
|
13040
|
+
],
|
12960
13041
|
"type": [
|
12961
13042
|
"object"
|
12962
13043
|
]
|
12963
13044
|
},
|
13045
|
+
"targetSchema": {
|
13046
|
+
"$ref": "#/definitions/password-reset"
|
13047
|
+
},
|
12964
13048
|
"title": "Reset Password"
|
12965
13049
|
},
|
12966
13050
|
{
|
@@ -12977,10 +13061,17 @@ module PlatformAPI
|
|
12977
13061
|
"$ref": "#/definitions/password-reset/definitions/password_confirmation"
|
12978
13062
|
}
|
12979
13063
|
},
|
13064
|
+
"required": [
|
13065
|
+
"password",
|
13066
|
+
"password_confirmation"
|
13067
|
+
],
|
12980
13068
|
"type": [
|
12981
13069
|
"object"
|
12982
13070
|
]
|
12983
13071
|
},
|
13072
|
+
"targetSchema": {
|
13073
|
+
"$ref": "#/definitions/password-reset"
|
13074
|
+
},
|
12984
13075
|
"title": "Complete Reset Password"
|
12985
13076
|
}
|
12986
13077
|
],
|
@@ -13210,14 +13301,20 @@ module PlatformAPI
|
|
13210
13301
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}/actions/accept",
|
13211
13302
|
"method": "POST",
|
13212
13303
|
"rel": "empty",
|
13213
|
-
"title": "Accept"
|
13304
|
+
"title": "Accept",
|
13305
|
+
"targetSchema": {
|
13306
|
+
"$ref": "#/definitions/peering"
|
13307
|
+
}
|
13214
13308
|
},
|
13215
13309
|
{
|
13216
13310
|
"description": "Destroy an active peering connection with a private space.",
|
13217
13311
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}",
|
13218
13312
|
"rel": "empty",
|
13219
13313
|
"method": "DELETE",
|
13220
|
-
"title": "Destroy"
|
13314
|
+
"title": "Destroy",
|
13315
|
+
"targetSchema": {
|
13316
|
+
"$ref": "#/definitions/peering"
|
13317
|
+
}
|
13221
13318
|
},
|
13222
13319
|
{
|
13223
13320
|
"description": "Fetch information for existing peering connection",
|
@@ -14843,12 +14940,14 @@ module PlatformAPI
|
|
14843
14940
|
"ap-southeast-1",
|
14844
14941
|
"ap-southeast-2",
|
14845
14942
|
"eu-central-1",
|
14943
|
+
"eu-west-2",
|
14846
14944
|
"ap-northeast-2",
|
14847
14945
|
"ap-northeast-1",
|
14848
14946
|
"us-east-1",
|
14849
14947
|
"sa-east-1",
|
14850
14948
|
"us-west-1",
|
14851
|
-
"us-west-2"
|
14949
|
+
"us-west-2",
|
14950
|
+
"ca-central-1"
|
14852
14951
|
]
|
14853
14952
|
}
|
14854
14953
|
},
|
@@ -17604,6 +17703,9 @@ module PlatformAPI
|
|
17604
17703
|
"object"
|
17605
17704
|
]
|
17606
17705
|
},
|
17706
|
+
"targetSchema": {
|
17707
|
+
"$ref": "#/definitions/team-app"
|
17708
|
+
},
|
17607
17709
|
"title": "Create"
|
17608
17710
|
},
|
17609
17711
|
{
|
@@ -17611,6 +17713,9 @@ module PlatformAPI
|
|
17611
17713
|
"href": "/teams/apps/{(%23%2Fdefinitions%2Fteam-app%2Fdefinitions%2Fidentity)}",
|
17612
17714
|
"method": "GET",
|
17613
17715
|
"rel": "self",
|
17716
|
+
"targetSchema": {
|
17717
|
+
"$ref": "#/definitions/team-app"
|
17718
|
+
},
|
17614
17719
|
"title": "Info"
|
17615
17720
|
},
|
17616
17721
|
{
|
@@ -18269,6 +18374,9 @@ module PlatformAPI
|
|
18269
18374
|
"type": [
|
18270
18375
|
"object"
|
18271
18376
|
]
|
18377
|
+
},
|
18378
|
+
"targetSchema": {
|
18379
|
+
"$ref": "#/definitions/team-invitation"
|
18272
18380
|
}
|
18273
18381
|
},
|
18274
18382
|
{
|
@@ -18276,7 +18384,10 @@ module PlatformAPI
|
|
18276
18384
|
"title": "Revoke",
|
18277
18385
|
"href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/invitations/{(%23%2Fdefinitions%2Fteam-invitation%2Fdefinitions%2Fidentity)}",
|
18278
18386
|
"method": "DELETE",
|
18279
|
-
"rel": "self"
|
18387
|
+
"rel": "self",
|
18388
|
+
"targetSchema": {
|
18389
|
+
"$ref": "#/definitions/team-invitation"
|
18390
|
+
}
|
18280
18391
|
},
|
18281
18392
|
{
|
18282
18393
|
"description": "Get an invitation by its token",
|
@@ -19484,6 +19595,9 @@ module PlatformAPI
|
|
19484
19595
|
"href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}",
|
19485
19596
|
"method": "GET",
|
19486
19597
|
"rel": "self",
|
19598
|
+
"targetSchema": {
|
19599
|
+
"$ref": "#/definitions/team"
|
19600
|
+
},
|
19487
19601
|
"title": "Info"
|
19488
19602
|
},
|
19489
19603
|
{
|
@@ -20751,6 +20865,9 @@ module PlatformAPI
|
|
20751
20865
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections/{(%23%2Fdefinitions%2Fvpn-connection%2Fdefinitions%2Fidentity)}",
|
20752
20866
|
"rel": "empty",
|
20753
20867
|
"method": "DELETE",
|
20868
|
+
"targetSchema": {
|
20869
|
+
"$ref": "#/definitions/vpn-connection"
|
20870
|
+
},
|
20754
20871
|
"title": "Destroy"
|
20755
20872
|
},
|
20756
20873
|
{
|
@@ -20847,9 +20964,6 @@ module PlatformAPI
|
|
20847
20964
|
"app-feature": {
|
20848
20965
|
"$ref": "#/definitions/app-feature"
|
20849
20966
|
},
|
20850
|
-
"app-formation-set": {
|
20851
|
-
"$ref": "#/definitions/app-formation-set"
|
20852
|
-
},
|
20853
20967
|
"app-setup": {
|
20854
20968
|
"$ref": "#/definitions/app-setup"
|
20855
20969
|
},
|
data/lib/platform-api/version.rb
CHANGED
data/schema.json
CHANGED
@@ -599,7 +599,7 @@
|
|
599
599
|
"description": "Mark an add-on as provisioned for use.",
|
600
600
|
"href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/provision",
|
601
601
|
"method": "POST",
|
602
|
-
"rel": "
|
602
|
+
"rel": "update",
|
603
603
|
"targetSchema": {
|
604
604
|
"$ref": "#/definitions/add-on"
|
605
605
|
},
|
@@ -609,7 +609,7 @@
|
|
609
609
|
"description": "Mark an add-on as deprovisioned.",
|
610
610
|
"href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/deprovision",
|
611
611
|
"method": "POST",
|
612
|
-
"rel": "
|
612
|
+
"rel": "update",
|
613
613
|
"targetSchema": {
|
614
614
|
"$ref": "#/definitions/add-on"
|
615
615
|
},
|
@@ -1622,8 +1622,24 @@
|
|
1622
1622
|
"description": "Add-ons represent add-ons that have been provisioned and attached to one or more apps.",
|
1623
1623
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
1624
1624
|
"stability": "production",
|
1625
|
-
"strictProperties": true,
|
1626
1625
|
"title": "Heroku Platform API - Add-on",
|
1626
|
+
"additionalProperties": false,
|
1627
|
+
"required": [
|
1628
|
+
"actions",
|
1629
|
+
"addon_service",
|
1630
|
+
"billing_entity",
|
1631
|
+
"app",
|
1632
|
+
"billed_price",
|
1633
|
+
"config_vars",
|
1634
|
+
"created_at",
|
1635
|
+
"id",
|
1636
|
+
"name",
|
1637
|
+
"plan",
|
1638
|
+
"provider_id",
|
1639
|
+
"state",
|
1640
|
+
"updated_at",
|
1641
|
+
"web_url"
|
1642
|
+
],
|
1627
1643
|
"type": [
|
1628
1644
|
"object"
|
1629
1645
|
],
|
@@ -1788,6 +1804,57 @@
|
|
1788
1804
|
"null",
|
1789
1805
|
"string"
|
1790
1806
|
]
|
1807
|
+
},
|
1808
|
+
"addon_service": {
|
1809
|
+
"description": "identity of add-on service",
|
1810
|
+
"anyOf": [
|
1811
|
+
{
|
1812
|
+
"properties": {
|
1813
|
+
"id": {
|
1814
|
+
"$ref": "#/definitions/add-on-service/definitions/id"
|
1815
|
+
},
|
1816
|
+
"name": {
|
1817
|
+
"$ref": "#/definitions/add-on-service/definitions/name"
|
1818
|
+
}
|
1819
|
+
},
|
1820
|
+
"strictProperties": true,
|
1821
|
+
"type": [
|
1822
|
+
"object"
|
1823
|
+
]
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"$ref": "#/definitions/add-on-service"
|
1827
|
+
}
|
1828
|
+
]
|
1829
|
+
},
|
1830
|
+
"plan": {
|
1831
|
+
"description": "identity of add-on plan",
|
1832
|
+
"anyOf": [
|
1833
|
+
{
|
1834
|
+
"properties": {
|
1835
|
+
"id": {
|
1836
|
+
"$ref": "#/definitions/plan/definitions/id"
|
1837
|
+
},
|
1838
|
+
"name": {
|
1839
|
+
"$ref": "#/definitions/plan/definitions/name"
|
1840
|
+
}
|
1841
|
+
},
|
1842
|
+
"strictProperties": true,
|
1843
|
+
"type": [
|
1844
|
+
"object"
|
1845
|
+
]
|
1846
|
+
},
|
1847
|
+
{
|
1848
|
+
"$ref": "#/definitions/plan"
|
1849
|
+
}
|
1850
|
+
]
|
1851
|
+
},
|
1852
|
+
"provision_message": {
|
1853
|
+
"description": "A provision message",
|
1854
|
+
"readOnly": true,
|
1855
|
+
"type": [
|
1856
|
+
"string"
|
1857
|
+
]
|
1791
1858
|
}
|
1792
1859
|
},
|
1793
1860
|
"links": [
|
@@ -1918,6 +1985,9 @@
|
|
1918
1985
|
"object"
|
1919
1986
|
]
|
1920
1987
|
},
|
1988
|
+
"targetSchema": {
|
1989
|
+
"$ref": "#/definitions/add-on"
|
1990
|
+
},
|
1921
1991
|
"title": "Update"
|
1922
1992
|
},
|
1923
1993
|
{
|
@@ -1990,19 +2060,7 @@
|
|
1990
2060
|
"$ref": "#/definitions/add-on/definitions/actions"
|
1991
2061
|
},
|
1992
2062
|
"addon_service": {
|
1993
|
-
"
|
1994
|
-
"properties": {
|
1995
|
-
"id": {
|
1996
|
-
"$ref": "#/definitions/add-on-service/definitions/id"
|
1997
|
-
},
|
1998
|
-
"name": {
|
1999
|
-
"$ref": "#/definitions/add-on-service/definitions/name"
|
2000
|
-
}
|
2001
|
-
},
|
2002
|
-
"strictProperties": true,
|
2003
|
-
"type": [
|
2004
|
-
"object"
|
2005
|
-
]
|
2063
|
+
"$ref": "#/definitions/add-on/definitions/addon_service"
|
2006
2064
|
},
|
2007
2065
|
"billing_entity": {
|
2008
2066
|
"description": "billing entity associated with this add-on",
|
@@ -2089,23 +2147,14 @@
|
|
2089
2147
|
"$ref": "#/definitions/add-on/definitions/name"
|
2090
2148
|
},
|
2091
2149
|
"plan": {
|
2092
|
-
"
|
2093
|
-
"properties": {
|
2094
|
-
"id": {
|
2095
|
-
"$ref": "#/definitions/plan/definitions/id"
|
2096
|
-
},
|
2097
|
-
"name": {
|
2098
|
-
"$ref": "#/definitions/plan/definitions/name"
|
2099
|
-
}
|
2100
|
-
},
|
2101
|
-
"strictProperties": true,
|
2102
|
-
"type": [
|
2103
|
-
"object"
|
2104
|
-
]
|
2150
|
+
"$ref": "#/definitions/add-on/definitions/plan"
|
2105
2151
|
},
|
2106
2152
|
"provider_id": {
|
2107
2153
|
"$ref": "#/definitions/add-on/definitions/provider_id"
|
2108
2154
|
},
|
2155
|
+
"provision_message": {
|
2156
|
+
"$ref": "#/definitions/add-on/definitions/provision_message"
|
2157
|
+
},
|
2109
2158
|
"state": {
|
2110
2159
|
"$ref": "#/definitions/add-on/definitions/state"
|
2111
2160
|
},
|
@@ -2455,63 +2504,6 @@
|
|
2455
2504
|
}
|
2456
2505
|
}
|
2457
2506
|
},
|
2458
|
-
"app-formation-set": {
|
2459
|
-
"description": "App formation set describes the combination of process types with their quantities and sizes as well as application process tier",
|
2460
|
-
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
2461
|
-
"stability": "development",
|
2462
|
-
"strictProperties": true,
|
2463
|
-
"title": "Heroku Platform API - Application Formation Set",
|
2464
|
-
"type": [
|
2465
|
-
"object"
|
2466
|
-
],
|
2467
|
-
"properties": {
|
2468
|
-
"description": {
|
2469
|
-
"description": "a string representation of the formation set",
|
2470
|
-
"example": "web@2:Standard-2X worker@3:Performance-M",
|
2471
|
-
"readOnly": true,
|
2472
|
-
"type": [
|
2473
|
-
"string"
|
2474
|
-
]
|
2475
|
-
},
|
2476
|
-
"process_tier": {
|
2477
|
-
"description": "application process tier",
|
2478
|
-
"enum": [
|
2479
|
-
"production",
|
2480
|
-
"free",
|
2481
|
-
"hobby",
|
2482
|
-
"private"
|
2483
|
-
],
|
2484
|
-
"example": "production",
|
2485
|
-
"readOnly": true,
|
2486
|
-
"type": [
|
2487
|
-
"string"
|
2488
|
-
]
|
2489
|
-
},
|
2490
|
-
"app": {
|
2491
|
-
"description": "app being described by the formation-set",
|
2492
|
-
"properties": {
|
2493
|
-
"name": {
|
2494
|
-
"$ref": "#/definitions/app/definitions/name"
|
2495
|
-
},
|
2496
|
-
"id": {
|
2497
|
-
"$ref": "#/definitions/app/definitions/id"
|
2498
|
-
}
|
2499
|
-
},
|
2500
|
-
"type": [
|
2501
|
-
"object"
|
2502
|
-
]
|
2503
|
-
},
|
2504
|
-
"updated_at": {
|
2505
|
-
"description": "last time fomation-set was updated",
|
2506
|
-
"example": "2012-01-01T12:00:00Z",
|
2507
|
-
"format": "date-time",
|
2508
|
-
"readOnly": true,
|
2509
|
-
"type": [
|
2510
|
-
"string"
|
2511
|
-
]
|
2512
|
-
}
|
2513
|
-
}
|
2514
|
-
},
|
2515
2507
|
"app-setup": {
|
2516
2508
|
"description": "An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.",
|
2517
2509
|
"$schema": "http://json-schema.org/draft-04/hyper-schema",
|
@@ -3839,9 +3831,10 @@
|
|
3839
3831
|
"description": "web URL of app",
|
3840
3832
|
"example": "https://example.herokuapp.com/",
|
3841
3833
|
"format": "uri",
|
3842
|
-
"pattern": "^https?://[a-z][a-z0-9-]{3,
|
3834
|
+
"pattern": "^https?://[a-z][a-z0-9-]{3,43}\\.herokuapp\\.com/$",
|
3843
3835
|
"readOnly": true,
|
3844
3836
|
"type": [
|
3837
|
+
"null",
|
3845
3838
|
"string"
|
3846
3839
|
]
|
3847
3840
|
},
|
@@ -4494,7 +4487,15 @@
|
|
4494
4487
|
"description": "A build represents the process of transforming a code tarball into a slug",
|
4495
4488
|
"title": "Heroku Build API - Build",
|
4496
4489
|
"stability": "production",
|
4497
|
-
"strictProperties":
|
4490
|
+
"strictProperties": false,
|
4491
|
+
"required": [
|
4492
|
+
"created_at",
|
4493
|
+
"id",
|
4494
|
+
"source_blob",
|
4495
|
+
"status",
|
4496
|
+
"updated_at",
|
4497
|
+
"user"
|
4498
|
+
],
|
4498
4499
|
"type": [
|
4499
4500
|
"object"
|
4500
4501
|
],
|
@@ -4617,6 +4618,15 @@
|
|
4617
4618
|
"string",
|
4618
4619
|
"null"
|
4619
4620
|
]
|
4621
|
+
},
|
4622
|
+
"version_description": {
|
4623
|
+
"description": "Version description of the gzipped tarball.",
|
4624
|
+
"example": "* Fake User: Change session key",
|
4625
|
+
"readOnly": true,
|
4626
|
+
"type": [
|
4627
|
+
"string",
|
4628
|
+
"null"
|
4629
|
+
]
|
4620
4630
|
}
|
4621
4631
|
},
|
4622
4632
|
"strictProperties": true,
|
@@ -4626,7 +4636,7 @@
|
|
4626
4636
|
},
|
4627
4637
|
"stack": {
|
4628
4638
|
"description": "stack of build",
|
4629
|
-
"example": "heroku-
|
4639
|
+
"example": "heroku-22",
|
4630
4640
|
"readOnly": true,
|
4631
4641
|
"type": [
|
4632
4642
|
"string"
|
@@ -4717,6 +4727,16 @@
|
|
4717
4727
|
"method": "DELETE",
|
4718
4728
|
"rel": "empty",
|
4719
4729
|
"title": "Delete cache"
|
4730
|
+
},
|
4731
|
+
{
|
4732
|
+
"description": "Cancel running build.",
|
4733
|
+
"href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/builds/{(%23%2Fdefinitions%2Fbuild%2Fdefinitions%2Fidentity)}",
|
4734
|
+
"method": "DELETE",
|
4735
|
+
"rel": "self",
|
4736
|
+
"targetSchema": {
|
4737
|
+
"$ref": "#/definitions/build"
|
4738
|
+
},
|
4739
|
+
"title": "Cancel"
|
4720
4740
|
}
|
4721
4741
|
],
|
4722
4742
|
"properties": {
|
@@ -5661,7 +5681,7 @@
|
|
5661
5681
|
},
|
5662
5682
|
"name": {
|
5663
5683
|
"description": "the name of this dyno-size",
|
5664
|
-
"example": "
|
5684
|
+
"example": "eco",
|
5665
5685
|
"readOnly": true,
|
5666
5686
|
"type": [
|
5667
5687
|
"string"
|
@@ -5694,13 +5714,22 @@
|
|
5694
5714
|
}
|
5695
5715
|
},
|
5696
5716
|
"dyno_units": {
|
5697
|
-
"
|
5717
|
+
"deprecated": true,
|
5718
|
+
"description": "deprecated. See precise_dyno_units instead",
|
5698
5719
|
"example": 0,
|
5699
5720
|
"readOnly": true,
|
5700
5721
|
"type": [
|
5701
5722
|
"integer"
|
5702
5723
|
]
|
5703
5724
|
},
|
5725
|
+
"precise_dyno_units": {
|
5726
|
+
"description": "unit of consumption for Heroku Enterprise customers to 2 decimal places",
|
5727
|
+
"example": 0.28,
|
5728
|
+
"readOnly": true,
|
5729
|
+
"type": [
|
5730
|
+
"number"
|
5731
|
+
]
|
5732
|
+
},
|
5704
5733
|
"private_space_only": {
|
5705
5734
|
"description": "whether this dyno can only be provisioned in a private space",
|
5706
5735
|
"example": false,
|
@@ -5750,6 +5779,9 @@
|
|
5750
5779
|
"dyno_units": {
|
5751
5780
|
"$ref": "#/definitions/dyno-size/definitions/dyno_units"
|
5752
5781
|
},
|
5782
|
+
"precise_dyno_units": {
|
5783
|
+
"$ref": "#/definitions/dyno-size/definitions/precise_dyno_units"
|
5784
|
+
},
|
5753
5785
|
"id": {
|
5754
5786
|
"$ref": "#/definitions/dyno-size/definitions/id"
|
5755
5787
|
},
|
@@ -6849,6 +6881,9 @@
|
|
6849
6881
|
"href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fidentity)}",
|
6850
6882
|
"method": "GET",
|
6851
6883
|
"rel": "self",
|
6884
|
+
"targetSchema": {
|
6885
|
+
"$ref": "#/definitions/enterprise-account"
|
6886
|
+
},
|
6852
6887
|
"title": "Info"
|
6853
6888
|
},
|
6854
6889
|
{
|
@@ -7691,6 +7726,9 @@
|
|
7691
7726
|
"href": "/account/invoice-address",
|
7692
7727
|
"method": "GET",
|
7693
7728
|
"rel": "self",
|
7729
|
+
"targetSchema": {
|
7730
|
+
"$ref": "#/definitions/invoice-address"
|
7731
|
+
},
|
7694
7732
|
"title": "info"
|
7695
7733
|
},
|
7696
7734
|
{
|
@@ -7729,6 +7767,9 @@
|
|
7729
7767
|
"type": [
|
7730
7768
|
"object"
|
7731
7769
|
]
|
7770
|
+
},
|
7771
|
+
"targetSchema": {
|
7772
|
+
"$ref": "#/definitions/invoice-address"
|
7732
7773
|
}
|
7733
7774
|
}
|
7734
7775
|
],
|
@@ -8069,7 +8110,11 @@
|
|
8069
8110
|
"description": "add-on that created the drain",
|
8070
8111
|
"example": {
|
8071
8112
|
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
8072
|
-
"name": "singing-swiftly-1242"
|
8113
|
+
"name": "singing-swiftly-1242",
|
8114
|
+
"app": {
|
8115
|
+
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
8116
|
+
"name": "example"
|
8117
|
+
}
|
8073
8118
|
},
|
8074
8119
|
"properties": {
|
8075
8120
|
"id": {
|
@@ -8077,8 +8122,44 @@
|
|
8077
8122
|
},
|
8078
8123
|
"name": {
|
8079
8124
|
"$ref": "#/definitions/add-on/definitions/name"
|
8125
|
+
},
|
8126
|
+
"app": {
|
8127
|
+
"description": "billing application associated with this add-on",
|
8128
|
+
"type": [
|
8129
|
+
"object"
|
8130
|
+
],
|
8131
|
+
"properties": {
|
8132
|
+
"id": {
|
8133
|
+
"$ref": "#/definitions/app/definitions/id"
|
8134
|
+
},
|
8135
|
+
"name": {
|
8136
|
+
"$ref": "#/definitions/app/definitions/name"
|
8137
|
+
}
|
8138
|
+
},
|
8139
|
+
"strictProperties": true
|
8140
|
+
}
|
8141
|
+
},
|
8142
|
+
"readOnly": true,
|
8143
|
+
"type": [
|
8144
|
+
"object",
|
8145
|
+
"null"
|
8146
|
+
]
|
8147
|
+
},
|
8148
|
+
"app": {
|
8149
|
+
"description": "application that is attached to this drain",
|
8150
|
+
"example": {
|
8151
|
+
"id": "01234567-89ab-cdef-0123-456789abcdef",
|
8152
|
+
"name": "example"
|
8153
|
+
},
|
8154
|
+
"properties": {
|
8155
|
+
"id": {
|
8156
|
+
"$ref": "#/definitions/app/definitions/id"
|
8157
|
+
},
|
8158
|
+
"name": {
|
8159
|
+
"$ref": "#/definitions/app/definitions/name"
|
8080
8160
|
}
|
8081
8161
|
},
|
8162
|
+
"strictProperties": true,
|
8082
8163
|
"readOnly": true,
|
8083
8164
|
"type": [
|
8084
8165
|
"object",
|
@@ -8251,6 +8332,9 @@
|
|
8251
8332
|
"addon": {
|
8252
8333
|
"$ref": "#/definitions/log-drain/definitions/addon"
|
8253
8334
|
},
|
8335
|
+
"app": {
|
8336
|
+
"$ref": "#/definitions/log-drain/definitions/app"
|
8337
|
+
},
|
8254
8338
|
"created_at": {
|
8255
8339
|
"$ref": "#/definitions/log-drain/definitions/created_at"
|
8256
8340
|
},
|
@@ -9382,10 +9466,16 @@
|
|
9382
9466
|
"$ref": "#/definitions/account/definitions/email"
|
9383
9467
|
}
|
9384
9468
|
},
|
9469
|
+
"required": [
|
9470
|
+
"email"
|
9471
|
+
],
|
9385
9472
|
"type": [
|
9386
9473
|
"object"
|
9387
9474
|
]
|
9388
9475
|
},
|
9476
|
+
"targetSchema": {
|
9477
|
+
"$ref": "#/definitions/password-reset"
|
9478
|
+
},
|
9389
9479
|
"title": "Reset Password"
|
9390
9480
|
},
|
9391
9481
|
{
|
@@ -9402,10 +9492,17 @@
|
|
9402
9492
|
"$ref": "#/definitions/password-reset/definitions/password_confirmation"
|
9403
9493
|
}
|
9404
9494
|
},
|
9495
|
+
"required": [
|
9496
|
+
"password",
|
9497
|
+
"password_confirmation"
|
9498
|
+
],
|
9405
9499
|
"type": [
|
9406
9500
|
"object"
|
9407
9501
|
]
|
9408
9502
|
},
|
9503
|
+
"targetSchema": {
|
9504
|
+
"$ref": "#/definitions/password-reset"
|
9505
|
+
},
|
9409
9506
|
"title": "Complete Reset Password"
|
9410
9507
|
}
|
9411
9508
|
],
|
@@ -9635,14 +9732,20 @@
|
|
9635
9732
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}/actions/accept",
|
9636
9733
|
"method": "POST",
|
9637
9734
|
"rel": "empty",
|
9638
|
-
"title": "Accept"
|
9735
|
+
"title": "Accept",
|
9736
|
+
"targetSchema": {
|
9737
|
+
"$ref": "#/definitions/peering"
|
9738
|
+
}
|
9639
9739
|
},
|
9640
9740
|
{
|
9641
9741
|
"description": "Destroy an active peering connection with a private space.",
|
9642
9742
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}",
|
9643
9743
|
"rel": "empty",
|
9644
9744
|
"method": "DELETE",
|
9645
|
-
"title": "Destroy"
|
9745
|
+
"title": "Destroy",
|
9746
|
+
"targetSchema": {
|
9747
|
+
"$ref": "#/definitions/peering"
|
9748
|
+
}
|
9646
9749
|
},
|
9647
9750
|
{
|
9648
9751
|
"description": "Fetch information for existing peering connection",
|
@@ -11267,12 +11370,14 @@
|
|
11267
11370
|
"ap-southeast-1",
|
11268
11371
|
"ap-southeast-2",
|
11269
11372
|
"eu-central-1",
|
11373
|
+
"eu-west-2",
|
11270
11374
|
"ap-northeast-2",
|
11271
11375
|
"ap-northeast-1",
|
11272
11376
|
"us-east-1",
|
11273
11377
|
"sa-east-1",
|
11274
11378
|
"us-west-1",
|
11275
|
-
"us-west-2"
|
11379
|
+
"us-west-2",
|
11380
|
+
"ca-central-1"
|
11276
11381
|
]
|
11277
11382
|
}
|
11278
11383
|
},
|
@@ -14027,6 +14132,9 @@
|
|
14027
14132
|
"object"
|
14028
14133
|
]
|
14029
14134
|
},
|
14135
|
+
"targetSchema": {
|
14136
|
+
"$ref": "#/definitions/team-app"
|
14137
|
+
},
|
14030
14138
|
"title": "Create"
|
14031
14139
|
},
|
14032
14140
|
{
|
@@ -14034,6 +14142,9 @@
|
|
14034
14142
|
"href": "/teams/apps/{(%23%2Fdefinitions%2Fteam-app%2Fdefinitions%2Fidentity)}",
|
14035
14143
|
"method": "GET",
|
14036
14144
|
"rel": "self",
|
14145
|
+
"targetSchema": {
|
14146
|
+
"$ref": "#/definitions/team-app"
|
14147
|
+
},
|
14037
14148
|
"title": "Info"
|
14038
14149
|
},
|
14039
14150
|
{
|
@@ -14692,6 +14803,9 @@
|
|
14692
14803
|
"type": [
|
14693
14804
|
"object"
|
14694
14805
|
]
|
14806
|
+
},
|
14807
|
+
"targetSchema": {
|
14808
|
+
"$ref": "#/definitions/team-invitation"
|
14695
14809
|
}
|
14696
14810
|
},
|
14697
14811
|
{
|
@@ -14699,7 +14813,10 @@
|
|
14699
14813
|
"title": "Revoke",
|
14700
14814
|
"href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/invitations/{(%23%2Fdefinitions%2Fteam-invitation%2Fdefinitions%2Fidentity)}",
|
14701
14815
|
"method": "DELETE",
|
14702
|
-
"rel": "self"
|
14816
|
+
"rel": "self",
|
14817
|
+
"targetSchema": {
|
14818
|
+
"$ref": "#/definitions/team-invitation"
|
14819
|
+
}
|
14703
14820
|
},
|
14704
14821
|
{
|
14705
14822
|
"description": "Get an invitation by its token",
|
@@ -15907,6 +16024,9 @@
|
|
15907
16024
|
"href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}",
|
15908
16025
|
"method": "GET",
|
15909
16026
|
"rel": "self",
|
16027
|
+
"targetSchema": {
|
16028
|
+
"$ref": "#/definitions/team"
|
16029
|
+
},
|
15910
16030
|
"title": "Info"
|
15911
16031
|
},
|
15912
16032
|
{
|
@@ -17174,6 +17294,9 @@
|
|
17174
17294
|
"href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections/{(%23%2Fdefinitions%2Fvpn-connection%2Fdefinitions%2Fidentity)}",
|
17175
17295
|
"rel": "empty",
|
17176
17296
|
"method": "DELETE",
|
17297
|
+
"targetSchema": {
|
17298
|
+
"$ref": "#/definitions/vpn-connection"
|
17299
|
+
},
|
17177
17300
|
"title": "Destroy"
|
17178
17301
|
},
|
17179
17302
|
{
|
@@ -17270,9 +17393,6 @@
|
|
17270
17393
|
"app-feature": {
|
17271
17394
|
"$ref": "#/definitions/app-feature"
|
17272
17395
|
},
|
17273
|
-
"app-formation-set": {
|
17274
|
-
"$ref": "#/definitions/app-formation-set"
|
17275
|
-
},
|
17276
17396
|
"app-setup": {
|
17277
17397
|
"$ref": "#/definitions/app-setup"
|
17278
17398
|
},
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: platform-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jkakar
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,7 +197,7 @@ homepage: https://github.com/heroku/platform-api
|
|
197
197
|
licenses:
|
198
198
|
- MIT
|
199
199
|
metadata: {}
|
200
|
-
post_install_message:
|
200
|
+
post_install_message:
|
201
201
|
rdoc_options: []
|
202
202
|
require_paths:
|
203
203
|
- lib
|
@@ -212,8 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
212
212
|
- !ruby/object:Gem::Version
|
213
213
|
version: '0'
|
214
214
|
requirements: []
|
215
|
-
rubygems_version: 3.
|
216
|
-
signing_key:
|
215
|
+
rubygems_version: 3.5.3
|
216
|
+
signing_key:
|
217
217
|
specification_version: 4
|
218
218
|
summary: Ruby HTTP client for the Heroku API.
|
219
219
|
test_files: []
|