File tree 2 files changed +152
-0
lines changed
2 files changed +152
-0
lines changed Original file line number Diff line number Diff line change @@ -8958,6 +8958,158 @@ Generated by [AVA](https://ava.li).
8958
8958
],
8959
8959
},
8960
8960
},
8961
+ '/sites/{site_id}/deploys/{deploy_id}/cancel': {
8962
+ post: {
8963
+ operationId: 'cancelSiteDeploy',
8964
+ parameters: [
8965
+ {
8966
+ in: 'path',
8967
+ name: 'site_id',
8968
+ required: true,
8969
+ type: 'string',
8970
+ },
8971
+ {
8972
+ in: 'path',
8973
+ name: 'deploy_id',
8974
+ required: true,
8975
+ type: 'string',
8976
+ },
8977
+ ],
8978
+ responses: {
8979
+ 201: {
8980
+ description: 'Cancelled',
8981
+ schema: {
8982
+ properties: {
8983
+ admin_url: {
8984
+ type: 'string',
8985
+ },
8986
+ branch: {
8987
+ type: 'string',
8988
+ },
8989
+ build_id: {
8990
+ type: 'string',
8991
+ },
8992
+ commit_ref: {
8993
+ type: 'string',
8994
+ },
8995
+ commit_url: {
8996
+ type: 'string',
8997
+ },
8998
+ context: {
8999
+ type: 'string',
9000
+ },
9001
+ created_at: {
9002
+ format: 'dateTime',
9003
+ type: 'string',
9004
+ },
9005
+ deploy_ssl_url: {
9006
+ type: 'string',
9007
+ },
9008
+ deploy_url: {
9009
+ type: 'string',
9010
+ },
9011
+ draft: {
9012
+ type: 'boolean',
9013
+ },
9014
+ error_message: {
9015
+ type: 'string',
9016
+ },
9017
+ id: {
9018
+ type: 'string',
9019
+ },
9020
+ locked: {
9021
+ type: 'boolean',
9022
+ },
9023
+ name: {
9024
+ type: 'string',
9025
+ },
9026
+ published_at: {
9027
+ format: 'dateTime',
9028
+ type: 'string',
9029
+ },
9030
+ required: {
9031
+ items: {
9032
+ type: 'string',
9033
+ },
9034
+ type: 'array',
9035
+ },
9036
+ required_functions: {
9037
+ items: {
9038
+ type: 'string',
9039
+ },
9040
+ type: 'array',
9041
+ },
9042
+ review_id: {
9043
+ type: 'number',
9044
+ },
9045
+ review_url: {
9046
+ type: 'string',
9047
+ },
9048
+ screenshot_url: {
9049
+ type: 'string',
9050
+ },
9051
+ site_capabilities: {
9052
+ properties: {
9053
+ large_media_enabled: {
9054
+ type: 'boolean',
9055
+ },
9056
+ },
9057
+ type: 'object',
9058
+ },
9059
+ site_id: {
9060
+ type: 'string',
9061
+ },
9062
+ skipped: {
9063
+ type: 'boolean',
9064
+ },
9065
+ ssl_url: {
9066
+ type: 'string',
9067
+ },
9068
+ state: {
9069
+ type: 'string',
9070
+ },
9071
+ title: {
9072
+ type: 'string',
9073
+ },
9074
+ updated_at: {
9075
+ format: 'dateTime',
9076
+ type: 'string',
9077
+ },
9078
+ url: {
9079
+ type: 'string',
9080
+ },
9081
+ user_id: {
9082
+ type: 'string',
9083
+ },
9084
+ },
9085
+ type: 'object',
9086
+ },
9087
+ },
9088
+ default: {
9089
+ description: 'error',
9090
+ schema: {
9091
+ properties: {
9092
+ code: {
9093
+ format: 'int64',
9094
+ type: 'integer',
9095
+ },
9096
+ message: {
9097
+ type: 'string',
9098
+ 'x-nullable': false,
9099
+ },
9100
+ },
9101
+ required: [
9102
+ 'message',
9103
+ ],
9104
+ type: 'object',
9105
+ },
9106
+ },
9107
+ },
9108
+ tags: [
9109
+ 'deploy',
9110
+ ],
9111
+ },
9112
+ },
8961
9113
'/sites/{site_id}/deploys/{deploy_id}/restore': {
8962
9114
post: {
8963
9115
operationId: 'restoreSiteDeploy',
You can’t perform that action at this time.
0 commit comments