Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Storage policies: endpoints only accessible by admin #330

Merged
merged 4 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading