platform-api 3.5.0 → 3.7.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.
data/schema.json CHANGED
@@ -4,6 +4,58 @@
4
4
  "object"
5
5
  ],
6
6
  "definitions": {
7
+ "account-delinquency": {
8
+ "description": "A Heroku account becomes delinquent due to non-payment. We [suspend and delete](https://help.heroku.com/EREVRILX/what-happens-if-i-have-unpaid-heroku-invoices) delinquent accounts if their invoices remain unpaid.",
9
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
10
+ "stability": "development",
11
+ "strictProperties": true,
12
+ "title": "Heroku Platform API - Account Delinquency",
13
+ "type": [
14
+ "object"
15
+ ],
16
+ "definitions": {
17
+ "scheduled_suspension_time": {
18
+ "description": "scheduled time of when we will suspend your account due to delinquency",
19
+ "example": "2024-01-01T12:00:00Z",
20
+ "format": "date-time",
21
+ "readOnly": true,
22
+ "type": [
23
+ "string",
24
+ "null"
25
+ ]
26
+ },
27
+ "scheduled_deletion_time": {
28
+ "description": "scheduled time of when we will delete your account due to delinquency",
29
+ "example": "2024-01-01T12:00:00Z",
30
+ "format": "date-time",
31
+ "readOnly": true,
32
+ "type": [
33
+ "string",
34
+ "null"
35
+ ]
36
+ }
37
+ },
38
+ "links": [
39
+ {
40
+ "description": "Account delinquency information.",
41
+ "href": "/account/delinquency",
42
+ "method": "GET",
43
+ "rel": "self",
44
+ "targetSchema": {
45
+ "$ref": "#/definitions/account-delinquency"
46
+ },
47
+ "title": "Info"
48
+ }
49
+ ],
50
+ "properties": {
51
+ "scheduled_suspension_time": {
52
+ "$ref": "#/definitions/account-delinquency/definitions/scheduled_suspension_time"
53
+ },
54
+ "scheduled_deletion_time": {
55
+ "$ref": "#/definitions/account-delinquency/definitions/scheduled_deletion_time"
56
+ }
57
+ }
58
+ },
7
59
  "account-feature": {
8
60
  "description": "An account feature represents a Heroku labs capability that can be enabled or disabled for an account on Heroku.",
9
61
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
@@ -599,7 +651,7 @@
599
651
  "description": "Mark an add-on as provisioned for use.",
600
652
  "href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/provision",
601
653
  "method": "POST",
602
- "rel": "create",
654
+ "rel": "update",
603
655
  "targetSchema": {
604
656
  "$ref": "#/definitions/add-on"
605
657
  },
@@ -609,7 +661,7 @@
609
661
  "description": "Mark an add-on as deprovisioned.",
610
662
  "href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/actions/deprovision",
611
663
  "method": "POST",
612
- "rel": "create",
664
+ "rel": "update",
613
665
  "targetSchema": {
614
666
  "$ref": "#/definitions/add-on"
615
667
  },
@@ -1622,8 +1674,24 @@
1622
1674
  "description": "Add-ons represent add-ons that have been provisioned and attached to one or more apps.",
1623
1675
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
1624
1676
  "stability": "production",
1625
- "strictProperties": true,
1626
1677
  "title": "Heroku Platform API - Add-on",
1678
+ "additionalProperties": false,
1679
+ "required": [
1680
+ "actions",
1681
+ "addon_service",
1682
+ "billing_entity",
1683
+ "app",
1684
+ "billed_price",
1685
+ "config_vars",
1686
+ "created_at",
1687
+ "id",
1688
+ "name",
1689
+ "plan",
1690
+ "provider_id",
1691
+ "state",
1692
+ "updated_at",
1693
+ "web_url"
1694
+ ],
1627
1695
  "type": [
1628
1696
  "object"
1629
1697
  ],
@@ -1788,6 +1856,57 @@
1788
1856
  "null",
1789
1857
  "string"
1790
1858
  ]
1859
+ },
1860
+ "addon_service": {
1861
+ "description": "identity of add-on service",
1862
+ "anyOf": [
1863
+ {
1864
+ "properties": {
1865
+ "id": {
1866
+ "$ref": "#/definitions/add-on-service/definitions/id"
1867
+ },
1868
+ "name": {
1869
+ "$ref": "#/definitions/add-on-service/definitions/name"
1870
+ }
1871
+ },
1872
+ "strictProperties": true,
1873
+ "type": [
1874
+ "object"
1875
+ ]
1876
+ },
1877
+ {
1878
+ "$ref": "#/definitions/add-on-service"
1879
+ }
1880
+ ]
1881
+ },
1882
+ "plan": {
1883
+ "description": "identity of add-on plan",
1884
+ "anyOf": [
1885
+ {
1886
+ "properties": {
1887
+ "id": {
1888
+ "$ref": "#/definitions/plan/definitions/id"
1889
+ },
1890
+ "name": {
1891
+ "$ref": "#/definitions/plan/definitions/name"
1892
+ }
1893
+ },
1894
+ "strictProperties": true,
1895
+ "type": [
1896
+ "object"
1897
+ ]
1898
+ },
1899
+ {
1900
+ "$ref": "#/definitions/plan"
1901
+ }
1902
+ ]
1903
+ },
1904
+ "provision_message": {
1905
+ "description": "A provision message",
1906
+ "readOnly": true,
1907
+ "type": [
1908
+ "string"
1909
+ ]
1791
1910
  }
