Initialization Option Author API

created_by

Only display Items created by specified users (authors). This will be based on their Learnosity user.id.

You would want to use this so that authors can see their most relevant Items, for example.

Examples

var initializationOptions = {
    "config": {
        "item_list": {
            "filter": {
                "restricted": {
                    "created_by": [
                        "my_user_id_1",
                        "my_user_id_2"
                    ]
                }
            }
        }
    }
};

Values

Request object key config.item_list.filter.restricted.created_by

Default: []

Type array[string]

A maximum of 50 user.id values are allowed.

Was this article helpful?