Skip to content

Commit 2a67014

Browse files
Add endpoint for triggering site deployment (#563)
* feat(api): Add endpoint for triggering site deployment - Add POST /api/projects/{project}/servers/{server}/sites/{site}/deploy endpoint - Add feature tests * fix merge issue and generate api docs * fix merge --------- Co-authored-by: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com> Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
1 parent f483f7f commit 2a67014

File tree

33 files changed

+1941
-1450
lines changed

33 files changed

+1941
-1450
lines changed

.scribe/endpoints.cache/00.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ endpoints:
6060
auth:
6161
- headers
6262
- Authorization
63-
- 'Bearer 46fadkVc1vP5Ea8hg3bZeD6'
63+
- 'Bearer Pg1hVfEvc3e5kada68Z6b4D'
6464
controller: null
6565
method: null
6666
route: null
@@ -113,7 +113,7 @@ endpoints:
113113
name: command
114114
description: ''
115115
required: true
116-
example: sit
116+
example: nisi
117117
type: string
118118
enumValues: []
119119
exampleWasSpecified: false
@@ -123,7 +123,7 @@ endpoints:
123123
name: user
124124
description: ''
125125
required: true
126-
example: root
126+
example: vito
127127
type: string
128128
enumValues:
129129
- root
@@ -142,8 +142,8 @@ endpoints:
142142
nullable: false
143143
custom: []
144144
cleanBodyParameters:
145-
command: sit
146-
user: root
145+
command: nisi
146+
user: vito
147147
frequency: '* * * * *'
148148
fileParameters: []
149149
responses:
@@ -157,7 +157,7 @@ endpoints:
157157
auth:
158158
- headers
159159
- Authorization
160-
- 'Bearer eaEVDZ1ka5v4hf6Pgcd386b'
160+
- 'Bearer 5E3Vv4cah8D6bZa1kgPfe6d'
161161
controller: null
162162
method: null
163163
route: null
@@ -204,7 +204,7 @@ endpoints:
204204
name: cronJob_id
205205
description: 'The ID of the cronJob.'
206206
required: true
207-
example: 13
207+
example: 14
208208
type: integer
209209
enumValues: []
210210
exampleWasSpecified: false
@@ -213,7 +213,7 @@ endpoints:
213213
cleanUrlParameters:
214214
project_id: 1
215215
server_id: 29
216-
cronJob_id: 13
216+
cronJob_id: 14
217217
queryParameters: []
218218
cleanQueryParameters: []
219219
bodyParameters: []
@@ -230,7 +230,7 @@ endpoints:
230230
auth:
231231
- headers
232232
- Authorization
233-
- 'Bearer gZkc1Vh568badDefE64vPa3'
233+
- 'Bearer e68fh451vcb6Zd3DEVaaPgk'
234234
controller: null
235235
method: null
236236
route: null
@@ -277,7 +277,7 @@ endpoints:
277277
name: cronJob_id
278278
description: 'The ID of the cronJob.'
279279
required: true
280-
example: 16
280+
example: 9
281281
type: integer
282282
enumValues: []
283283
exampleWasSpecified: false
@@ -286,7 +286,7 @@ endpoints:
286286
cleanUrlParameters:
287287
project_id: 1
288288
server_id: 29
289-
cronJob_id: 16
289+
cronJob_id: 9
290290
queryParameters: []
291291
cleanQueryParameters: []
292292
bodyParameters: []
@@ -303,7 +303,7 @@ endpoints:
303303
auth:
304304
- headers
305305
- Authorization
306-
- 'Bearer PceD65b61vaV8Eg3a4dkfhZ'
306+
- 'Bearer hEkD1b3a845fVPZg6ecad6v'
307307
controller: null
308308
method: null
309309
route: null

.scribe/endpoints.cache/01.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ endpoints:
5252
responses:
5353
-
5454
status: 200
55-
content: '{"data":[{"id":null,"server_id":null,"name":"fkrajcik","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"critchie","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
55+
content: '{"data":[{"id":null,"server_id":null,"name":"conn.bridget","status":"ready","created_at":null,"updated_at":null},{"id":null,"server_id":null,"name":"aiden47","status":"ready","created_at":null,"updated_at":null}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
5656
headers: []
5757
description: ''
5858
custom: []
5959
responseFields: []
6060
auth:
6161
- headers
6262
- Authorization
63-
- 'Bearer aZvgeV364fd8b6a5EDchP1k'
63+
- 'Bearer 5vVfe3hcg1akP6Z8ba64dDE'
6464
controller: null
6565
method: null
6666
route: null
@@ -113,7 +113,7 @@ endpoints:
113113
name: name
114114
description: ''
115115
required: true
116-
example: esse
116+
example: vel
117117
type: string
118118
enumValues: []
119119
exampleWasSpecified: false
@@ -123,7 +123,7 @@ endpoints:
123123
name: charset
124124
description: ''
125125
required: true
126-
example: ut
126+
example: qui
127127
type: string
128128
enumValues: []
129129
exampleWasSpecified: false
@@ -133,29 +133,29 @@ endpoints:
133133
name: collation
134134
description: ''
135135
required: true
136-
example: labore
136+
example: autem
137137
type: string
138138
enumValues: []
139139
exampleWasSpecified: false
140140
nullable: false
141141
custom: []
142142
cleanBodyParameters:
143-
name: esse
144-
charset: ut
145-
collation: labore
143+
name: vel
144+
charset: qui
145+
collation: autem
146146
fileParameters: []
147147
responses:
148148
-
149149
status: 200
150-
content: '{"id":null,"server_id":null,"name":"cory33","status":"ready","created_at":null,"updated_at":null}'
150+
content: '{"id":null,"server_id":null,"name":"rodolfo.bradtke","status":"ready","created_at":null,"updated_at":null}'
151151
headers: []
152152
description: ''
153153
custom: []
154154
responseFields: []
155155
auth:
156156
- headers
157157
- Authorization
158-
- 'Bearer fVvDPc64eaEk5bd36hgZ18a'
158+
- 'Bearer 3gf6ahcav1kb546DZeE8PdV'
159159
controller: null
160160
method: null
161161
route: null
@@ -202,7 +202,7 @@ endpoints:
202202
name: id
203203
description: 'The ID of the database.'
204204
required: true
205-
example: 9
205+
example: 17
206206
type: integer
207207
enumValues: []
208208
exampleWasSpecified: false
@@ -211,7 +211,7 @@ endpoints:
211211
cleanUrlParameters:
212212
project_id: 1
213213
server_id: 29
214-
id: 9
214+
id: 17
215215
queryParameters: []
216216
cleanQueryParameters: []
217217
bodyParameters: []
@@ -220,15 +220,15 @@ endpoints:
220220
responses:
221221
-
222222
status: 200
223-
content: '{"id":null,"server_id":null,"name":"walter.jacey","status":"ready","created_at":null,"updated_at":null}'
223+
content: '{"id":null,"server_id":null,"name":"rhane","status":"ready","created_at":null,"updated_at":null}'
224224
headers: []
225225
description: ''
226226
custom: []
227227
responseFields: []
228228
auth:
229229
- headers
230230
- Authorization
231-
- 'Bearer bvcEZgDaPfd564V18ahek63'
231+
- 'Bearer VEvk3dP685Zahcf6a41bgDe'
232232
controller: null
233233
method: null
234234
route: null
@@ -275,7 +275,7 @@ endpoints:
275275
name: database_id
276276
description: 'The ID of the database.'
277277
required: true
278-
example: 16
278+
example: 5
279279
type: integer
280280
enumValues: []
281281
exampleWasSpecified: false
@@ -284,7 +284,7 @@ endpoints:
284284
cleanUrlParameters:
285285
project_id: 1
286286
server_id: 29
287-
database_id: 16
287+
database_id: 5
288288
queryParameters: []
289289
cleanQueryParameters: []
290290
bodyParameters: []
@@ -301,7 +301,7 @@ endpoints:
301301
auth:
302302
- headers
303303
- Authorization
304-
- 'Bearer 4a68DgeP6vcZbfVkh5a3d1E'
304+
- 'Bearer dPZ8bga4DEh6V16ce35avfk'
305305
controller: null
306306
method: null
307307
route: null

0 commit comments

Comments
 (0)