platform-api 3.0.0 → 3.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee0c328970505aab87e732a3030917e1a39a13ace925bee458a64e7c46e2b4a2
4
- data.tar.gz: c6c5e31213b1cb83e778644602090eafb62fedd13f2e25705c65a9667b65f3ba
3
+ metadata.gz: a6e49cd394a0604607050110b325326eb7ede3f8fc106b4bd0fd9af469805e24
4
+ data.tar.gz: 58c8c8a6bc8f27960ef512faa4426dd29590ad9702403bfcc52e485913cd997a
5
5
  SHA512:
6
- metadata.gz: dc9b94a51665c7baa26970c7a29fb8aa73611150ace42da706c0cfff817761c92d5c6cceb283a6fc7bd0182bbf6eae6624008d07befd48ba1cd908640e1a57d9
7
- data.tar.gz: 382c4beea5afac407fc0d34b88d9e376390a015fcf023bfe7bb422111785481e4752f73a810a353c37178f8d36925e97d1dc149273d07781524c42f52c842147
6
+ metadata.gz: 273953ff91506216f6623402f6bfdec5cbd0bc394578747a42f06999142d74d24834b0e02015bd6e3597c1b0421d443af4dff88432e13814a44da359f2e12561
7
+ data.tar.gz: decc03b9d7448b9f4087c7c09c68ce4ac2024c2be222e8c90d3dcab09bf9bea374d938fba1b1aefd41dd78f9c638c4ab65f9f94b4a2a0e79b51299ba89ee072b
@@ -1,5 +1,13 @@
1
1
  ## Master (unreleased)
2
2
 
3
+ ## 3.2.0
4
+
5
+ - Pull latest JSON Schema and regenerated API.
6
+
7
+ ## 3.1.0
8
+
9
+ - Pull latest JSON Schema and regenerated API.
10
+
3
11
  ## 3.0.0
4
12
 