1792
1911
  },
1793
1912
  "links": [
@@ -1918,6 +2037,9 @@
1918
2037
  "object"
1919
2038
  ]
1920
2039
  },
2040
+ "targetSchema": {
2041
+ "$ref": "#/definitions/add-on"
2042
+ },
1921
2043
  "title": "Update"
1922
2044
  },
1923
2045
  {
@@ -1990,19 +2112,7 @@
1990
2112
  "$ref": "#/definitions/add-on/definitions/actions"
1991
2113
  },
1992
2114
  "addon_service": {
1993
- "description": "identity of add-on service",
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
- ]
2115
+ "$ref": "#/definitions/add-on/definitions/addon_service"
2006
2116
  },
2007
2117
  "billing_entity": {
2008
2118
  "description": "billing entity associated with this add-on",
@@ -2089,23 +2199,14 @@
2089
2199
  "$ref": "#/definitions/add-on/definitions/name"
2090
2200
  },
2091
2201
  "plan": {
2092
- "description": "identity of add-on plan",
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
- ]
2202
+ "$ref": "#/definitions/add-on/definitions/plan"
2105
2203
  },
2106
2204
  "provider_id": {
2107
2205
  "$ref": "#/definitions/add-on/definitions/provider_id"
2108
2206
  },
2207
+ "provision_message": {
2208
+ "$ref": "#/definitions/add-on/definitions/provision_message"
2209
+ },
2109
2210
  "state": {
2110
2211
  "$ref": "#/definitions/add-on/definitions/state"
2111
2212
  },
@@ -2455,63 +2556,6 @@
2455
2556
  }
2456
2557
  }
2457
2558
  },
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
2559
  "app-setup": {
2516
2560
  "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
2561
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
@@ -3839,9 +3883,10 @@
3839
3883
  "description": "web URL of app",
3840
3884
  "example": "https://example.herokuapp.com/",
3841
3885
  "format": "uri",
3842
- "pattern": "^https?://[a-z][a-z0-9-]{3,30}\\.herokuapp\\.com/$",
3886
+ "pattern": "^https?://[a-z][a-z0-9-]{3,43}\\.herokuapp\\.com/$",
3843
3887
  "readOnly": true,
3844
3888
  "type": [
3889
+ "null",
3845
3890
  "string"
3846
3891
  ]
3847
3892
  },
@@ -4494,7 +4539,15 @@
4494
4539
  "description": "A build represents the process of transforming a code tarball into a slug",
4495
4540
  "title": "Heroku Build API - Build",
4496
4541
  "stability": "production",
