interface ContentRestriction {
    _expandable: {
        content?: string;
        restrictions?: string;
    } & {
        [key: string]: unknown;
    };
    _links: GenericLinks;
    content?: null | Content;
    operation:
        | "copy"
        | "move"
        | "use"
        | "update"
        | "delete"
        | "read"
        | "create"
        | "restore"
        | "administer"
        | "export"
        | "purge"
        | "purge_version";
    restrictions?: {
        _expandable?: {
            group?: string;
            user?: string;
        } & {
            [key: string]: unknown;
        };
        group?: GroupArray;
        user?: UserArray;
    } & {
        [key: string]: unknown;
    };
}

Hierarchy

  • Record<string, unknown>
    • ContentRestriction

Properties

_expandable: {
    content?: string;
    restrictions?: string;
} & {
    [key: string]: unknown;
}
_links: GenericLinks
content?: null | Content

Base object for all content types.

operation:
    | "copy"
    | "move"
    | "use"
    | "update"
    | "delete"
    | "read"
    | "create"
    | "restore"
    | "administer"
    | "export"
    | "purge"
    | "purge_version"
restrictions?: {
    _expandable?: {
        group?: string;
        user?: string;
    } & {
        [key: string]: unknown;
    };
    group?: GroupArray;
    user?: UserArray;
} & {
    [key: string]: unknown;
}