5
13
  - Rate throttling is on by default. (https://github.com/heroku/platform-api/pull/104)
@@ -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.0.0"}
86
+ default_headers = {"Accept"=>"application/vnd.heroku+json; version=3", "User-Agent"=>"platform-api/3.2.0"}
87
87
  {
88
88
  default_headers: default_headers,
89
89
  url: "https://api.heroku.com"
@@ -112,7 +112,7 @@ module PlatformAPI
112
112
  @account_resource ||= Account.new(@client)
113
113
  end
114
114
 
115
- # Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow whitelisted add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.
115
+ # Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.
116
116
  #
117
117
  # @return [AddonAction]
118
118
  def addon_action
@@ -182,6 +182,13 @@ module PlatformAPI
182
182
  @addon_resource ||= Addon.new(@client)
183
183
  end
184
184
 
185
+ # Entities that have been allowed to be used by a Team
186
+ #
187
+ # @return [AllowedAddonService]
188
+ def allowed_addon_service
189
+ @allowed_addon_service_resource ||= AllowedAddonService.new(@client)
190
+ end
191
+
185
192
  # An app feature represents a Heroku labs capability that can be enabled or disabled for an app on Heroku.
186
193
  #
187
194
  # @return [AppFeature]
@@ -860,7 +867,7 @@ module PlatformAPI
860
867
  end
861
868
  end
862
869
 
863
- # Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow whitelisted add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.
870
+ # Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.
864
871
  class AddonAction
865
872
  def initialize(client)
866
873
  @client = client
@@ -1188,6 +1195,36 @@ module PlatformAPI
1188
1195
  end
1189
1196
  end
1190
1197
 
1198
+ # Entities that have been allowed to be used by a Team
1199
+ class AllowedAddonService
1200
+ def initialize(client)
1201
+ @client = client
1202
+ end
1203
+
1204
+ # List all allowed add-on services for a team
1205
+ #
1206
+ # @param team_name_or_team_id: unique name of team or unique identifier of team
1207
+ def list_by_team(team_name_or_team_id)
1208
+ @client.allowed_addon_service.list_by_team(team_name_or_team_id)
1209
+ end
1210
+
1211
+ # Allow an Add-on Service
1212
+ #
1213
+ # @param team_name_or_team_id: unique name of team or unique identifier of team
1214
+ # @param body: the object to pass as the request payload
1215
+ def create_by_team(team_name_or_team_id, body = {})
1216
+ @client.allowed_addon_service.create_by_team(team_name_or_team_id, body)
1217
+ end
1218
+
1219
+ # Remove an allowed add-on service
1220
+ #
1221
+ # @param team_name_or_team_id: unique name of team or unique identifier of team
1222
+ # @param allowed_addon_service_id_or_addon_service_name: unique identifier for this allowed add-on service record or unique name of this add-on-service
1223
+ def delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name)
1224
+ @client.allowed_addon_service.delete_by_team(team_name_or_team_id, allowed_addon_service_id_or_addon_service_name)
1225
+ end
1226
+ end
1227
+
1191
1228
  # An app feature represents a Heroku labs capability that can be enabled or disabled for an app on Heroku.
1192
1229
  class AppFeature
1193
1230
  def initialize(client)
@@ -1644,6 +1681,14 @@ module PlatformAPI
1644
1681
  @client = client
1645
1682
  end
1646
1683
 
1684
+ # Create a new domain. Deprecated in favor of this same endpoint, but with a new required attribute of `sni_endpoint`. During the transitional phase sni_endpoint can be omitted entirely (current behavior), can be a valid id, or can be null which will skip auto-association.
1685
+ #
1686
+ # @param app_id_or_app_name: unique identifier of app or unique name of app
1687
+ # @param body: the object to pass as the request payload
1688
+ def create_deprecated(app_id_or_app_name, body = {})
1689
+ @client.domain.create_deprecated(app_id_or_app_name, body)
1690
+ end
1691
+
1647
1692
  # Create a new domain.
1648
1693
  #
1649
1694
  # @param app_id_or_app_name: unique identifier of app or unique name of app
@@ -1652,6 +1697,15 @@ module PlatformAPI
1652
1697
  @client.domain.create(app_id_or_app_name, body)
1653
1698
  end
1654
1699
 
1700
+ # Associate an SNI endpoint
1701
+ #
1702
+ # @param app_id_or_app_name: unique identifier of app or unique name of app
1703
+ # @param domain_id_or_domain_hostname: unique identifier of this domain or full hostname
1704
+ # @param body: the object to pass as the request payload
1705
+ def update(app_id_or_app_name, domain_id_or_domain_hostname, body = {})
1706
+ @client.domain.update(app_id_or_app_name, domain_id_or_domain_hostname, body)
1707
+ end
1708
+
1655
1709
  # Delete an existing domain
1656
1710
  #
1657
1711
  # @param app_id_or_app_name: unique identifier of app or unique name of app
@@ -3961,6 +4015,42 @@ module PlatformAPI
3961
4015
  "type": [
3962
4016
  "boolean"
3963
4017
  ]
4018
+ },
4019
+ "acknowledged_msa": {
4020
+ "description": "whether account has acknowledged the MSA terms of service",
4021
+ "example": false,
4022
+ "readOnly": true,
4023
+ "type": [
4024
+ "boolean"
4025
+ ]
4026
+ },
4027
+ "acknowledged_msa_at": {
4028
+ "description": "when account has acknowledged the MSA terms of service",
4029
+ "example": "2012-01-01T12:00:00Z",
4030
+ "format": "date-time",
4031
+ "readOnly": true,
4032
+ "type": [
4033
+ "string",
4034
+ "null"
4035
+ ]
4036
+ },
4037
+ "italian_customer_terms": {
4038
+ "description": "whether account has acknowledged the Italian customer terms of service",
4039
+ "example": "affirmatively_accepted",
4040
+ "readOnly": true,
4041
+ "type": [
4042
+ "string",
4043
+ "null"
4044
+ ]
4045
+ },
4046
+ "italian_partner_terms": {
4047
+ "description": "whether account has acknowledged the Italian provider terms of service",
4048
+ "example": "affirmatively_accepted",
4049
+ "readOnly": true,
4050
+ "type": [
4051
+ "string",
4052
+ "null"
4053
+ ]
3964
4054
  }
