Skip to content

Get new file version limits #5983

Description

@milanholemans

Let's add new versioning capabilities to SharePoint lists.

Get file versioning capabilities

Expand spo list get command with VersionPolicies navigation property which looks like this:

{
    "DefaultExpireAfterDays": 0,
    "DefaultTrimMode": 0
}

So we have to expand the VersionPolicies property here.

DefaultTrimMode is an enum, I suggest we add another property called DefaultTrimModeValue that contains the label of the value.

Label Value
NoExpiration 0
ExpireAfter 1
AutoExpiration 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions