interface SetContentState {
    color?: string;
    contentId?: string;
    contentStateId?: number;
    id?: string;
    name?: string;
    stateId?: string;
    status?: string;
}

Hierarchy (view full)

Properties

color?: string

Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)

contentId?: string

Deprecated

The Id of the content whose content state is to be set.

contentStateId?: number

Deprecated

The Id of the content

id?: string

The Id of the content whose content state is to be set.

name?: string

Name of content state. Maximum 20 characters.

stateId?: string

Id of state. This can be 0,1, or 2 if you wish to specify a default space state.

status?: string

Status of content onto which state will be placed. If draft, then draft state will change. If current, state will be placed onto a new version of the content with same body as previous version.

Generated using TypeDoc v0.25.12