3965
4055
  },
3966
4056
  "links": [
@@ -4174,6 +4264,18 @@ module PlatformAPI
4174
4264
  "verified": {
4175
4265
  "$ref": "#/definitions/account/definitions/verified"
4176
4266
  },
4267
+ "acknowledged_msa": {
4268
+ "$ref": "#/definitions/account/definitions/acknowledged_msa"
4269
+ },
4270
+ "acknowledged_msa_at": {
4271
+ "$ref": "#/definitions/account/definitions/acknowledged_msa_at"
4272
+ },
4273
+ "italian_customer_terms": {
4274
+ "$ref": "#/definitions/account/definitions/italian_customer_terms"
4275
+ },
4276
+ "italian_partner_terms": {
4277
+ "$ref": "#/definitions/account/definitions/italian_partner_terms"
4278
+ },
4177
4279
  "default_organization": {
4178
4280
  "description": "team selected by default",
4179
4281
  "properties": {
@@ -4209,7 +4311,7 @@ module PlatformAPI
4209
4311
  }
4210
4312
  },
4211
4313
  "add-on-action": {
4212
- "description": "Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow whitelisted add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.",
4314
+ "description": "Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.",
4213
4315
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
4214
4316
  "stability": "development",
4215
4317
  "strictProperties": true,
@@ -5742,6 +5844,157 @@ module PlatformAPI
5742
5844
  }
5743
5845
  }
5744
5846
  },
