@@ -1233,8 +1233,10 @@ paths:
1233
1233
description: "Not found"
1234
1234
"422":
1235
1235
description: "Data issue"
1236
- operationId: null
1236
+ operationId: "getPermission"
1237
1237
summary: "Get Permission details"
1238
+ x-speakeasy-alias: "getPermission"
1239
+ x-speakeasy-group: "Permissions"
1238
1240
x-speakeasy-entity-operation: "Permission#read"
1239
1241
patch:
1240
1242
tags:
@@ -1262,8 +1264,10 @@ paths:
1262
1264
description: "Not found"
1263
1265
"422":
1264
1266
description: "Data issue"
1265
- operationId: null
1267
+ operationId: "updatePermission"
1266
1268
summary: "Update a permission"
1269
+ x-speakeasy-alias: "updatePermission"
1270
+ x-speakeasy-group: "Permissions"
1267
1271
x-speakeasy-entity-operation: "Permission#update"
1268
1272
delete:
1269
1273
tags:
@@ -1279,7 +1283,9 @@ paths:
1279
1283
description: "Not found"
1280
1284
"422":
1281
1285
description: "Data issue"
1282
- operationId: null
1286
+ operationId: "deletePermission"
1287
+ x-speakeasy-alias: "deletePermission"
1288
+ x-speakeasy-group: "Permissions"
1283
1289
summary: "Delete a Permission"
1284
1290
x-speakeasy-entity-operation: "Permission#delete"
1285
1291
/permissions:
@@ -1302,12 +1308,14 @@ paths:
1302
1308
application/json:
1303
1309
schema:
1304
1310
$ref: "#/components/schemas/PermissionsResponse"
1305
- description: "List Permissions by user id ."
1311
+ description: "List Permissions."
1306
1312
"403":
1307
1313
description: "Not allowed"
1308
1314
"404":
1309
1315
description: "Not found"
1310
- operationId: null
1316
+ operationId: "listPermissions"
1317
+ x-speakeasy-alias: "listPermissions"
1318
+ x-speakeasy-group: "Permissions"
1311
1319
summary: "List Permissions by user id"
1312
1320
post:
1313
1321
tags:
@@ -1988,6 +1996,14 @@ components:
1988
1996
x-speakeasy-entity: "Permission"
1989
1997
x-speakeasy-param-suppress-computed-diff: true
1990
1998
x-speakeasy-component: true
1999
+ PermissionScope:
2000
+ description: "Scope of a single permission, e.g. workspace, organization"
2001
+ type: "string"
2002
+ enum:
2003
+ - "workspace"
2004
+ - "organization"
2005
+ - "none"
2006
+ x-speakeasy-component: true
1991
2007
PermissionResponseRead:
1992
2008
title: "Root type for PermissionResponseRead"
1993
2009
description: "Reformat PermissionResponse with permission scope"
0 commit comments