Skip to main content

V1PackageCreateViewModel

Source: Robopack public API v1 OpenAPI definition · OpenAPI 3.0.1 · Snapshot: 2026-10-01. Download this snapshot.

Type: object

AttributeValue
Required propertiesname
PropertyTypeRequiredNullableConstraints / defaultDescription
architectureMemProcessorArchitecture2NoNot declared——
detectionRulesarray of MemDetectionMethodNoNot declared—Detection rule(s) to use for detecting the installation of the package. Required if 'runAnalysis' is not enabled.
installCommandstringNoYes—Command used to run the installation of the package.
logoDatastring (byte)NoYes—Logo for the package as BASE64-encoded data. Standard image formats are supported (PNG, JPEG, etc.)
namestringYesNot declared—Name of the package to create.
publisherstringNoYes—Publisher name for package.
runAnalysisbooleanNoNot declared—If Robopack should run an installation analysis of the package to verify the installation command and attempt to determine the uninstall command and detection rule.
scriptTemplateIdstring (uuid)NoYes—ID of script template to use for creating the package.
sourceTypestringNoYes—Type of source files for the package. One of 'zip', 'exe', 'msi'.
uninstallCommandstringNoYes—Command used to run the uninstallation of the package. Required if 'runAnalysis' is not enabled.
userContextbooleanNoNot declared—Set to true if the package installs in the user context, false for machine context.
versionstringNoYes—Version of package.

Required property status follows the schema's required list. Nullability and defaults are shown only where declared; a missing declaration does not establish backend behavior.

Operations using this model directly​

Complete schema definition​

{
"properties": {
"architecture": {
"$ref": "#/components/schemas/MemProcessorArchitecture2"
},
"detectionRules": {
"description": "Detection rule(s) to use for detecting the installation of the package. Required if 'runAnalysis' is not enabled.",
"items": {
"$ref": "#/components/schemas/MemDetectionMethod"
},
"type": "array"
},
"installCommand": {
"description": "Command used to run the installation of the package.",
"nullable": true,
"type": "string"
},
"logoData": {
"description": "Logo for the package as BASE64-encoded data. Standard image formats are supported (PNG, JPEG, etc.)",
"format": "byte",
"nullable": true,
"type": "string"
},
"name": {
"description": "Name of the package to create.",
"type": "string"
},
"publisher": {
"description": "Publisher name for package.",
"nullable": true,
"type": "string"
},
"runAnalysis": {
"description": "If Robopack should run an installation analysis of the package to verify the installation command and attempt to determine the uninstall command and detection rule.",
"type": "boolean"
},
"scriptTemplateId": {
"description": "ID of script template to use for creating the package.",
"format": "uuid",
"nullable": true,
"type": "string"
},
"sourceType": {
"description": "Type of source files for the package. One of 'zip', 'exe', 'msi'.",
"nullable": true,
"type": "string"
},
"uninstallCommand": {
"description": "Command used to run the uninstallation of the package. Required if 'runAnalysis' is not enabled.",
"nullable": true,
"type": "string"
},
"userContext": {
"description": "Set to true if the package installs in the user context, false for machine context.",
"type": "boolean"
},
"version": {
"description": "Version of package.",
"nullable": true,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}