mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-06 12:27:48 +00:00
fix linting issues v2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
post:
|
||||
summary: Create a permission
|
||||
description: This endpoint can create permissions for Lifecycle, Consolidation, and Collaboration
|
||||
operationId: postPermission
|
||||
operationId: createPermission
|
||||
tags:
|
||||
- permissions
|
||||
requestBody:
|
||||
|
||||
@@ -13,10 +13,12 @@ properties:
|
||||
example: ef5d413f-ba18-49e6-9a72-bb115aa133ff
|
||||
value:
|
||||
type: integer
|
||||
format: int32
|
||||
example: 1
|
||||
description: The permissions level of access
|
||||
subject:
|
||||
type: integer
|
||||
format: int32
|
||||
example: 1
|
||||
description: The type of permission
|
||||
subject_id:
|
||||
|
||||
@@ -12,11 +12,13 @@ properties:
|
||||
description: The ID of the object that the permission is giving access to
|
||||
value:
|
||||
type: integer
|
||||
format: int32
|
||||
enum: [1, 2, 3, 4, 5, 6, 7]
|
||||
example: 1
|
||||
description: The permissions level of access
|
||||
subject:
|
||||
type: integer
|
||||
format: int32
|
||||
enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]
|
||||
example: 0
|
||||
description: The type of permission
|
||||
|
||||
Reference in New Issue
Block a user