|
4022 | 4022 | } |
4023 | 4023 | } |
4024 | 4024 | }, |
4025 | | - "build-result": { |
4026 | | - "$schema": "http://json-schema.org/draft-04/hyper-schema", |
4027 | | - "deactivate_on": "2016-10-01", |
4028 | | - "description": "A build result contains the output from a build.", |
4029 | | - "title": "Heroku Build API - Build Result", |
4030 | | - "stability": "deprecation", |
4031 | | - "strictProperties": true, |
4032 | | - "type": [ |
4033 | | - "object" |
4034 | | - ], |
4035 | | - "definitions": { |
4036 | | - "identity": { |
4037 | | - }, |
4038 | | - "exit_code": { |
4039 | | - "description": "status from the build", |
4040 | | - "example": 0, |
4041 | | - "readOnly": true, |
4042 | | - "type": [ |
4043 | | - "number" |
4044 | | - ] |
4045 | | - }, |
4046 | | - "line": { |
4047 | | - "description": "a single line of output to STDOUT or STDERR from the build.", |
4048 | | - "strictProperties": true, |
4049 | | - "type": [ |
4050 | | - "object" |
4051 | | - ], |
4052 | | - "example": { |
4053 | | - "stream": "STDOUT", |
4054 | | - "line": "-----> Ruby app detected\n" |
4055 | | - }, |
4056 | | - "readOnly": true, |
4057 | | - "definitions": { |
4058 | | - "stream": { |
4059 | | - "type": [ |
4060 | | - "string" |
4061 | | - ], |
4062 | | - "enum": [ |
4063 | | - "STDOUT", |
4064 | | - "STDERR" |
4065 | | - ], |
4066 | | - "description": "The output stream where the line was sent.", |
4067 | | - "example": "STDOUT", |
4068 | | - "readOnly": true |
4069 | | - }, |
4070 | | - "line": { |
4071 | | - "type": [ |
4072 | | - "string" |
4073 | | - ], |
4074 | | - "example": "-----> Ruby app detected\n", |
4075 | | - "readOnly": true, |
4076 | | - "description": "A line of output from the build." |
4077 | | - } |
4078 | | - }, |
4079 | | - "properties": { |
4080 | | - "stream": { |
4081 | | - "$ref": "#/definitions/build-result/definitions/line/definitions/stream" |
4082 | | - }, |
4083 | | - "line": { |
4084 | | - "$ref": "#/definitions/build-result/definitions/line/definitions/line" |
4085 | | - } |
4086 | | - } |
4087 | | - } |
4088 | | - }, |
4089 | | - "links": [ |
4090 | | - { |
4091 | | - "description": "Info for existing result.", |
4092 | | - "href": "/apps/{(%23%2Fdefinitions%2Fapp%2Fdefinitions%2Fidentity)}/builds/{(%23%2Fdefinitions%2Fbuild%2Fdefinitions%2Fidentity)}/result", |
4093 | | - "method": "GET", |
4094 | | - "rel": "self", |
4095 | | - "targetSchema": { |
4096 | | - "$ref": "#/definitions/build-result" |
4097 | | - }, |
4098 | | - "title": "Info" |
4099 | | - } |
4100 | | - ], |
4101 | | - "properties": { |
4102 | | - "build": { |
4103 | | - "description": "identity of build", |
4104 | | - "properties": { |
4105 | | - "id": { |
4106 | | - "$ref": "#/definitions/build/definitions/id" |
4107 | | - }, |
4108 | | - "status": { |
4109 | | - "$ref": "#/definitions/build/definitions/status" |
4110 | | - }, |
4111 | | - "output_stream_url": { |
4112 | | - "$ref": "#/definitions/build/definitions/output_stream_url" |
4113 | | - } |
4114 | | - }, |
4115 | | - "type": [ |
4116 | | - "object" |
4117 | | - ] |
4118 | | - }, |
4119 | | - "exit_code": { |
4120 | | - "$ref": "#/definitions/build-result/definitions/exit_code" |
4121 | | - }, |
4122 | | - "lines": { |
4123 | | - "type": [ |
4124 | | - "array" |
4125 | | - ], |
4126 | | - "items": { |
4127 | | - "$ref": "#/definitions/build-result/definitions/line" |
4128 | | - }, |
4129 | | - "description": "A list of all the lines of a build's output. This has been replaced by the `output_stream_url` attribute on the build resource.", |
4130 | | - "example": [ |
4131 | | - { |
4132 | | - "line": "-----> Ruby app detected\n", |
4133 | | - "stream": "STDOUT" |
4134 | | - } |
4135 | | - ] |
4136 | | - } |
4137 | | - } |
4138 | | - }, |
4139 | 4025 | "build": { |
4140 | 4026 | "$schema": "http://json-schema.org/draft-04/hyper-schema", |
4141 | 4027 | "description": "A build represents the process of transforming a code tarball into a slug", |
|
14520 | 14406 | "app": { |
14521 | 14407 | "$ref": "#/definitions/app" |
14522 | 14408 | }, |
14523 | | - "build-result": { |
14524 | | - "$ref": "#/definitions/build-result" |
14525 | | - }, |
14526 | 14409 | "build": { |
14527 | 14410 | "$ref": "#/definitions/build" |
14528 | 14411 | }, |
|
0 commit comments