LibraryItemUpdatesessionFileValidationResult

The File.ValidationResult structure defines the result of validating the files in the session.


Properties

boolean
has_errors Required

Whether the validation was succesful or not. In case of errors, the File.ValidationResult.missing-files and File.ValidationResult.invalid-files will contain at least one entry.


invalid_files Required

A list containing the files that have been identified as invalid and details about the error.


array of string
missing_files Required

A set containing the names of the files that are required but the client hasn’t added.

JSON Example

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

Feedback

Was this page helpful?