@@ -82,7 +82,7 @@ def self.custom_options(options)
8282
8383 # Get the default options.
8484 def self.default_options
85- default_headers = {"Accept"=>"application/vnd.heroku+json; version=3", "User-Agent"=>"platform-api/2.0 .0"}
85+ default_headers = {"Accept"=>"application/vnd.heroku+json; version=3", "User-Agent"=>"platform-api/2.1 .0"}
8686 {
8787 default_headers: default_headers,
8888 url: "https://api.heroku.com"
@@ -1696,6 +1696,13 @@ def info(app_id_or_app_name, log_drain_id_or_log_drain_url_or_log_drain_token)
16961696 @client.log_drain.info(app_id_or_app_name, log_drain_id_or_log_drain_url_or_log_drain_token)
16971697 end
16981698
1699+ # List existing log drains for an add-on.
1700+ #
1701+ # @param addon_id_or_addon_name: unique identifier of add-on or globally unique name of the add-on
1702+ def list_by_addon(addon_id_or_addon_name)
1703+ @client.log_drain.list_by_addon(addon_id_or_addon_name)
1704+ end
1705+
16991706 # List existing log drains.
17001707 #
17011708 # @param app_id_or_app_name: unique identifier of app or unique name of app
@@ -1909,11 +1916,6 @@ def create(body = {})
19091916 @client.organization_app.create(body)
19101917 end
19111918
1912- # List apps in the default organization, or in personal account, if default organization is not set.
1913- def list()
1914- @client.organization_app.list()
1915- end
1916-
19171919 # List organization apps.
19181920 #
19191921 # @param organization_name_or_organization_id: unique name of organization or unique identifier of organization
@@ -2808,11 +2810,6 @@ def create(body = {})
28082810 @client.team_app.create(body)
28092811 end
28102812
2811- # List apps in the default team, or in personal account, if default team is not set.
2812- def list()
2813- @client.team_app.list()
2814- end
2815-
28162813 # Info for a team app.
28172814 #
28182815 # @param app_name: unique name of app
@@ -9526,6 +9523,21 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
95269523 },
95279524 "title": "Info"
95289525 },
9526+ {
9527+ "description": "List existing log drains for an add-on.",
9528+ "href": "/addons/{(%23%2Fdefinitions%2Fadd-on%2Fdefinitions%2Fidentity)}/log-drains",
9529+ "method": "GET",
9530+ "rel": "instances",
9531+ "targetSchema": {
9532+ "items": {
9533+ "$ref": "#/definitions/log-drain"
9534+ },
9535+ "type": [
9536+ "array"
9537+ ]
9538+ },
9539+ "title": "List By Add-on"
9540+ },
95299541 {
95309542 "description": "List existing log drains.",
95319543 "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/log-drains",
@@ -10714,21 +10726,6 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1071410726 },
1071510727 "title": "Create"
1071610728 },
10717- {
10718- "description": "List apps in the default organization, or in personal account, if default organization is not set.",
10719- "href": "/organizations/apps",
10720- "method": "GET",
10721- "rel": "instances",
10722- "targetSchema": {
10723- "items": {
10724- "$ref": "#/definitions/organization-app"
10725- },
10726- "type": [
10727- "array"
10728- ]
10729- },
10730- "title": "List"
10731- },
1073210729 {
1073310730 "description": "List organization apps.",
1073410731 "href": "/organizations/{(%23%2Fdefinitions%2Forganization%2Fdefinitions%2Fidentity)}/apps",
@@ -13809,6 +13806,15 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1380913806 "type": [
1381013807 "boolean"
1381113808 ]
13809+ },
13810+ "output_stream_url": {
13811+ "description": "Release command output will be available from this URL as a stream. The stream is available as either `text/plain` or `text/event-stream`. Clients should be prepared to handle disconnects and can resume the stream by sending a `Range` header (for `text/plain`) or a `Last-Event-Id` header (for `text/event-stream`).",
13812+ "example": "https://release-output.heroku.com/streams/01234567-89ab-cdef-0123-456789abcdef",
13813+ "readOnly": true,
13814+ "type": [
13815+ "string",
13816+ "null"
13817+ ]
1381213818 }
1381313819 },
1381413820 "links": [
@@ -13959,6 +13965,9 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1395913965 },
1396013966 "current": {
1396113967 "$ref": "#/definitions/release/definitions/current"
13968+ },
13969+ "output_stream_url": {
13970+ "$ref": "#/definitions/release/definitions/output_stream_url"
1396213971 }
1396313972 }
1396413973 },
@@ -14914,8 +14923,8 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1491414923 "name": {
1491514924 "$ref": "#/definitions/space/definitions/name"
1491614925 },
14917- "organization ": {
14918- "$ref": "#/definitions/organization /definitions/name"
14926+ "team ": {
14927+ "$ref": "#/definitions/team /definitions/name"
1491914928 },
1492014929 "region": {
1492114930 "$ref": "#/definitions/region/definitions/identity"
@@ -14926,7 +14935,7 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1492614935 },
1492714936 "required": [
1492814937 "name",
14929- "organization "
14938+ "team "
1493014939 ],
1493114940 "type": [
1493214941 "object"
@@ -15641,21 +15650,6 @@ def delete_by_team(team_name_or_team_id, whitelisted_addon_service_id_or_addon_s
1564115650 },
1564215651 "title": "Create"
1564315652 },
15644- {
15645- "description": "List apps in the default team, or in personal account, if default team is not set.",
15646- "href": "/teams/apps",
15647- "method": "GET",
15648- "rel": "instances",
15649- "targetSchema": {
15650- "items": {
15651- "$ref": "#/definitions/team-app"
15652- },
15653- "type": [
15654- "array"
15655- ]
15656- },
15657- "title": "List"
15658- },
1565915653 {
1566015654 "description": "Info for a team app.",
1566115655 "href": "/teams/apps/{(%23%2Fdefinitions%2Fteam-app%2Fdefinitions%2Fidentity)}",
0 commit comments