api

  1. M

    Proxmox API Execute

    Hallo, wie benutzt man „execute“ bei der Proxmox API könnte einer mir ein Beispiel bitte schicken. Danke! Mit freundlichen Grüßen Timo Otten
  2. J

    Stability of API Endpoints not in Documentation

    I'm quite familiar with the API Viewer website and at least the basics of many of the endpoints. However, in the course of using the WebUI there are some (or at least one) endpoints that do not appear in the API Viewer. For example, the /nodes/{node}/query-url-metadata endpoint is used by the...
  3. F

    pmgsh get /quarantine/blacklist all email list

    Good afternoon, I ran into the problem of displaying a list via api, how is this possible to implement? pmgsh get /quarantine/blacklist all email list ???
  4. R

    [SOLVED] Proxmox API?

    Hi folks, I`m new there, just want ask does proxmox have some kind of API for managing virtual machines? Like create\destroy, power on\off, maybe change settings, etc... ?
  5. Q

    [SOLVED] File Restore via Api

    Hi, Is there a way to list and download all files from a backup via the Api. I need a list of the files in the backup not the backup file itself. Thanks for the answer in advance
  6. powersupport

    How the API works for real time data

    HI, May I know if we can use the Proxmox API to get real-time live resource usage for the VMs and nodes as attached https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/rrddata
  7. H

    Generate user ticket without their password

    It it possible over the API or CLI to generate a user's ticket without their password as an admin/root user? I'm working on a custom SSO for proxmox that would in the background generate a ticket for you then add it to your cookies so you never see a proxmox login page.
  8. gurubert

    PVE Cluster Service IP

    I would like to ask for a new feature: Service IP for a PVE cluster. I.e. the Proxmox cluster manager should be able to configure an IP address that is always active on one of the nodes (maybe the cluster leader). This would make it easier for automated tools to talk to the API. In case of a...
  9. Q

    [SOLVED] Proxmox HTTP API Create a new VM with SCSI

    Hi, I'm trying to create a new VM with the API per Post Request. This also worked until I wanted to add a drive via SCSI. For this I have sent this data: ... "&scsi0=moxx01:vm-103-disk-0,discard=on,iops_rd=500,iops_wr=500,size=50G,ssd=1" ... { "data":null, "errors":{...
  10. T

    Do I have incorrect format of these parameters?

    I have a problem passing these parameters in the installation document, mainly the full clone and storage location?
  11. A

    Possible to limit API access to just Cluster > Firewall > IPset > Name?

    Background: We run PVE with a couple of LXCs and VMs with one LXC representing a reverse proxy for the different backend services. I was wondering if I could run Fail2Ban on the backends wich would then block/release IPs on the PVE-host by modifying a specific IPset. However, it seems I cannot...
  12. D

    [SOLVED] Miss matched backup_status response from API.

    Hi, so I am developing/writing a script to send individual emails to our customers notifying them of their VM's backup status (successful or failed). While testing I discovered that depending on where the backup is cancelled or problem occurs the API's (Proxmox API & PBS API) respond with...
  13. S

    Shutdown Proxmox using APi

    Hi Guys So long story short I want to shut down my physical server that is running Proxmox VE using the API. I am fairly new to using API but what I have found thus far is this: curl https://yourip:8006/api2/json//nodes/proxmox/stop -k -d 'username=root@pam&password=yourpassword' Above does...
  14. P

    [SOLVED] API Authentication - No Ticket

    Having an issue figuring out how to authenticate to PMG API via PHP. I was able to generate a new ticket just fine, put passing in the cookie and header seems to be a problem for follow up requests. The API tells me: HTTP/1.1 401 No ticket $pmgToken = Http::withOptions([ 'verify' => false...
  15. C

    VNC Konsole über die API öffnen

    Ich möchte die VNC Konsole zu einem LXC-Server über die API öffnen. Leider bekomme ich ständig die Meldung Connection failed (Error 401: No ticket). Ich habe auch schon versucht den "PVEAuthCookie" zu setzen mit dem Wert von dem "ticket" aus POST /api2/json//nodes/{node}/lxc/{vmid}/vncproxy...
  16. C

    Configure scsi by Proxmox API

    Hello! I have an installed Proxmox server which is functional through GUI and CLI. I want to launch a VM through the proxmox API, and i am trying to do so by sending a POST request to /nodes/{node}/qemu. I am able to get the VM instantiated, but it wont run. I think the problem is due to the...
  17. R

    xterm.js console doesnt set terminal size correctly

    Hi, The xterm.js terminal doesnt set the terminal size correctly causing the text to not wrap and overwrite the text on the current line The xterm.js console tries to set the tty size by sending "1:<cols>:<rows>:" over the websocket, however, this doesnt work Example: The actual tty size...
  18. T

    Proxmox API – clone and start VM

    Hi, I'd like to automate the use of proxmox. I care about copying and starting the VM. I was able to achieve this with the CLI with the command: Pvesh create /nodes/pve/quemu/100/clone –newid 102 Do you know how this can be achieved using the API? I tried POST...
  19. L

    SMTP Dialog Antworten Log ID

    Hi zusammen, sofern PMG E-Mails annimmt oder blockiert wird geantwortet mit: 250 2.5.0 OK ($self->{queue}->{logid}) 554 5.7.1 [...] ($self->{queue}->{logid}) Der PMG API Endpunkt /tracker/(id) (https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/tracker/{id}) führt neben der...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!