4497
- "strictProperties": true,
4542
+ "strictProperties": false,
4543
+ "required": [
4544
+ "created_at",
4545
+ "id",
4546
+ "source_blob",
4547
+ "status",
4548
+ "updated_at",
4549
+ "user"
4550
+ ],
4498
4551
  "type": [
4499
4552
  "object"
4500
4553
  ],
@@ -4617,6 +4670,15 @@
4617
4670
  "string",
4618
4671
  "null"
4619
4672
  ]
4673
+ },
4674
+ "version_description": {
4675
+ "description": "Version description of the gzipped tarball.",
4676
+ "example": "* Fake User: Change session key",
4677
+ "readOnly": true,
4678
+ "type": [
4679
+ "string",
4680
+ "null"
4681
+ ]
4620
4682
  }
4621
4683
  },
4622
4684
  "strictProperties": true,
@@ -4626,7 +4688,7 @@
4626
4688
  },
4627
4689
  "stack": {
4628
4690
  "description": "stack of build",
4629
- "example": "heroku-16",
4691
+ "example": "heroku-22",
4630
4692
  "readOnly": true,
4631
4693
  "type": [
4632
4694
  "string"
@@ -4717,6 +4779,16 @@
4717
4779
  "method": "DELETE",
4718
4780
  "rel": "empty",
4719
4781
  "title": "Delete cache"
4782
+ },
4783
+ {
4784
+ "description": "Cancel running build.",
4785
+ "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/builds/{(%23%2Fdefinitions%2Fbuild%2Fdefinitions%2Fidentity)}",
4786
+ "method": "DELETE",
4787
+ "rel": "self",
4788
+ "targetSchema": {
4789
+ "$ref": "#/definitions/build"
4790
+ },
4791
+ "title": "Cancel"
4720
4792
  }
4721
4793
  ],
4722
4794
  "properties": {
@@ -5661,7 +5733,7 @@
5661
5733
  },
5662
5734
  "name": {
5663
5735
  "description": "the name of this dyno-size",
5664
- "example": "free",
5736
+ "example": "eco",
5665
5737
  "readOnly": true,
5666
5738
  "type": [
5667
5739
  "string"
@@ -5694,13 +5766,22 @@
5694
5766
  }
5695
5767
  },
5696
5768
  "dyno_units": {
5697
- "description": "unit of consumption for Heroku Enterprise customers",
5769
+ "deprecated": true,
5770
+ "description": "deprecated. See precise_dyno_units instead",
5698
5771
  "example": 0,
5699
5772
  "readOnly": true,
5700
5773
  "type": [
5701
5774
  "integer"
5702
5775
  ]
5703
5776
  },
5777
+ "precise_dyno_units": {
5778
+ "description": "unit of consumption for Heroku Enterprise customers to 2 decimal places",
5779
+ "example": 0.28,
5780
+ "readOnly": true,
5781
+ "type": [
5782
+ "number"
5783
+ ]
5784
+ },
5704
5785
  "private_space_only": {
5705
5786
  "description": "whether this dyno can only be provisioned in a private space",
5706
5787
  "example": false,
@@ -5750,6 +5831,9 @@
5750
5831
  "dyno_units": {
5751
5832
  "$ref": "#/definitions/dyno-size/definitions/dyno_units"
5752
5833
  },
5834
+ "precise_dyno_units": {
5835
+ "$ref": "#/definitions/dyno-size/definitions/precise_dyno_units"
5836
+ },
5753
5837
  "id": {
5754
5838
  "$ref": "#/definitions/dyno-size/definitions/id"
5755
5839
  },
@@ -5865,7 +5949,7 @@
5865
5949
  ]
5866
5950
  },
