H5P NodeJS Library
    Preparing search index...

    This is the data sent to the H5P Hub when the local installation (site) registers itself there.

    interface IRegistrationData {
        core_api_version: string;
        disabled: 0 | 1;
        h5p_version: string;
        local_id: string;
        platform_name: string;
        platform_version: string;
        type: "network" | "local" | "internet";
        uuid: string;
    }
    Index

    Properties

    core_api_version: string

    The core API version that the site supports (e.g. 1.24). Unknown if the hub only reports back content types that work for this core version.

    disabled: 0 | 1

    Purpose unknown.

    h5p_version: string

    The version of the H5P PHP library. As we only imitate the PHP library, this doesn't really apply here. Probably used for statistical purposes. It makes sense to use the version of the core client JS files here.

    local_id: string

    An integer that identifies the site. You can for example use a crc32 hash of the local installation path. The purpose of the id is unknown.

    platform_name: string

    The name of the H5P implementation.

    platform_version: string

    The version of the H5P implementation.

    type: "network" | "local" | "internet"

    Tells the H5P Hub in what network the installation operates. Probably used for statistical purposes.

    uuid: string

    The unique id that is used to re-identify this site at the Hub later. Can be '' when the site is doing the registration for the first time. Later it should be the value that is received back from the H5P Hub.