Skip to content

Commit

Permalink
docs: Storage policies: endpoints only accessible by admin (#330)
Browse files Browse the repository at this point in the history
* Add information on access and auth

* Correct wording

---------

Co-authored-by: Barbara Czyż <[email protected]>
  • Loading branch information
superojla and bszwarc authored Aug 21, 2023
1 parent 739416b commit e2b4e45
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/paths/storage_policies__get_storage_policies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ x-box-tag: storage_policies

description: |-
Fetches all the storage policies in the enterprise.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.
parameters:
- $ref: '../attributes/fields.yml'
Expand Down
2 changes: 2 additions & 0 deletions content/paths/storage_policies__get_storage_policies_id.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tags:
x-box-tag: storage_policies

description: Fetches a specific storage policy.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.

parameters:
- $ref: '../attributes/storage_policy_id.yml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ description: |-
There is a rate limit for calling this endpoint of only
twice per user in a 24 hour time frame.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.
parameters:
- $ref: '../attributes/storage_policy_assignment_id.yml'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ x-box-tag: storage_policy_assignments

description: |-
Fetches all the storage policy assignment for an enterprise or user.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.
parameters:
- $ref: '../attributes/marker.yml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tags:
x-box-tag: storage_policy_assignments

description: Fetches a specific storage policy assignment.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.

parameters:
- $ref: '../attributes/storage_policy_assignment_id.yml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ x-box-tag: storage_policy_assignments

description: |-
Creates a storage policy assignment for an enterprise or user.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.
requestBody:
content:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tags:
x-box-tag: storage_policy_assignments

description: Updates a specific storage policy assignment.
Only a Primary Admin can access this endpoint. The user
needs to generate a token for an account to authenticate this request.

parameters:
- $ref: '../attributes/storage_policy_assignment_id.yml'
Expand Down

0 comments on commit e2b4e45

Please sign in to comment.