5867
5951
  "size": {
5868
- "description": "dyno size (default: \"standard-1X\")",
5952
+ "description": "dyno size",
5869
5953
  "example": "standard-1X",
5870
5954
  "readOnly": false,
5871
5955
  "type": [
@@ -6767,6 +6851,9 @@
6767
6851
  "anyOf": [
6768
6852
  {
6769
6853
  "$ref": "#/definitions/enterprise-account/definitions/id"
6854
+ },
6855
+ {
6856
+ "$ref": "#/definitions/enterprise-account/definitions/name"
6770
6857
  }
6771
6858
  ]
6772
6859
  },
@@ -6849,6 +6936,9 @@
6849
6936
  "href": "/enterprise-accounts/{(%23%2Fdefinitions%2Fenterprise-account%2Fdefinitions%2Fidentity)}",
6850
6937
  "method": "GET",
6851
6938
  "rel": "self",
6939
+ "targetSchema": {
6940
+ "$ref": "#/definitions/enterprise-account"
6941
+ },
6852
6942
  "title": "Info"
6853
6943
  },
6854
6944
  {
@@ -7014,7 +7104,7 @@
7014
7104
  ]
7015
7105
  },
7016
7106
  "size": {
7017
- "description": "dyno size (default: \"standard-1X\")",
7107
+ "description": "dyno size",
7018
7108
  "example": "standard-1X",
7019
7109
  "readOnly": false,
7020
7110
  "type": [
@@ -7188,7 +7278,7 @@
7188
7278
  }
7189
7279
  },
7190
7280
  "identity-provider": {
7191
- "description": "Identity Providers represent the SAML configuration of an Enterprise Account or Team.",
7281
+ "description": "Identity Providers represent the SAML configuration of teams or an Enterprise account",
7192
7282
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
7193
7283
  "stability": "production",
7194
7284
  "strictProperties": true,
@@ -7691,6 +7781,9 @@
7691
7781
  "href": "/account/invoice-address",
7692
7782
  "method": "GET",
7693
7783
  "rel": "self",
7784
+ "targetSchema": {
7785
+ "$ref": "#/definitions/invoice-address"
7786
+ },
7694
7787
  "title": "info"
7695
7788
  },
7696
7789
  {
@@ -7729,6 +7822,9 @@
7729
7822
  "type": [
7730
7823
  "object"
7731
7824
  ]
7825
+ },
7826
+ "targetSchema": {
7827
+ "$ref": "#/definitions/invoice-address"
7732
7828
  }
7733
7829
  }
7734
7830
  ],
@@ -8069,7 +8165,11 @@
8069
8165
  "description": "add-on that created the drain",
8070
8166
  "example": {
8071
8167
  "id": "01234567-89ab-cdef-0123-456789abcdef",
8072
- "name": "singing-swiftly-1242"
8168
+ "name": "singing-swiftly-1242",
8169
+ "app": {
8170
+ "id": "01234567-89ab-cdef-0123-456789abcdef",
8171
+ "name": "example"
8172
+ }
8073
8173
  },
8074
8174
  "properties": {
8075
8175
  "id": {
@@ -8077,6 +8177,21 @@
8077
8177
  },
8078
8178
  "name": {
8079
8179
  "$ref": "#/definitions/add-on/definitions/name"
8180
+ },
8181
+ "app": {
8182
+ "description": "billing application associated with this add-on",
8183
+ "type": [
8184
+ "object"
8185
+ ],
8186
+ "properties": {
8187
+ "id": {
8188
+ "$ref": "#/definitions/app/definitions/id"
8189
+ },
8190
+ "name": {
8191
+ "$ref": "#/definitions/app/definitions/name"
8192
+ }
8193
+ },
8194
+ "strictProperties": true
8080
8195
  }
8081
8196
  },
8082
8197
  "readOnly": true,
@@ -8085,6 +8200,27 @@
8085
8200
  "null"
8086
8201
  ]
8087
8202
  },
