action dracoon_request_room_policies {
label: "Request Room Policies"
description: "
🚀 Since v4.32.0
\n\n### Description: \nRetrieve the room policies:\n* `defaultExpirationPeriod`\n\n### Precondition:\nUser has 🔓 read permissions in that room.\n\n### Postcondition:\nRoom Policies returned.\n\n### Further Information:\n`defaultExpirationPeriod`: Default policy room expiration period in seconds.\nAll existing and future files in a room will have their expiration date set to this period after their respective upload.\nExisting files can be set to expire earlier afterwards.\n`0` means no default expiration policy will be enforced. \n\n\n"
provider: dracoon
method: GET
path: "/v4/nodes/rooms/{room_id}/policies"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
room_id: {
type: "integer"
format: "int64"
}
}
required: ["room_id"]
additionalProperties: false
}
output: {
type: "object"
description: "Room Polices"
required: ["defaultExpirationPeriod"]
properties: {
defaultExpirationPeriod: {
type: "integer"
format: "int32"
description: "Default policy room expiration period in seconds.\n\nAll files in a room will have their expiration date set to this period after their respective upload. \n\n0 means no default expiration policy is set."
}
}
}
}