Skip to content

Admin Pack Version Curse Import Object

A Admin Pack Version Curse Import Object is an object returned from the API which contains information about a pack version’s curse import. The details about what data it provides is listed below.

Returned Data (Represented by $object)

NameTypeDescription
$object→messagestringThe message about the status of the import
$object→savedbooleanIf the import saved the xml for the pack. If this is false, you’ll need to manually save the XML provided taking note of the errors returned
$object→xmlstringThe XML generated (and potentially saved) for the import
$object→jsonstringThe JSON generated (if the XML was saved) for the import
$object→warningsstring[]The warnings from the import process (if any)
$object→errorsstring[]The errors from the import process (if any)