8203
+ "app": {
8204
+ "description": "application that is attached to this drain",
8205
+ "example": {
8206
+ "id": "01234567-89ab-cdef-0123-456789abcdef",
8207
+ "name": "example"
8208
+ },
8209
+ "properties": {
8210
+ "id": {
8211
+ "$ref": "#/definitions/app/definitions/id"
8212
+ },
8213
+ "name": {
8214
+ "$ref": "#/definitions/app/definitions/name"
8215
+ }
8216
+ },
8217
+ "strictProperties": true,
8218
+ "readOnly": true,
8219
+ "type": [
8220
+ "object",
8221
+ "null"
8222
+ ]
8223
+ },
8088
8224
  "created_at": {
8089
8225
  "description": "when log drain was created",
8090
8226
  "example": "2012-01-01T12:00:00Z",
@@ -8251,6 +8387,9 @@
8251
8387
  "addon": {
8252
8388
  "$ref": "#/definitions/log-drain/definitions/addon"
8253
8389
  },
8390
+ "app": {
8391
+ "$ref": "#/definitions/log-drain/definitions/app"
8392
+ },
8254
8393
  "created_at": {
8255
8394
  "$ref": "#/definitions/log-drain/definitions/created_at"
8256
8395
  },
@@ -8770,7 +8909,7 @@
8770
8909
  "title": "Delete"
8771
8910
  },
8772
8911
  {
8773
- "description": "Info for an OAuth client",
8912
+ "description": "Info for an OAuth client. The output for unauthenticated requests excludes the `secret` parameter.",
8774
8913
  "href": "/oauth/clients/{(%23%2Fdefinitions%2Foauth-client%2Fdefinitions%2Fidentity)}",
8775
8914
  "method": "GET",
8776
8915
  "rel": "self",
@@ -8951,7 +9090,7 @@
8951
9090
  },
8952
9091
  "token": {
8953
9092
  "description": "contents of the token to be used for authorization",
8954
- "example": "01234567-89ab-cdef-0123-456789abcdef",
9093
+ "example": "HRKU-01234567-89ab-cdef-0123-456789abcdef",
8955
9094
  "readOnly": true,
8956
9095
  "type": [
8957
9096
  "string"
@@ -9149,9 +9288,11 @@
9149
9288
  "outbound-ruleset": {
9150
9289
  "description": "An outbound-ruleset is a collection of rules that specify what hosts Dynos are allowed to communicate with. ",
9151
9290
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
9152
- "stability": "prototype",
9291
+ "stability": "deprecation",
9153
9292
  "strictProperties": true,
9154
9293
  "title": "Heroku Platform API - Outbound Ruleset",
9294
+ "deprecated_at": "2024-04-30",
9295
+ "deactivate_on": "2024-06-03",
9155
9296
  "type": [
9156
9297
  "object"
9157
9298
  ],
@@ -9382,10 +9523,16 @@
9382
9523
  "$ref": "#/definitions/account/definitions/email"
9383
9524
  }
9384
9525
  },
9526
+ "required": [
9527
+ "email"
9528
+ ],
9385
9529
  "type": [
9386
9530
  "object"
9387
9531
  ]
9388
9532
  },
9533
+ "targetSchema": {
9534
+ "$ref": "#/definitions/password-reset"
9535
+ },
9389
9536
  "title": "Reset Password"
9390
9537
  },
9391
9538
  {
@@ -9402,10 +9549,17 @@
9402
9549
  "$ref": "#/definitions/password-reset/definitions/password_confirmation"
9403
9550
  }
9404
9551
  },
9552
+ "required": [
9553
+ "password",
9554
+ "password_confirmation"
9555
+ ],
9405
9556
  "type": [
9406
9557
  "object"
9407
9558
  ]
9408
9559
  },
9560
+ "targetSchema": {
9561
+ "$ref": "#/definitions/password-reset"
9562
+ },
9409
9563
  "title": "Complete Reset Password"
9410
9564
  }
9411
9565
  ],
@@ -9635,14 +9789,20 @@
9635
9789
  "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}/actions/accept",
9636
9790
  "method": "POST",
9637
9791
  "rel": "empty",
9638
- "title": "Accept"
9792
+ "title": "Accept",
9793
+ "targetSchema": {
9794
+ "$ref": "#/definitions/peering"
9795
+ }
9639
9796
  },
9640
9797
  {
9641
9798
  "description": "Destroy an active peering connection with a private space.",
9642
9799
  "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/peerings/{(%23%2Fdefinitions%2Fpeering%2Fdefinitions%2Fpcx_id)}",
9643
9800
  "rel": "empty",
9644
9801
  "method": "DELETE",
9645
- "title": "Destroy"
9802
+ "title": "Destroy",
9803
+ "targetSchema": {
9804
+ "$ref": "#/definitions/peering"
9805
+ }
9646
9806
  },