5847
+ "allowed-add-on-service": {
5848
+ "description": "Entities that have been allowed to be used by a Team",
5849
+ "$schema": "http://json-schema.org/draft-04/hyper-schema",
5850
+ "stability": "prototype",
5851
+ "strictProperties": true,
5852
+ "title": "Heroku Platform API - Allowed Add-on Service",
5853
+ "type": [
5854
+ "object"
5855
+ ],
5856
+ "definitions": {
5857
+ "added_at": {
5858
+ "description": "when the add-on service was allowed",
5859
+ "example": "2012-01-01T12:00:00Z",
5860
+ "format": "date-time",
5861
+ "readOnly": true,
5862
+ "type": [
5863
+ "string"
5864
+ ]
5865
+ },
5866
+ "added_by": {
5867
+ "description": "the user which allowed the add-on service",
5868
+ "properties": {
5869
+ "email": {
5870
+ "$ref": "#/definitions/account/definitions/email",
5871
+ "type": [
5872
+ "string",
5873
+ "null"
5874
+ ]
5875
+ },
5876
+ "id": {
5877
+ "$ref": "#/definitions/account/definitions/id",
5878
+ "type": [
5879
+ "string",
5880
+ "null"
5881
+ ]
5882
+ }
5883
+ },
5884
+ "readOnly": true,
5885
+ "type": [
5886
+ "object"
5887
+ ]
5888
+ },
5889
+ "addon_service": {
5890
+ "description": "the add-on service allowed for use",
5891
+ "properties": {
5892
+ "id": {
5893
+ "$ref": "#/definitions/add-on-service/definitions/id"
5894
+ },
5895
+ "name": {
5896
+ "$ref": "#/definitions/add-on-service/definitions/name"
5897
+ },
5898
+ "human_name": {
5899
+ "$ref": "#/definitions/add-on-service/definitions/human_name"
5900
+ }
5901
+ },
5902
+ "readOnly": true,
5903
+ "type": [
5904
+ "object"
5905
+ ]
5906
+ },
5907
+ "id": {
5908
+ "description": "unique identifier for this allowed add-on service record",
5909
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
5910
+ "format": "uuid",
5911
+ "readOnly": true,
5912
+ "type": [
5913
+ "string"
5914
+ ]
5915
+ },
5916
+ "identity": {
5917
+ "anyOf": [
5918
+ {
5919
+ "$ref": "#/definitions/allowed-add-on-service/definitions/id"
5920
+ },
5921
+ {
5922
+ "$ref": "#/definitions/add-on-service/definitions/name"
5923
+ }
5924
+ ]
5925
+ }
5926
+ },
5927
+ "links": [
5928
+ {
5929
+ "description": "List all allowed add-on services for a team",
5930
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services",
5931
+ "method": "GET",
5932
+ "rel": "instances",
5933
+ "targetSchema": {
5934
+ "items": {
5935
+ "$ref": "#/definitions/allowed-add-on-service"
5936
+ },
5937
+ "type": [
5938
+ "array"
5939
+ ]
5940
+ },
5941
+ "title": "List By Team"
5942
+ },
5943
+ {
5944
+ "description": "Allow an Add-on Service",
5945
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services",
5946
+ "method": "POST",
5947
+ "rel": "create",
5948
+ "schema": {
5949
+ "type": [
5950
+ "object"
5951
+ ],
5952
+ "properties": {
5953
+ "addon_service": {
5954
+ "description": "name of the add-on service to allow",
5955
+ "example": "heroku-postgresql",
5956
+ "type": [
5957
+ "string"
5958
+ ]
5959
+ }
5960
+ }
5961
+ },
5962
+ "targetSchema": {
5963
+ "items": {
5964
+ "$ref": "#/definitions/allowed-add-on-service"
5965
+ },
5966
+ "type": [
5967
+ "array"
5968
+ ]
5969
+ },
5970
+ "title": "Create By Team"
5971
+ },
5972
+ {
5973
+ "description": "Remove an allowed add-on service",
5974
+ "href": "/teams/{(%23%2Fdefinitions%2Fteam%2Fdefinitions%2Fidentity)}/allowed-addon-services/{(%23%2Fdefinitions%2Fallowed-add-on-service%2Fdefinitions%2Fidentity)}",
5975
+ "method": "DELETE",
5976
+ "rel": "destroy",
5977
+ "targetSchema": {
5978
+ "$ref": "#/definitions/allowed-add-on-service"
5979
+ },
5980
+ "title": "Delete By Team"
5981
+ }
5982
+ ],
5983
+ "properties": {
5984
+ "added_at": {
5985
+ "$ref": "#/definitions/allowed-add-on-service/definitions/added_at"
5986
+ },
5987
+ "added_by": {
5988
+ "$ref": "#/definitions/allowed-add-on-service/definitions/added_by"
5989
+ },
5990
+ "addon_service": {
5991
+ "$ref": "#/definitions/allowed-add-on-service/definitions/addon_service"
5992
+ },
5993
+ "id": {
5994
+ "$ref": "#/definitions/allowed-add-on-service/definitions/id"
5995
+ }
5996
+ }
5997
+ },
5745
5998
  "app-feature": {
5746
5999
  "description": "An app feature represents a Heroku labs capability that can be enabled or disabled for an app on Heroku.",
5747
6000
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
@@ -7630,7 +7883,7 @@ module PlatformAPI
7630
7883
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
7631
7884
  "title": "Heroku Platform API - Audit Trail Archive",
7632
7885
  "description": "An audit trail archive represents a monthly json zipped file containing events",
7633
- "stability": "development",
7886
+ "stability": "production",
7634
7887
  "strictProperties": true,
7635
7888
  "type": [
7636
7889
  "object"
@@ -7737,7 +7990,7 @@ module PlatformAPI
7737
7990
  "$schema": "http://json-schema.org/draft-04/hyper-schema",
7738
7991
  "title": "Heroku Platform API - Audit Trail Event",
7739
7992
  "description": "An audit trail event represents some action on the platform",
7740
- "stability": "development",
7993
+ "stability": "production",
7741
7994
  "strictProperties": true,
7742
7995
  "type": [
7743
7996
  "object"
@@ -8911,11 +9164,19 @@ module PlatformAPI
8911
9164
  "type": [
8912
9165
  "string"
8913
9166
  ]
9167
+ },
9168
+ "sni_endpoint": {
9169
+ "description": "null or unique identifier or name for SNI endpoint",
9170
+ "type": [
9171
+ "null",
9172
+ "string"
9173
+ ]
8914
9174
  }
8915
9175
  },
8916
9176
  "links": [
8917
9177
  {
8918
- "description": "Create a new domain.",
9178
+ "deactivate_on": "2021-10-31",
9179
+ "description": "Create a new domain. Deprecated in favor of this same endpoint, but with a new required attribute of `sni_endpoint`. During the transitional phase sni_endpoint can be omitted entirely (current behavior), can be a valid id, or can be null which will skip auto-association.",
8919
9180
  "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains",
8920
9181
  "method": "POST",
8921
9182
  "rel": "create",
@@ -8935,8 +9196,58 @@ module PlatformAPI
8935
9196
  "targetSchema": {
8936
9197
  "$ref": "#/definitions/domain"
8937
9198
  },
9199
+ "title": "Create - Deprecated"
9200
+ },
9201
+ {
9202
+ "description": "Create a new domain.",
9203
+ "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains",
9204
+ "method": "POST",
9205
+ "rel": "create",
9206
+ "schema": {
9207
+ "properties": {
9208
+ "hostname": {
9209
+ "$ref": "#/definitions/domain/definitions/hostname"
9210
+ },
9211
+ "sni_endpoint": {
9212
+ "$ref": "#/definitions/domain/definitions/sni_endpoint"
9213
+ }
9214
+ },
9215
+ "required": [
9216
+ "hostname",
9217
+ "sni_endpoint"
9218
+ ],
9219
+ "type": [
9220
+ "object"
9221
+ ]
9222
+ },
9223
+ "targetSchema": {
9224
+ "$ref": "#/definitions/domain"
9225
+ },
8938
9226
  "title": "Create"
8939
9227
  },
9228
+ {
9229
+ "description": "Associate an SNI endpoint",
9230
+ "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains/{(%23%2Fdefinitions%2Fdomain%2Fdefinitions%2Fidentity)}",
9231
+ "method": "PATCH",
9232
+ "rel": "update",
9233
+ "schema": {
9234
+ "properties": {
9235
+ "sni_endpoint": {
9236
+ "$ref": "#/definitions/domain/definitions/sni_endpoint"
9237
+ }
9238
+ },
9239
+ "required": [
9240
+ "sni_endpoint"
9241
+ ],
9242
+ "type": [
9243
+ "object"
9244
+ ]
9245
+ },
9246
+ "targetSchema": {
9247
+ "$ref": "#/definitions/domain"
9248
+ },
9249
+ "title": "Update"
9250
+ },
8940
9251
  {
8941
9252
  "description": "Delete an existing domain",
8942
9253
  "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/domains/{(%23%2Fdefinitions%2Fdomain%2Fdefinitions%2Fidentity)}",
@@ -9014,6 +9325,21 @@ module PlatformAPI
9014
9325
  },
9015
9326
  "status": {
9016
9327
  "$ref": "#/definitions/domain/definitions/status"
9328
+ },
9329
+ "sni_endpoint": {
9330
+ "description": "sni endpoint the domain is associated with",
9331
+ "properties": {
9332
+ "name": {
9333
+ "$ref": "#/definitions/sni-endpoint/definitions/name"
9334
+ },
9335
+ "id": {
9336
+ "$ref": "#/definitions/sni-endpoint/definitions/id"
9337
+ }
9338
+ },
9339
+ "type": [
9340
+ "null",
9341
+ "object"
9342
+ ]
9017
9343
  }
9018
9344
  }
9019
9345
  },
