content library item updatesession file: validation result

The validation_result structure defines the result of validating the files in the session.

Representation:

{
    "has_errors"true,
    "invalid_files"[
        {
            "error_message"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "name""string"
        },
        {
            "error_message"{
                "args"[
                    "string",
                    "string"
                ],
                "default_message""string",
                "id""string"
            },
            "name""string"
        }
    ],
    "missing_files"[
        "string",
        "string"
    ]
}

Attributes:

Name Type Description
Required
has_errors boolean Whether the validation was succesful or not. In case of errors, the content.library.item.updatesession.file.validation_result.missing_files and content.library.item.updatesession.file.validation_result.invalid_files will contain at least one entry.

missing_files string[] A set containing the names of the files that are required but the client hasn't added.

invalid_files validation_error[] A array containing the files that have been identified as invalid and details about the error.