GET/sharedrives/{sharedriveId}/link-setting
Gets link settings required to create a link for a collaborative drive.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
file
file.read
| Parameter | Type | Description |
|---|---|---|
| sharedriveId | string | Collaborative drive ID required example : @2101000000000008 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| enabledOrganizationAccessType | boolean | Indicates whether a link with the accessType ORGANIZATION can be created. |
| enabledSpecificPeopleAccessType | boolean | Indicates whether a link with the accessType SPECIFIC_PEOPLE can be created. |
| enabledAnyoneAccessType | boolean | Indicates whether a link with the accessType ANYONE can be created. |
| maxLinkRetentionDays | integer | Maximum retention period in days. When creating or updating a link, the expirationTime value must be less than the maxLinkRetentionDays value.
Allowed values : -1, 7, 30, 90, 180 |
example
1{2 "enabledOrganizationAccessType": true,3 "enabledSpecificPeopleAccessType": true,4 "enabledAnyoneAccessType": false,5 "maxLinkRetentionDays": 306}