@@ -15727,7 +16053,7 @@ module PlatformAPI
15727
16053
  "size": 2048,
15728
16054
  "stack": {
15729
16055
  "id": "01234567-89ab-cdef-0123-456789abcdef",
15730
- "name": "cedar-14"
16056
+ "name": "heroku-18"
15731
16057
  },
15732
16058
  "updated_at": "2012-01-01T12:00:00Z"
15733
16059
  }
@@ -16395,7 +16721,10 @@ module PlatformAPI
16395
16721
  "string"
16396
16722
  ]
16397
16723
  }
16398
- }
16724
+ },
16725
+ "type": [
16726
+ "object"
16727
+ ]
16399
16728
  },
16400
16729
  "formation": {
16401
16730
  "description": "formations for application",
@@ -16785,6 +17114,24 @@ module PlatformAPI
16785
17114
  "object"
16786
17115
  ],
16787
17116
  "definitions": {
17117
+ "acm": {
17118
+ "readOnly": true,
17119
+ "type": [
17120
+ "boolean"
17121
+ ]
17122
+ },
17123
+ "ca_signed?": {
17124
+ "readOnly": true,
17125
+ "type": [
17126
+ "boolean"
17127
+ ]
17128
+ },
17129
+ "cert_domains": {
17130
+ "readOnly": true,
17131
+ "type": [
17132
+ "array"
17133
+ ]
17134
+ },
16788
17135
  "certificate_chain": {
16789
17136
  "description": "raw contents of the public certificate chain (eg: .crt or .pem file)",
16790
17137
  "example": "-----BEGIN CERTIFICATE----- ...",
@@ -16810,6 +17157,22 @@ module PlatformAPI
16810
17157
  "string"
16811
17158
  ]
16812
17159
  },
