# Return available RPM packages This function lists information about the system's available RPM packages. Endpoint: GET /package_manager_list_packages Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `state` (string) Return RPM packages that exist in a specified state. * — All RPMs available on the system. * — The RPMs installed on the system. * — The available RPMs not yet installed on the system. * — The RPMs with updates available. Enum: "any", "installed", "not_installed", "updatable" ## Response 200 fields (application/json): - `data` (object) A list of RPM objects that match the requested . - `data.packages` (array) An array of objects that contains the RPM packages on the system. Example: [{"package":"MariaDB-client"},{"package":"MariaDB-common"}] - `data.packages.package` (string) An RPM package. - `metadata` (object) - `metadata.command` (string) The method name called. Example: "package_manager_list_packages" - `metadata.reason` (string) The reason the API function failed when the field is . This field may display a success message when a function succeeds. Example: "OK" - `metadata.result` (integer) * — Success. * — Failed. Check the field for more details. Enum: 1, 0 - `metadata.version` (integer) The version of the API function. Example: 1