config.item_list.filter.restricted.status - Initialization - Author API

Author API Initialization

status

Show Items that have a status matching one of the available statuses.

You would want to use this to customize which Items are shown based on their status.

Examples

// Show only "archived" Items
var initializationOptions = {
    "config": {
        "item_list": {
            "filter": {
                "restricted": {
                    "status": ["archived"]
                }
            }
        }
    }
};

Values

Attribute path config.item_list.filter.restricted.status

Default ["published", "unpublished"]

Type array[string]

Possible values

  • "published"
  • "unpublished"
  • "archived"

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.