17160
+ "display_name": {
17161
+ "description": "unique name for SSL endpoint",
17162
+ "example": "example",
17163
+ "pattern": "^[a-z][a-z0-9-]{2,29}$",
17164
+ "readOnly": false,
17165
+ "type": [
17166
+ "string"
17167
+ ]
17168
+ },
17169
+ "expires_at": {
17170
+ "readOnly": true,
17171
+ "format": "date-time",
17172
+ "type": [
17173
+ "string"
17174
+ ]
17175
+ },
16813
17176
  "id": {
16814
17177
  "description": "unique identifier of this SSL endpoint",
16815
17178
  "example": "01234567-89ab-cdef-0123-456789abcdef",
@@ -16829,6 +17192,12 @@ module PlatformAPI
16829
17192
  }
16830
17193
  ]
16831
17194
  },
17195
+ "issuer": {
17196
+ "readOnly": true,
17197
+ "type": [
17198
+ "string"
17199
+ ]
17200
+ },
16832
17201
  "name": {
16833
17202
  "description": "unique name for SSL endpoint",
16834
17203
  "example": "example",
@@ -16855,6 +17224,25 @@ module PlatformAPI
16855
17224
  "string"
16856
17225
  ]
16857
17226
  },
17227
+ "self_signed?": {
17228
+ "readOnly": true,
17229
+ "type": [
17230
+ "boolean"
17231
+ ]
17232
+ },
17233
+ "starts_at": {
17234
+ "readOnly": true,
17235
+ "format": "date-time",
17236
+ "type": [
17237
+ "string"
17238
+ ]
17239
+ },
17240
+ "subject": {
17241
+ "readOnly": true,
17242
+ "type": [
17243
+ "string"
17244
+ ]
17245
+ },
16858
17246
  "updated_at": {
16859
17247
  "description": "when endpoint was updated",
16860
17248
  "example": "2012-01-01T12:00:00Z",
@@ -16983,12 +17371,62 @@ module PlatformAPI
16983
17371
  "created_at": {
16984
17372
  "$ref": "#/definitions/ssl-endpoint/definitions/created_at"
16985
17373
  },
17374
+ "display_name": {
17375
+ "$ref": "#/definitions/ssl-endpoint/definitions/display_name"
17376
+ },
17377
+ "domains": {
17378
+ "description": "domains associated with this endpoint",
17379
+ "type": [
17380
+ "array"
17381
+ ],
17382
+ "items": {
17383
+ "$ref": "#/definitions/domain/definitions/id"
17384
+ }
17385
+ },
16986
17386
  "id": {
16987
17387
  "$ref": "#/definitions/ssl-endpoint/definitions/id"
16988
17388
  },
16989
17389
  "name": {
16990
17390
  "$ref": "#/definitions/ssl-endpoint/definitions/name"
16991
17391
  },
17392
+ "ssl_cert": {
17393
+ "description": "certificate provided by this endpoint",
17394
+ "type": [
17395
+ "object"
17396
+ ],
17397
+ "properties": {
17398
+ "ca_signed?": {
17399
+ "$ref": "#/definitions/ssl-endpoint/definitions/ca_signed?"
17400
+ },
17401
+ "cert_domains": {
17402
+ "$ref": "#/definitions/ssl-endpoint/definitions/cert_domains"
17403
+ },
17404
+ "expires_at": {
17405
+ "$ref": "#/definitions/ssl-endpoint/definitions/expires_at"
17406
+ },
17407
+ "issuer": {
17408
+ "$ref": "#/definitions/ssl-endpoint/definitions/issuer"
17409
+ },
17410
+ "self_signed?": {
17411
+ "$ref": "#/definitions/ssl-endpoint/definitions/self_signed?"
17412
+ },
17413
+ "starts_at": {
17414
+ "$ref": "#/definitions/ssl-endpoint/definitions/starts_at"
17415
+ },
17416
+ "subject": {
17417
+ "$ref": "#/definitions/ssl-endpoint/definitions/subject"
17418
+ },
17419
+ "id": {
17420
+ "description": "unique identifier of this SSL certificate",
17421
+ "example": "01234567-89ab-cdef-0123-456789abcdef",
17422
+ "format": "uuid",
17423
+ "readOnly": true,
17424
+ "type": [
17425
+ "string"
17426
+ ]
17427
+ }
17428
+ }
17429
+ },
16992
17430
  "updated_at": {
16993
17431
  "$ref": "#/definitions/ssl-endpoint/definitions/updated_at"
16994
17432
  }
@@ -17042,7 +17480,7 @@ module PlatformAPI
17042
17480
  },