9647
9807
  {
9648
9808
  "description": "Fetch information for existing peering connection",
@@ -11267,12 +11427,14 @@
11267
11427
  "ap-southeast-1",
11268
11428
  "ap-southeast-2",
11269
11429
  "eu-central-1",
11430
+ "eu-west-2",
11270
11431
  "ap-northeast-2",
11271
11432
  "ap-northeast-1",
11272
11433
  "us-east-1",
11273
11434
  "sa-east-1",
11274
11435
  "us-west-1",
11275
- "us-west-2"
11436
+ "us-west-2",
11437
+ "ca-central-1"
11276
11438
  ]
11277
11439
  }
11278
11440
  },
@@ -13294,7 +13456,7 @@
13294
13456
  "space": {
13295
13457
  "description": "A space is an isolated, highly available, secure app execution environment.",
13296
13458
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
13297
- "stability": "prototype",
13459
+ "stability": "production",
13298
13460
  "strictProperties": true,
13299
13461
  "title": "Heroku Platform API - Space",
13300
13462
  "type": [
@@ -13957,11 +14119,7 @@
13957
14119
  ]
13958
14120
  },
13959
14121
  "identity": {
13960
- "anyOf": [
13961
- {
13962
- "$ref": "#/definitions/app/definitions/name"
13963
- }
13964
- ]
14122
+ "$ref": "#/definitions/app/definitions/name"
13965
14123
  },
13966
14124
  "internal_routing": {
13967
14125
  "default": false,
@@ -14027,6 +14185,9 @@
14027
14185
  "object"
14028
14186
  ]
14029
14187
  },
14188
+ "targetSchema": {
14189
+ "$ref": "#/definitions/team-app"
14190
+ },
14030
14191
  "title": "Create"
14031
14192
  },
14032
14193
  {
@@ -14034,6 +14195,9 @@
14034
14195
  "href": "/teams/apps/{(%23%2Fdefinitions%2Fteam-app%2Fdefinitions%2Fidentity)}",
14035
14196
  "method": "GET",
14036
14197
  "rel": "self",
14198
+ "targetSchema": {
14199
+ "$ref": "#/definitions/team-app"
14200
+ },
14037
14201
  "title": "Info"
14038
14202
  },
14039
14203
  {
@@ -14437,6 +14601,58 @@
14437
14601
  }
14438
14602
  }
14439
14603
  },
14604
+ "team-delinquency": {
14605
+ "description": "A Heroku team becomes delinquent due to non-payment. We [suspend and delete](https://help.heroku.com/EREVRILX/what-happens-if-i-have-unpaid-heroku-invoices) delinquent teams if their invoices remain unpaid.",
14606
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
14607
+ "stability": "development",
14608
+ "strictProperties": true,
14609
+ "title": "Heroku Platform API - Team Delinquency",
14610
+ "type": [
14611
+ "object"
14612
+ ],
14613
+ "definitions": {
14614
+ "scheduled_suspension_time": {
14615
+ "description": "scheduled time of when we will suspend your team due to delinquency",
14616
+ "example": "2024-01-01T12:00:00Z",
14617
+ "format": "date-time",
14618
+ "readOnly": true,
14619
+ "type": [
14620
+ "string",
14621
+ "null"
14622
+ ]
14623
+ },
14624
+ "scheduled_deletion_time": {
14625
+ "description": "scheduled time of when we will delete your team due to delinquency",
14626
+ "example": "2024-01-01T12:00:00Z",
14627
+ "format": "date-time",
14628
+ "readOnly": true,
14629
+ "type": [
14630
+ "string",
14631
+ "null"
14632
+ ]
14633
+ }
14634
+ },
14635
+ "links": [
14636
+ {
14637
+ "description": "Team delinquency information.",
14638
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/delinquency",
14639
+ "method": "GET",
14640
+ "rel": "self",
14641
+ "targetSchema": {
14642
+ "$ref": "#/definitions/team-delinquency"
14643
+ },
14644
+ "title": "Info"
14645
+ }
14646
+ ],
14647
+ "properties": {
14648
+ "scheduled_suspension_time": {
14649
+ "$ref": "#/definitions/team-delinquency/definitions/scheduled_suspension_time"
14650
+ },
14651
+ "scheduled_deletion_time": {
14652
+ "$ref": "#/definitions/team-delinquency/definitions/scheduled_deletion_time"
14653
+ }
14654
+ }
14655
+ },
14440
14656
  "team-feature": {
14441
14657
  "description": "A team feature represents a feature enabled on a team account.",
14442
14658
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
@@ -14692,6 +14908,9 @@
14692
14908
  "type": [
14693
14909
  "object"
14694
14910
  ]
14911
+ },
14912
+ "targetSchema": {
14913
+ "$ref": "#/definitions/team-invitation"
14695
14914
  }
