Skip to content

Commit cc4d4fc

Browse files
Update the Folders API documentation to include the new user_restriction field. RD-32556 (#265)
1 parent 1e8f37f commit cc4d4fc

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

specs/engage-digital_openapi3.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,6 +2500,16 @@ paths:
25002500
items:
25012501
type: string
25022502
type: array
2503+
- description: >-
2504+
list of users allowed to see this folder. Same thing as
2505+
role restriction: user_restriction parameter has to be a hash with the key "only".
2506+
in: query
2507+
name: 'user_restriction[only][]'
2508+
required: false
2509+
schema:
2510+
items:
2511+
type: string
2512+
type: array
25032513
responses:
25042514
'200':
25052515
content:
@@ -2616,6 +2626,16 @@ paths:
26162626
items:
26172627
type: string
26182628
type: array
2629+
- description: >-
2630+
list of users allowed to see this folder. Same thing as
2631+
role restriction: user_restriction parameter has to be a hash with the key "only".
2632+
in: query
2633+
name: 'user_restriction[only][]'
2634+
required: false
2635+
schema:
2636+
items:
2637+
type: string
2638+
type: array
26192639
responses:
26202640
'200':
26212641
content:
@@ -8084,6 +8104,8 @@ components:
80848104
$ref: '#/components/schemas/Restriction'
80858105
team_restriction:
80868106
$ref: '#/components/schemas/Restriction'
8107+
user_restriction:
8108+
$ref: '#/components/schemas/Restriction'
80878109
user_id:
80888110
type: string
80898111
required:

0 commit comments

Comments
 (0)