17043
17481
  "name": {
17044
17482
  "description": "unique name of stack",
17045
- "example": "cedar-14",
17483
+ "example": "heroku-18",
17046
17484
  "readOnly": true,
17047
17485
  "type": [
17048
17486
  "string"
@@ -18602,6 +19040,15 @@ module PlatformAPI
18602
19040
  "boolean",
18603
19041
  "null"
18604
19042
  ]
19043
+ },
19044
+ "addons-controls": {
19045
+ "description": "Whether add-on service rules should be applied to add-on installations",
19046
+ "example": true,
19047
+ "readOnly": false,
19048
+ "type": [
19049
+ "boolean",
19050
+ "null"
19051
+ ]
18605
19052
  }
18606
19053
  },
18607
19054
  "links": [
@@ -18627,6 +19074,9 @@ module PlatformAPI
18627
19074
  "properties": {
18628
19075
  "whitelisting-enabled": {
18629
19076
  "$ref": "#/definitions/team-preferences/definitions/whitelisting-enabled"
19077
+ },
19078
+ "addons-controls": {
19079
+ "$ref": "#/definitions/team-preferences/definitions/addons-controls"
18630
19080
  }
18631
19081
  }
18632
19082
  },
@@ -18642,6 +19092,9 @@ module PlatformAPI
18642
19092
  },
18643
19093
  "whitelisting-enabled": {
18644
19094
  "$ref": "#/definitions/team-preferences/definitions/whitelisting-enabled"
19095
+ },
19096
+ "addons-controls": {
19097
+ "$ref": "#/definitions/team-preferences/definitions/addons-controls"
18645
19098
  }
18646
19099
  }
18647
19100
  },
@@ -20759,6 +21212,9 @@ module PlatformAPI
20759
21212
  "add-on": {
20760
21213
  "$ref": "#/definitions/add-on"
20761
21214
  },
21215
+ "allowed-add-on-service": {
21216
+ "$ref": "#/definitions/allowed-add-on-service"
21217
+ },
20762
21218
  "app-feature": {
20763
21219
  "$ref": "#/definitions/app-feature"
20764
21220
  },