14696
14915
  },
14697
14916
  {
@@ -14699,7 +14918,10 @@
14699
14918
  "title": "Revoke",
14700
14919
  "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/invitations/{(%23%2Fdefinitions%2Fteam-invitation%2Fdefinitions%2Fidentity)}",
14701
14920
  "method": "DELETE",
14702
- "rel": "self"
14921
+ "rel": "self",
14922
+ "targetSchema": {
14923
+ "$ref": "#/definitions/team-invitation"
14924
+ }
14703
14925
  },
14704
14926
  {
14705
14927
  "description": "Get an invitation by its token",
@@ -15094,7 +15316,7 @@
15094
15316
  ]
15095
15317
  },
15096
15318
  "two_factor_authentication": {
15097
- "description": "whether the Enterprise team member has two factor authentication enabled",
15319
+ "description": "whether the team member has two factor authentication enabled",
15098
15320
  "example": true,
15099
15321
  "readOnly": true,
15100
15322
  "type": [
@@ -15907,6 +16129,9 @@
15907
16129
  "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}",
15908
16130
  "method": "GET",
15909
16131
  "rel": "self",
16132
+ "targetSchema": {
16133
+ "$ref": "#/definitions/team"
16134
+ },
15910
16135
  "title": "Info"
15911
16136
  },
15912
16137
  {
@@ -17174,6 +17399,9 @@
17174
17399
  "href": "/spaces/{(%23%2Fdefinitions%2Fspace%2Fdefinitions%2Fidentity)}/vpn-connections/{(%23%2Fdefinitions%2Fvpn-connection%2Fdefinitions%2Fidentity)}",
17175
17400
  "rel": "empty",
17176
17401
  "method": "DELETE",
17402
+ "targetSchema": {
17403
+ "$ref": "#/definitions/vpn-connection"
17404
+ },
17177
17405
  "title": "Destroy"
17178
17406
  },
17179
17407
  {
@@ -17228,6 +17456,9 @@
17228
17456
  }
17229
17457
  },
17230
17458
  "properties": {
17459
+ "account-delinquency": {
17460
+ "$ref": "#/definitions/account-delinquency"
17461
+ },
17231
17462
  "account-feature": {
17232
17463
  "$ref": "#/definitions/account-feature"
17233
17464
  },
@@ -17270,9 +17501,6 @@
17270
17501
  "app-feature": {
17271
17502
  "$ref": "#/definitions/app-feature"
17272
17503
  },
17273
- "app-formation-set": {
17274
- "$ref": "#/definitions/app-formation-set"
17275
- },
17276
17504
  "app-setup": {
17277
17505
  "$ref": "#/definitions/app-setup"
17278
17506
  },
@@ -17480,6 +17708,9 @@
17480
17708
  "team-daily-usage": {
17481
17709
  "$ref": "#/definitions/team-daily-usage"
17482
17710
  },
17711
+ "team-delinquency": {
17712
+ "$ref": "#/definitions/team-delinquency"
17713
+ },
17483
17714
  "team-feature": {
17484
17715
  "$ref": "#/definitions/team-feature"
17485
17716
  },