@vercel/sdk 1.7.1 → 1.7.3
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.
- package/README.md +28 -36
- package/bin/mcp-server.js +2515 -1656
- package/bin/mcp-server.js.map +32 -16
- package/docs/sdks/logs/README.md +92 -0
- package/docs/sdks/vercel/README.md +312 -0
- package/esm/__tests__/accessgroups.test.js +0 -144
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/aliases.test.js +0 -43
- package/esm/__tests__/aliases.test.js.map +1 -1
- package/esm/__tests__/artifacts.test.js +0 -20
- package/esm/__tests__/artifacts.test.js.map +1 -1
- package/esm/__tests__/authentication.test.js +0 -71
- package/esm/__tests__/authentication.test.js.map +1 -1
- package/esm/__tests__/certs.test.js +0 -27
- package/esm/__tests__/certs.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +0 -46
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/deployments.test.js +0 -209
- package/esm/__tests__/deployments.test.js.map +1 -1
- package/esm/__tests__/dns.test.js +0 -10
- package/esm/__tests__/dns.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +0 -142
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +0 -71
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/environment.test.js +0 -34
- package/esm/__tests__/environment.test.js.map +1 -1
- package/esm/__tests__/integrations.test.js +0 -23
- package/esm/__tests__/integrations.test.js.map +1 -1
- package/esm/__tests__/logdrains.test.js +0 -114
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/logs.test.d.ts +2 -0
- package/esm/__tests__/logs.test.d.ts.map +1 -0
- package/esm/__tests__/logs.test.js +22 -0
- package/esm/__tests__/logs.test.js.map +1 -0
- package/esm/__tests__/marketplace.test.js +0 -49
- package/esm/__tests__/marketplace.test.js.map +1 -1
- package/esm/__tests__/projectmembers.test.js +0 -6
- package/esm/__tests__/projectmembers.test.js.map +1 -1
- package/esm/__tests__/projects.test.js +13 -474
- package/esm/__tests__/projects.test.js.map +1 -1
- package/esm/__tests__/security.test.js +0 -274
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/__tests__/teams.test.js +0 -92
- package/esm/__tests__/teams.test.js.map +1 -1
- package/esm/__tests__/user.test.js +0 -8
- package/esm/__tests__/user.test.js.map +1 -1
- package/esm/__tests__/vercel.test.js +56 -1
- package/esm/__tests__/vercel.test.js.map +1 -1
- package/esm/__tests__/webhooks.test.js +0 -94
- package/esm/__tests__/webhooks.test.js.map +1 -1
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.d.ts +12 -0
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.d.ts.map +1 -0
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.js +80 -0
- package/esm/funcs/deleteProjectsProjectIdLogsPresetsId.js.map +1 -0
- package/esm/funcs/deploymentsUploadFile.js +1 -0
- package/esm/funcs/deploymentsUploadFile.js.map +1 -1
- package/esm/funcs/getProjectsProjectIdLogsPresets.d.ts +13 -0
- package/esm/funcs/getProjectsProjectIdLogsPresets.d.ts.map +1 -0
- package/esm/funcs/getProjectsProjectIdLogsPresets.js +77 -0
- package/esm/funcs/getProjectsProjectIdLogsPresets.js.map +1 -0
- package/esm/funcs/logsGetRuntimeLogs.d.ts +18 -0
- package/esm/funcs/logsGetRuntimeLogs.d.ts.map +1 -0
- package/esm/funcs/logsGetRuntimeLogs.js +97 -0
- package/esm/funcs/logsGetRuntimeLogs.js.map +1 -0
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.d.ts +14 -0
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.d.ts.map +1 -0
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.js +82 -0
- package/esm/funcs/patchProjectsProjectIdLogsPresetsId.js.map +1 -0
- package/esm/funcs/postProjectsProjectIdLogsPresets.d.ts +13 -0
- package/esm/funcs/postProjectsProjectIdLogsPresets.d.ts.map +1 -0
- package/esm/funcs/postProjectsProjectIdLogsPresets.js +77 -0
- package/esm/funcs/postProjectsProjectIdLogsPresets.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +11 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/deleteProjectsProjectIdLogsPresetsId.d.ts +7 -0
- package/esm/mcp-server/tools/deleteProjectsProjectIdLogsPresetsId.d.ts.map +1 -0
- package/esm/mcp-server/tools/deleteProjectsProjectIdLogsPresetsId.js +25 -0
- package/esm/mcp-server/tools/deleteProjectsProjectIdLogsPresetsId.js.map +1 -0
- package/esm/mcp-server/tools/getProjectsProjectIdLogsPresets.d.ts +7 -0
- package/esm/mcp-server/tools/getProjectsProjectIdLogsPresets.d.ts.map +1 -0
- package/esm/mcp-server/tools/getProjectsProjectIdLogsPresets.js +26 -0
- package/esm/mcp-server/tools/getProjectsProjectIdLogsPresets.js.map +1 -0
- package/esm/mcp-server/tools/logsGetRuntimeLogs.d.ts +7 -0
- package/esm/mcp-server/tools/logsGetRuntimeLogs.d.ts.map +1 -0
- package/esm/mcp-server/tools/logsGetRuntimeLogs.js +28 -0
- package/esm/mcp-server/tools/logsGetRuntimeLogs.js.map +1 -0
- package/esm/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.d.ts +7 -0
- package/esm/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.d.ts.map +1 -0
- package/esm/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.js +26 -0
- package/esm/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.js.map +1 -0
- package/esm/mcp-server/tools/postProjectsProjectIdLogsPresets.d.ts +7 -0
- package/esm/mcp-server/tools/postProjectsProjectIdLogsPresets.d.ts.map +1 -0
- package/esm/mcp-server/tools/postProjectsProjectIdLogsPresets.js +26 -0
- package/esm/mcp-server/tools/postProjectsProjectIdLogsPresets.js.map +1 -0
- package/esm/models/authuser.d.ts +0 -5
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +0 -2
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/createprojectop.d.ts +2 -0
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +2 -0
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/deleteprojectsprojectidlogspresetsidop.d.ts +37 -0
- package/esm/models/deleteprojectsprojectidlogspresetsidop.d.ts.map +1 -0
- package/esm/models/deleteprojectsprojectidlogspresetsidop.js +33 -0
- package/esm/models/deleteprojectsprojectidlogspresetsidop.js.map +1 -0
- package/esm/models/getprojectsop.d.ts +2 -0
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +2 -0
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getprojectsprojectidlogspresetsop.d.ts +29 -0
- package/esm/models/getprojectsprojectidlogspresetsop.d.ts.map +1 -0
- package/esm/models/getprojectsprojectidlogspresetsop.js +31 -0
- package/esm/models/getprojectsprojectidlogspresetsop.js.map +1 -0
- package/esm/models/getruntimelogsop.d.ts +147 -0
- package/esm/models/getruntimelogsop.d.ts.map +1 -0
- package/esm/models/getruntimelogsop.js +122 -0
- package/esm/models/getruntimelogsop.js.map +1 -0
- package/esm/models/getteamsop.d.ts +5 -12
- package/esm/models/getteamsop.d.ts.map +1 -1
- package/esm/models/getteamsop.js +5 -4
- package/esm/models/getteamsop.js.map +1 -1
- package/esm/models/patchprojectsprojectidlogspresetsidop.d.ts +67 -0
- package/esm/models/patchprojectsprojectidlogspresetsidop.d.ts.map +1 -0
- package/esm/models/patchprojectsprojectidlogspresetsidop.js +69 -0
- package/esm/models/patchprojectsprojectidlogspresetsidop.js.map +1 -0
- package/esm/models/postprojectsprojectidlogspresetsop.d.ts +95 -0
- package/esm/models/postprojectsprojectidlogspresetsop.d.ts.map +1 -0
- package/esm/models/postprojectsprojectidlogspresetsop.js +90 -0
- package/esm/models/postprojectsprojectidlogspresetsop.js.map +1 -0
- package/esm/models/team.d.ts +78 -0
- package/esm/models/team.d.ts.map +1 -0
- package/esm/models/team.js +80 -0
- package/esm/models/team.js.map +1 -0
- package/esm/models/updateprojectdatacacheop.d.ts +2 -0
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +2 -0
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +2 -0
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +2 -0
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +2 -0
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +2 -0
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/uploadfileop.d.ts +5 -0
- package/esm/models/uploadfileop.d.ts.map +1 -1
- package/esm/models/uploadfileop.js +4 -0
- package/esm/models/uploadfileop.js.map +1 -1
- package/esm/models/userevent.d.ts +1101 -985
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +1424 -1322
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/logs.d.ts +12 -0
- package/esm/sdk/logs.d.ts.map +1 -0
- package/esm/sdk/logs.js +18 -0
- package/esm/sdk/logs.js.map +1 -0
- package/esm/sdk/sdk.d.ts +13 -1
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +21 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +0 -144
- package/src/__tests__/aliases.test.ts +0 -43
- package/src/__tests__/artifacts.test.ts +0 -22
- package/src/__tests__/authentication.test.ts +0 -71
- package/src/__tests__/certs.test.ts +0 -27
- package/src/__tests__/checks.test.ts +0 -46
- package/src/__tests__/deployments.test.ts +0 -211
- package/src/__tests__/dns.test.ts +0 -10
- package/src/__tests__/domains.test.ts +0 -142
- package/src/__tests__/edgeconfig.test.ts +0 -71
- package/src/__tests__/environment.test.ts +0 -34
- package/src/__tests__/integrations.test.ts +0 -23
- package/src/__tests__/logdrains.test.ts +0 -114
- package/src/__tests__/logs.test.ts +25 -0
- package/src/__tests__/marketplace.test.ts +0 -49
- package/src/__tests__/projectmembers.test.ts +0 -6
- package/src/__tests__/projects.test.ts +13 -474
- package/src/__tests__/security.test.ts +0 -274
- package/src/__tests__/teams.test.ts +0 -92
- package/src/__tests__/user.test.ts +0 -8
- package/src/__tests__/vercel.test.ts +77 -1
- package/src/__tests__/webhooks.test.ts +0 -94
- package/src/funcs/deleteProjectsProjectIdLogsPresetsId.ts +179 -0
- package/src/funcs/deploymentsUploadFile.ts +5 -0
- package/src/funcs/getProjectsProjectIdLogsPresets.ts +174 -0
- package/src/funcs/logsGetRuntimeLogs.ts +199 -0
- package/src/funcs/patchProjectsProjectIdLogsPresetsId.ts +188 -0
- package/src/funcs/postProjectsProjectIdLogsPresets.ts +174 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/deleteProjectsProjectIdLogsPresetsId.ts +35 -0
- package/src/mcp-server/tools/getProjectsProjectIdLogsPresets.ts +36 -0
- package/src/mcp-server/tools/logsGetRuntimeLogs.ts +37 -0
- package/src/mcp-server/tools/patchProjectsProjectIdLogsPresetsId.ts +37 -0
- package/src/mcp-server/tools/postProjectsProjectIdLogsPresets.ts +37 -0
- package/src/models/authuser.ts +0 -7
- package/src/models/createprojectop.ts +4 -0
- package/src/models/deleteprojectsprojectidlogspresetsidop.ts +89 -0
- package/src/models/getprojectsop.ts +4 -0
- package/src/models/getprojectsprojectidlogspresetsop.ts +72 -0
- package/src/models/getruntimelogsop.ts +237 -0
- package/src/models/getteamsop.ts +14 -10
- package/src/models/patchprojectsprojectidlogspresetsidop.ts +180 -0
- package/src/models/postprojectsprojectidlogspresetsop.ts +217 -0
- package/src/models/team.ts +156 -0
- package/src/models/updateprojectdatacacheop.ts +4 -0
- package/src/models/updateprojectop.ts +4 -0
- package/src/models/updateprojectprotectionbypassop.ts +4 -0
- package/src/models/uploadfileop.ts +9 -0
- package/src/models/userevent.ts +2498 -2288
- package/src/sdk/logs.ts +30 -0
- package/src/sdk/sdk.ts +61 -1
- package/vercel-spec.json +572 -25
package/vercel-spec.json
CHANGED
|
@@ -7513,13 +7513,17 @@
|
|
|
7513
7513
|
},
|
|
7514
7514
|
"integrationId": {
|
|
7515
7515
|
"type": "string"
|
|
7516
|
+
},
|
|
7517
|
+
"configurationId": {
|
|
7518
|
+
"type": "string"
|
|
7516
7519
|
}
|
|
7517
7520
|
},
|
|
7518
7521
|
"required": [
|
|
7519
7522
|
"createdAt",
|
|
7520
7523
|
"createdBy",
|
|
7521
7524
|
"scope",
|
|
7522
|
-
"integrationId"
|
|
7525
|
+
"integrationId",
|
|
7526
|
+
"configurationId"
|
|
7523
7527
|
],
|
|
7524
7528
|
"type": "object"
|
|
7525
7529
|
},
|
|
@@ -26212,6 +26216,440 @@
|
|
|
26212
26216
|
]
|
|
26213
26217
|
}
|
|
26214
26218
|
},
|
|
26219
|
+
"/projects/{projectId}/logs-presets": {
|
|
26220
|
+
"get": {
|
|
26221
|
+
"description": "",
|
|
26222
|
+
"security": [],
|
|
26223
|
+
"tags": [],
|
|
26224
|
+
"responses": {
|
|
26225
|
+
"200": {
|
|
26226
|
+
"description": "",
|
|
26227
|
+
"content": {
|
|
26228
|
+
"application/json": {
|
|
26229
|
+
"schema": {
|
|
26230
|
+
"items": {
|
|
26231
|
+
"$ref": "#/components/schemas/Team"
|
|
26232
|
+
},
|
|
26233
|
+
"type": "array"
|
|
26234
|
+
}
|
|
26235
|
+
}
|
|
26236
|
+
}
|
|
26237
|
+
},
|
|
26238
|
+
"400": {
|
|
26239
|
+
"description": "One of the provided values in the request query is invalid.",
|
|
26240
|
+
"content": {
|
|
26241
|
+
"application/json": {
|
|
26242
|
+
"schema": {
|
|
26243
|
+
"$ref": "#/components/schemas/VercelBadRequestError"
|
|
26244
|
+
}
|
|
26245
|
+
}
|
|
26246
|
+
}
|
|
26247
|
+
},
|
|
26248
|
+
"401": {
|
|
26249
|
+
"description": "",
|
|
26250
|
+
"content": {
|
|
26251
|
+
"application/json": {
|
|
26252
|
+
"schema": {
|
|
26253
|
+
"$ref": "#/components/schemas/VercelForbiddenError"
|
|
26254
|
+
}
|
|
26255
|
+
}
|
|
26256
|
+
}
|
|
26257
|
+
},
|
|
26258
|
+
"403": {
|
|
26259
|
+
"description": "You do not have permission to access this resource."
|
|
26260
|
+
}
|
|
26261
|
+
},
|
|
26262
|
+
"parameters": [
|
|
26263
|
+
{
|
|
26264
|
+
"name": "projectId",
|
|
26265
|
+
"in": "path",
|
|
26266
|
+
"required": true,
|
|
26267
|
+
"schema": {
|
|
26268
|
+
"type": "string"
|
|
26269
|
+
}
|
|
26270
|
+
}
|
|
26271
|
+
]
|
|
26272
|
+
},
|
|
26273
|
+
"post": {
|
|
26274
|
+
"description": "",
|
|
26275
|
+
"security": [],
|
|
26276
|
+
"tags": [],
|
|
26277
|
+
"responses": {
|
|
26278
|
+
"200": {
|
|
26279
|
+
"description": "",
|
|
26280
|
+
"content": {
|
|
26281
|
+
"application/json": {
|
|
26282
|
+
"schema": {
|
|
26283
|
+
"$ref": "#/components/schemas/Team"
|
|
26284
|
+
}
|
|
26285
|
+
}
|
|
26286
|
+
}
|
|
26287
|
+
},
|
|
26288
|
+
"400": {
|
|
26289
|
+
"description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
|
|
26290
|
+
"content": {
|
|
26291
|
+
"application/json": {
|
|
26292
|
+
"schema": {
|
|
26293
|
+
"$ref": "#/components/schemas/VercelBadRequestError"
|
|
26294
|
+
}
|
|
26295
|
+
}
|
|
26296
|
+
}
|
|
26297
|
+
},
|
|
26298
|
+
"401": {
|
|
26299
|
+
"description": "",
|
|
26300
|
+
"content": {
|
|
26301
|
+
"application/json": {
|
|
26302
|
+
"schema": {
|
|
26303
|
+
"$ref": "#/components/schemas/VercelForbiddenError"
|
|
26304
|
+
}
|
|
26305
|
+
}
|
|
26306
|
+
}
|
|
26307
|
+
},
|
|
26308
|
+
"403": {
|
|
26309
|
+
"description": "You do not have permission to access this resource."
|
|
26310
|
+
}
|
|
26311
|
+
},
|
|
26312
|
+
"parameters": [
|
|
26313
|
+
{
|
|
26314
|
+
"name": "projectId",
|
|
26315
|
+
"description": "projectId of the preset",
|
|
26316
|
+
"in": "path",
|
|
26317
|
+
"required": true,
|
|
26318
|
+
"schema": {
|
|
26319
|
+
"description": "projectId of the preset",
|
|
26320
|
+
"type": "string"
|
|
26321
|
+
}
|
|
26322
|
+
}
|
|
26323
|
+
],
|
|
26324
|
+
"requestBody": {
|
|
26325
|
+
"content": {
|
|
26326
|
+
"application/json": {
|
|
26327
|
+
"schema": {
|
|
26328
|
+
"type": "object",
|
|
26329
|
+
"required": [
|
|
26330
|
+
"query",
|
|
26331
|
+
"title",
|
|
26332
|
+
"group"
|
|
26333
|
+
],
|
|
26334
|
+
"additionalProperties": false,
|
|
26335
|
+
"properties": {
|
|
26336
|
+
"query": {
|
|
26337
|
+
"type": "string",
|
|
26338
|
+
"example": "timeline=past30Minutes\u0026startDate=1690446214407\u0026endDate=1690448014407\u0026levels=info\u0026domains=vercel.com",
|
|
26339
|
+
"description": "query parameter for saved filter preset",
|
|
26340
|
+
"maxLength": 1000
|
|
26341
|
+
},
|
|
26342
|
+
"title": {
|
|
26343
|
+
"type": "string",
|
|
26344
|
+
"example": "Request Path",
|
|
26345
|
+
"description": "The title of the preset",
|
|
26346
|
+
"maxLength": 70
|
|
26347
|
+
},
|
|
26348
|
+
"group": {
|
|
26349
|
+
"enum": [
|
|
26350
|
+
"personal",
|
|
26351
|
+
"team"
|
|
26352
|
+
]
|
|
26353
|
+
}
|
|
26354
|
+
}
|
|
26355
|
+
}
|
|
26356
|
+
}
|
|
26357
|
+
}
|
|
26358
|
+
}
|
|
26359
|
+
}
|
|
26360
|
+
},
|
|
26361
|
+
"/projects/{projectId}/logs-presets/{id}": {
|
|
26362
|
+
"delete": {
|
|
26363
|
+
"description": "",
|
|
26364
|
+
"security": [],
|
|
26365
|
+
"tags": [],
|
|
26366
|
+
"responses": {
|
|
26367
|
+
"204": {
|
|
26368
|
+
"description": ""
|
|
26369
|
+
},
|
|
26370
|
+
"400": {
|
|
26371
|
+
"description": "One of the provided values in the request query is invalid.",
|
|
26372
|
+
"content": {
|
|
26373
|
+
"application/json": {
|
|
26374
|
+
"schema": {
|
|
26375
|
+
"$ref": "#/components/schemas/VercelBadRequestError"
|
|
26376
|
+
}
|
|
26377
|
+
}
|
|
26378
|
+
}
|
|
26379
|
+
},
|
|
26380
|
+
"401": {
|
|
26381
|
+
"description": "",
|
|
26382
|
+
"content": {
|
|
26383
|
+
"application/json": {
|
|
26384
|
+
"schema": {
|
|
26385
|
+
"$ref": "#/components/schemas/VercelForbiddenError"
|
|
26386
|
+
}
|
|
26387
|
+
}
|
|
26388
|
+
}
|
|
26389
|
+
},
|
|
26390
|
+
"403": {
|
|
26391
|
+
"description": "You do not have permission to access this resource."
|
|
26392
|
+
}
|
|
26393
|
+
},
|
|
26394
|
+
"parameters": [
|
|
26395
|
+
{
|
|
26396
|
+
"name": "projectId",
|
|
26397
|
+
"description": "projectId of the preset",
|
|
26398
|
+
"in": "path",
|
|
26399
|
+
"required": true,
|
|
26400
|
+
"schema": {
|
|
26401
|
+
"description": "projectId of the preset",
|
|
26402
|
+
"type": "string"
|
|
26403
|
+
}
|
|
26404
|
+
},
|
|
26405
|
+
{
|
|
26406
|
+
"name": "id",
|
|
26407
|
+
"description": "id of the preset",
|
|
26408
|
+
"in": "path",
|
|
26409
|
+
"required": true,
|
|
26410
|
+
"schema": {
|
|
26411
|
+
"description": "id of the preset",
|
|
26412
|
+
"type": "string"
|
|
26413
|
+
}
|
|
26414
|
+
}
|
|
26415
|
+
]
|
|
26416
|
+
},
|
|
26417
|
+
"patch": {
|
|
26418
|
+
"description": "",
|
|
26419
|
+
"security": [],
|
|
26420
|
+
"tags": [],
|
|
26421
|
+
"responses": {
|
|
26422
|
+
"200": {
|
|
26423
|
+
"description": "",
|
|
26424
|
+
"content": {
|
|
26425
|
+
"application/json": {
|
|
26426
|
+
"schema": {
|
|
26427
|
+
"$ref": "#/components/schemas/Team"
|
|
26428
|
+
}
|
|
26429
|
+
}
|
|
26430
|
+
}
|
|
26431
|
+
},
|
|
26432
|
+
"400": {
|
|
26433
|
+
"description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.",
|
|
26434
|
+
"content": {
|
|
26435
|
+
"application/json": {
|
|
26436
|
+
"schema": {
|
|
26437
|
+
"$ref": "#/components/schemas/VercelBadRequestError"
|
|
26438
|
+
}
|
|
26439
|
+
}
|
|
26440
|
+
}
|
|
26441
|
+
},
|
|
26442
|
+
"401": {
|
|
26443
|
+
"description": "",
|
|
26444
|
+
"content": {
|
|
26445
|
+
"application/json": {
|
|
26446
|
+
"schema": {
|
|
26447
|
+
"$ref": "#/components/schemas/VercelForbiddenError"
|
|
26448
|
+
}
|
|
26449
|
+
}
|
|
26450
|
+
}
|
|
26451
|
+
},
|
|
26452
|
+
"403": {
|
|
26453
|
+
"description": "You do not have permission to access this resource."
|
|
26454
|
+
},
|
|
26455
|
+
"404": {
|
|
26456
|
+
"description": "",
|
|
26457
|
+
"content": {
|
|
26458
|
+
"application/json": {
|
|
26459
|
+
"schema": {
|
|
26460
|
+
"$ref": "#/components/schemas/VercelNotFoundError"
|
|
26461
|
+
}
|
|
26462
|
+
}
|
|
26463
|
+
}
|
|
26464
|
+
}
|
|
26465
|
+
},
|
|
26466
|
+
"parameters": [
|
|
26467
|
+
{
|
|
26468
|
+
"name": "projectId",
|
|
26469
|
+
"description": "projectId of the preset",
|
|
26470
|
+
"in": "path",
|
|
26471
|
+
"required": true,
|
|
26472
|
+
"schema": {
|
|
26473
|
+
"description": "projectId of the preset",
|
|
26474
|
+
"type": "string"
|
|
26475
|
+
}
|
|
26476
|
+
},
|
|
26477
|
+
{
|
|
26478
|
+
"name": "id",
|
|
26479
|
+
"description": "Id of the preset",
|
|
26480
|
+
"in": "path",
|
|
26481
|
+
"required": true,
|
|
26482
|
+
"schema": {
|
|
26483
|
+
"description": "Id of the preset",
|
|
26484
|
+
"type": "string"
|
|
26485
|
+
}
|
|
26486
|
+
}
|
|
26487
|
+
],
|
|
26488
|
+
"requestBody": {
|
|
26489
|
+
"content": {
|
|
26490
|
+
"application/json": {
|
|
26491
|
+
"schema": {
|
|
26492
|
+
"type": "object",
|
|
26493
|
+
"required": [
|
|
26494
|
+
"title"
|
|
26495
|
+
],
|
|
26496
|
+
"additionalProperties": false,
|
|
26497
|
+
"properties": {
|
|
26498
|
+
"title": {
|
|
26499
|
+
"type": "string",
|
|
26500
|
+
"example": "Request Path",
|
|
26501
|
+
"description": "The title of the preset",
|
|
26502
|
+
"maxLength": 70
|
|
26503
|
+
}
|
|
26504
|
+
}
|
|
26505
|
+
}
|
|
26506
|
+
}
|
|
26507
|
+
}
|
|
26508
|
+
}
|
|
26509
|
+
}
|
|
26510
|
+
},
|
|
26511
|
+
"/v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs": {
|
|
26512
|
+
"get": {
|
|
26513
|
+
"description": "Returns a stream of logs for a given deployment.",
|
|
26514
|
+
"operationId": "getRuntimeLogs",
|
|
26515
|
+
"security": [
|
|
26516
|
+
{
|
|
26517
|
+
"bearerToken": []
|
|
26518
|
+
}
|
|
26519
|
+
],
|
|
26520
|
+
"summary": "Get logs for a deployment",
|
|
26521
|
+
"tags": [
|
|
26522
|
+
"logs"
|
|
26523
|
+
],
|
|
26524
|
+
"responses": {
|
|
26525
|
+
"200": {
|
|
26526
|
+
"description": "",
|
|
26527
|
+
"content": {
|
|
26528
|
+
"application/stream+json": {
|
|
26529
|
+
"schema": {
|
|
26530
|
+
"properties": {
|
|
26531
|
+
"level": {
|
|
26532
|
+
"type": "string",
|
|
26533
|
+
"enum": [
|
|
26534
|
+
"error",
|
|
26535
|
+
"warning",
|
|
26536
|
+
"info"
|
|
26537
|
+
]
|
|
26538
|
+
},
|
|
26539
|
+
"message": {
|
|
26540
|
+
"type": "string"
|
|
26541
|
+
},
|
|
26542
|
+
"rowId": {
|
|
26543
|
+
"type": "string"
|
|
26544
|
+
},
|
|
26545
|
+
"source": {
|
|
26546
|
+
"type": "string",
|
|
26547
|
+
"enum": [
|
|
26548
|
+
"delimiter",
|
|
26549
|
+
"edge-function",
|
|
26550
|
+
"edge-middleware",
|
|
26551
|
+
"serverless",
|
|
26552
|
+
"request"
|
|
26553
|
+
]
|
|
26554
|
+
},
|
|
26555
|
+
"timestampInMs": {
|
|
26556
|
+
"type": "number"
|
|
26557
|
+
},
|
|
26558
|
+
"domain": {
|
|
26559
|
+
"type": "string"
|
|
26560
|
+
},
|
|
26561
|
+
"messageTruncated": {
|
|
26562
|
+
"type": "boolean"
|
|
26563
|
+
},
|
|
26564
|
+
"requestMethod": {
|
|
26565
|
+
"type": "string"
|
|
26566
|
+
},
|
|
26567
|
+
"requestPath": {
|
|
26568
|
+
"type": "string"
|
|
26569
|
+
},
|
|
26570
|
+
"responseStatusCode": {
|
|
26571
|
+
"type": "number"
|
|
26572
|
+
}
|
|
26573
|
+
},
|
|
26574
|
+
"required": [
|
|
26575
|
+
"level",
|
|
26576
|
+
"message",
|
|
26577
|
+
"rowId",
|
|
26578
|
+
"source",
|
|
26579
|
+
"timestampInMs",
|
|
26580
|
+
"domain",
|
|
26581
|
+
"messageTruncated",
|
|
26582
|
+
"requestMethod",
|
|
26583
|
+
"requestPath",
|
|
26584
|
+
"responseStatusCode"
|
|
26585
|
+
],
|
|
26586
|
+
"type": "object"
|
|
26587
|
+
}
|
|
26588
|
+
}
|
|
26589
|
+
}
|
|
26590
|
+
},
|
|
26591
|
+
"400": {
|
|
26592
|
+
"description": "One of the provided values in the request query is invalid.",
|
|
26593
|
+
"content": {
|
|
26594
|
+
"application/json": {
|
|
26595
|
+
"schema": {
|
|
26596
|
+
"$ref": "#/components/schemas/VercelBadRequestError"
|
|
26597
|
+
}
|
|
26598
|
+
}
|
|
26599
|
+
}
|
|
26600
|
+
},
|
|
26601
|
+
"401": {
|
|
26602
|
+
"description": "",
|
|
26603
|
+
"content": {
|
|
26604
|
+
"application/json": {
|
|
26605
|
+
"schema": {
|
|
26606
|
+
"$ref": "#/components/schemas/VercelForbiddenError"
|
|
26607
|
+
}
|
|
26608
|
+
}
|
|
26609
|
+
}
|
|
26610
|
+
},
|
|
26611
|
+
"403": {
|
|
26612
|
+
"description": "You do not have permission to access this resource."
|
|
26613
|
+
}
|
|
26614
|
+
},
|
|
26615
|
+
"parameters": [
|
|
26616
|
+
{
|
|
26617
|
+
"name": "projectId",
|
|
26618
|
+
"in": "path",
|
|
26619
|
+
"required": true,
|
|
26620
|
+
"schema": {
|
|
26621
|
+
"type": "string"
|
|
26622
|
+
}
|
|
26623
|
+
},
|
|
26624
|
+
{
|
|
26625
|
+
"name": "deploymentId",
|
|
26626
|
+
"in": "path",
|
|
26627
|
+
"required": true,
|
|
26628
|
+
"schema": {
|
|
26629
|
+
"type": "string"
|
|
26630
|
+
}
|
|
26631
|
+
},
|
|
26632
|
+
{
|
|
26633
|
+
"description": "The Team identifier to perform the request on behalf of.",
|
|
26634
|
+
"in": "query",
|
|
26635
|
+
"name": "teamId",
|
|
26636
|
+
"schema": {
|
|
26637
|
+
"type": "string",
|
|
26638
|
+
"example": "team_1a2b3c4d5e6f7g8h9i0j1k2l"
|
|
26639
|
+
}
|
|
26640
|
+
},
|
|
26641
|
+
{
|
|
26642
|
+
"description": "The Team slug to perform the request on behalf of.",
|
|
26643
|
+
"in": "query",
|
|
26644
|
+
"name": "slug",
|
|
26645
|
+
"schema": {
|
|
26646
|
+
"type": "string",
|
|
26647
|
+
"example": "my-team-url-slug"
|
|
26648
|
+
}
|
|
26649
|
+
}
|
|
26650
|
+
]
|
|
26651
|
+
}
|
|
26652
|
+
},
|
|
26215
26653
|
"/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items": {
|
|
26216
26654
|
"post": {
|
|
26217
26655
|
"description": "Create one or multiple experimentation items",
|
|
@@ -30617,13 +31055,17 @@
|
|
|
30617
31055
|
},
|
|
30618
31056
|
"integrationId": {
|
|
30619
31057
|
"type": "string"
|
|
31058
|
+
},
|
|
31059
|
+
"configurationId": {
|
|
31060
|
+
"type": "string"
|
|
30620
31061
|
}
|
|
30621
31062
|
},
|
|
30622
31063
|
"required": [
|
|
30623
31064
|
"createdAt",
|
|
30624
31065
|
"createdBy",
|
|
30625
31066
|
"scope",
|
|
30626
|
-
"integrationId"
|
|
31067
|
+
"integrationId",
|
|
31068
|
+
"configurationId"
|
|
30627
31069
|
],
|
|
30628
31070
|
"type": "object"
|
|
30629
31071
|
},
|
|
@@ -31256,7 +31698,7 @@
|
|
|
31256
31698
|
"schema": {
|
|
31257
31699
|
"description": "Search projects by the name field",
|
|
31258
31700
|
"type": "string",
|
|
31259
|
-
"maxLength":
|
|
31701
|
+
"maxLength": 100
|
|
31260
31702
|
}
|
|
31261
31703
|
},
|
|
31262
31704
|
{
|
|
@@ -34680,13 +35122,17 @@
|
|
|
34680
35122
|
},
|
|
34681
35123
|
"integrationId": {
|
|
34682
35124
|
"type": "string"
|
|
35125
|
+
},
|
|
35126
|
+
"configurationId": {
|
|
35127
|
+
"type": "string"
|
|
34683
35128
|
}
|
|
34684
35129
|
},
|
|
34685
35130
|
"required": [
|
|
34686
35131
|
"createdAt",
|
|
34687
35132
|
"createdBy",
|
|
34688
35133
|
"scope",
|
|
34689
|
-
"integrationId"
|
|
35134
|
+
"integrationId",
|
|
35135
|
+
"configurationId"
|
|
34690
35136
|
],
|
|
34691
35137
|
"type": "object"
|
|
34692
35138
|
},
|
|
@@ -38928,13 +39374,17 @@
|
|
|
38928
39374
|
},
|
|
38929
39375
|
"integrationId": {
|
|
38930
39376
|
"type": "string"
|
|
39377
|
+
},
|
|
39378
|
+
"configurationId": {
|
|
39379
|
+
"type": "string"
|
|
38931
39380
|
}
|
|
38932
39381
|
},
|
|
38933
39382
|
"required": [
|
|
38934
39383
|
"createdAt",
|
|
38935
39384
|
"createdBy",
|
|
38936
39385
|
"scope",
|
|
38937
|
-
"integrationId"
|
|
39386
|
+
"integrationId",
|
|
39387
|
+
"configurationId"
|
|
38938
39388
|
],
|
|
38939
39389
|
"type": "object"
|
|
38940
39390
|
},
|
|
@@ -42880,13 +43330,17 @@
|
|
|
42880
43330
|
},
|
|
42881
43331
|
"integrationId": {
|
|
42882
43332
|
"type": "string"
|
|
43333
|
+
},
|
|
43334
|
+
"configurationId": {
|
|
43335
|
+
"type": "string"
|
|
42883
43336
|
}
|
|
42884
43337
|
},
|
|
42885
43338
|
"required": [
|
|
42886
43339
|
"createdAt",
|
|
42887
43340
|
"createdBy",
|
|
42888
43341
|
"scope",
|
|
42889
|
-
"integrationId"
|
|
43342
|
+
"integrationId",
|
|
43343
|
+
"configurationId"
|
|
42890
43344
|
],
|
|
42891
43345
|
"type": "object"
|
|
42892
43346
|
},
|
|
@@ -52924,13 +53378,17 @@
|
|
|
52924
53378
|
},
|
|
52925
53379
|
"integrationId": {
|
|
52926
53380
|
"type": "string"
|
|
53381
|
+
},
|
|
53382
|
+
"configurationId": {
|
|
53383
|
+
"type": "string"
|
|
52927
53384
|
}
|
|
52928
53385
|
},
|
|
52929
53386
|
"required": [
|
|
52930
53387
|
"createdAt",
|
|
52931
53388
|
"createdBy",
|
|
52932
53389
|
"scope",
|
|
52933
|
-
"integrationId"
|
|
53390
|
+
"integrationId",
|
|
53391
|
+
"configurationId"
|
|
52934
53392
|
],
|
|
52935
53393
|
"type": "object"
|
|
52936
53394
|
},
|
|
@@ -59778,6 +60236,15 @@
|
|
|
59778
60236
|
},
|
|
59779
60237
|
"name": "x-now-size"
|
|
59780
60238
|
},
|
|
60239
|
+
{
|
|
60240
|
+
"in": "header",
|
|
60241
|
+
"description": "Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit.",
|
|
60242
|
+
"schema": {
|
|
60243
|
+
"type": "string",
|
|
60244
|
+
"description": "Shared secret token set by v0 deployments. When present and valid, the API applies an extended rate limit."
|
|
60245
|
+
},
|
|
60246
|
+
"name": "x-internal-v0-token"
|
|
60247
|
+
},
|
|
59781
60248
|
{
|
|
59782
60249
|
"description": "The Team identifier to perform the request on behalf of.",
|
|
59783
60250
|
"in": "query",
|
|
@@ -64699,13 +65166,13 @@
|
|
|
64699
65166
|
},
|
|
64700
65167
|
"user": {
|
|
64701
65168
|
"properties": {
|
|
64702
|
-
"
|
|
65169
|
+
"username": {
|
|
64703
65170
|
"type": "string"
|
|
64704
65171
|
},
|
|
64705
|
-
"
|
|
65172
|
+
"avatar": {
|
|
64706
65173
|
"type": "string"
|
|
64707
65174
|
},
|
|
64708
|
-
"
|
|
65175
|
+
"email": {
|
|
64709
65176
|
"type": "string"
|
|
64710
65177
|
},
|
|
64711
65178
|
"slug": {
|
|
@@ -64716,9 +65183,9 @@
|
|
|
64716
65183
|
}
|
|
64717
65184
|
},
|
|
64718
65185
|
"required": [
|
|
65186
|
+
"username",
|
|
64719
65187
|
"avatar",
|
|
64720
65188
|
"email",
|
|
64721
|
-
"username",
|
|
64722
65189
|
"uid"
|
|
64723
65190
|
],
|
|
64724
65191
|
"type": "object",
|
|
@@ -65027,10 +65494,20 @@
|
|
|
65027
65494
|
},
|
|
65028
65495
|
"next_role": {
|
|
65029
65496
|
"nullable": true,
|
|
65030
|
-
"type": "string"
|
|
65497
|
+
"type": "string",
|
|
65498
|
+
"enum": [
|
|
65499
|
+
"ADMIN",
|
|
65500
|
+
"PROJECT_DEVELOPER",
|
|
65501
|
+
"PROJECT_VIEWER"
|
|
65502
|
+
]
|
|
65031
65503
|
},
|
|
65032
65504
|
"previous_role": {
|
|
65033
|
-
"type": "string"
|
|
65505
|
+
"type": "string",
|
|
65506
|
+
"enum": [
|
|
65507
|
+
"ADMIN",
|
|
65508
|
+
"PROJECT_DEVELOPER",
|
|
65509
|
+
"PROJECT_VIEWER"
|
|
65510
|
+
]
|
|
65034
65511
|
}
|
|
65035
65512
|
},
|
|
65036
65513
|
"required": [
|
|
@@ -67335,9 +67812,6 @@
|
|
|
67335
67812
|
"edgeFunctionExecutionTimeoutMs": {
|
|
67336
67813
|
"type": "number"
|
|
67337
67814
|
},
|
|
67338
|
-
"serverlessFunctionDefaultMaxExecutionTime": {
|
|
67339
|
-
"type": "number"
|
|
67340
|
-
},
|
|
67341
67815
|
"serverlessFunctionMaxMemorySize": {
|
|
67342
67816
|
"type": "number"
|
|
67343
67817
|
},
|
|
@@ -70219,6 +70693,37 @@
|
|
|
70219
70693
|
"type": "object",
|
|
70220
70694
|
"description": "The payload of the event, if requested."
|
|
70221
70695
|
},
|
|
70696
|
+
{
|
|
70697
|
+
"properties": {
|
|
70698
|
+
"projectId": {
|
|
70699
|
+
"type": "string"
|
|
70700
|
+
},
|
|
70701
|
+
"projectName": {
|
|
70702
|
+
"type": "string"
|
|
70703
|
+
}
|
|
70704
|
+
},
|
|
70705
|
+
"required": [
|
|
70706
|
+
"projectId",
|
|
70707
|
+
"projectName"
|
|
70708
|
+
],
|
|
70709
|
+
"type": "object",
|
|
70710
|
+
"description": "The payload of the event, if requested."
|
|
70711
|
+
},
|
|
70712
|
+
{
|
|
70713
|
+
"properties": {
|
|
70714
|
+
"projectId": {
|
|
70715
|
+
"type": "string"
|
|
70716
|
+
},
|
|
70717
|
+
"projectName": {
|
|
70718
|
+
"type": "string"
|
|
70719
|
+
},
|
|
70720
|
+
"newTargetPercentage": {
|
|
70721
|
+
"type": "number"
|
|
70722
|
+
}
|
|
70723
|
+
},
|
|
70724
|
+
"type": "object",
|
|
70725
|
+
"description": "The payload of the event, if requested."
|
|
70726
|
+
},
|
|
70222
70727
|
{
|
|
70223
70728
|
"properties": {
|
|
70224
70729
|
"gitProvider": {
|
|
@@ -72302,6 +72807,57 @@
|
|
|
72302
72807
|
"type": "object",
|
|
72303
72808
|
"description": "Array of events generated by the User."
|
|
72304
72809
|
},
|
|
72810
|
+
"Team": {
|
|
72811
|
+
"properties": {
|
|
72812
|
+
"id": {
|
|
72813
|
+
"type": "string",
|
|
72814
|
+
"description": "The Preset's unique identifier.",
|
|
72815
|
+
"example": "ABCDEFG000011111"
|
|
72816
|
+
},
|
|
72817
|
+
"data": {
|
|
72818
|
+
"properties": {
|
|
72819
|
+
"query": {
|
|
72820
|
+
"type": "string"
|
|
72821
|
+
},
|
|
72822
|
+
"creatorId": {
|
|
72823
|
+
"type": "string"
|
|
72824
|
+
},
|
|
72825
|
+
"title": {
|
|
72826
|
+
"type": "string"
|
|
72827
|
+
},
|
|
72828
|
+
"groupId": {
|
|
72829
|
+
"type": "string"
|
|
72830
|
+
},
|
|
72831
|
+
"ownerId": {
|
|
72832
|
+
"type": "string"
|
|
72833
|
+
},
|
|
72834
|
+
"projectId": {
|
|
72835
|
+
"type": "string"
|
|
72836
|
+
},
|
|
72837
|
+
"createdAt": {
|
|
72838
|
+
"type": "number"
|
|
72839
|
+
}
|
|
72840
|
+
},
|
|
72841
|
+
"required": [
|
|
72842
|
+
"query",
|
|
72843
|
+
"creatorId",
|
|
72844
|
+
"title",
|
|
72845
|
+
"groupId",
|
|
72846
|
+
"ownerId",
|
|
72847
|
+
"projectId",
|
|
72848
|
+
"createdAt"
|
|
72849
|
+
],
|
|
72850
|
+
"type": "object"
|
|
72851
|
+
}
|
|
72852
|
+
},
|
|
72853
|
+
"required": [
|
|
72854
|
+
"id",
|
|
72855
|
+
"data"
|
|
72856
|
+
],
|
|
72857
|
+
"type": "object",
|
|
72858
|
+
"description": "Data representing a Team.",
|
|
72859
|
+
"additionalProperties": true
|
|
72860
|
+
},
|
|
72305
72861
|
"TeamLimited": {
|
|
72306
72862
|
"properties": {
|
|
72307
72863
|
"limited": {
|
|
@@ -72597,11 +73153,6 @@
|
|
|
72597
73153
|
"type": "object",
|
|
72598
73154
|
"description": "A limited form of data representing a Team, due to the authentication token missing privileges to read the full Team data."
|
|
72599
73155
|
},
|
|
72600
|
-
"Team": {
|
|
72601
|
-
"type": "object",
|
|
72602
|
-
"description": "Data representing a Team.",
|
|
72603
|
-
"additionalProperties": true
|
|
72604
|
-
},
|
|
72605
73156
|
"AuthToken": {
|
|
72606
73157
|
"properties": {
|
|
72607
73158
|
"id": {
|
|
@@ -72899,10 +73450,6 @@
|
|
|
72899
73450
|
"type": "number",
|
|
72900
73451
|
"description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
|
|
72901
73452
|
},
|
|
72902
|
-
"serverlessFunctionDefaultMaxExecutionTime": {
|
|
72903
|
-
"type": "number",
|
|
72904
|
-
"description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
|
|
72905
|
-
},
|
|
72906
73453
|
"serverlessFunctionMaxMemorySize": {
|
|
72907
73454
|
"type": "number",
|
|
72908
73455
|
"description": "An object containing infomation related to the amount of platform resources may be allocated to the User account."
|