Back to DropboxPaper - Docs - Sharing Policy - Get
Gets the default sharing policy for the given Paper doc.
Input
type: object
properties:
data:
type: object
description: |
doc_id: The Paper doc ID.
properties:
doc_id:
type: string
description: The Paper doc ID.
title: Data
Output
type: object
description: >
Sharing policy of Paper doc.
public_sharing_policy: This value applies to the non-team members.
team_sharing_policy: This value applies to the team members only. The value is
null for all personal accounts.
properties:
team_sharing_policy:
type: object
description: >
The sharing policy type of the Paper doc.
people_with_link_can_edit: Users who have a link to this doc can edit it.
people_with_link_can_view_and_comment: Users who have a link to this doc
can view and comment on it.
invite_only: Users must be explicitly invited to this doc.
properties:
.tag:
title: Choice of SharingTeamPolicyType
type: string
enum:
- people_with_link_can_edit
- people_with_link_can_view_and_comment
- invite_only
public_sharing_policy:
type: object
description: >
people_with_link_can_edit: Users who have a link to this doc can edit it.
people_with_link_can_view_and_comment: Users who have a link to this doc
can view and comment on it.
invite_only: Users must be explicitly invited to this doc.
disabled: Value used to indicate that doc sharing is enabled only within
team.
properties:
.tag:
title: Choice of SharingPublicPolicyType
type: string
enum:
- people_with_link_can_edit
- people_with_link_can_view_and_comment
- invite_only
- disabled