Get-PveNodesQueryUrlMetadata
Query metadata of an URL: file size, file name and mime type.
API: GET /nodes/{node}/query-url-metadata, Proxmox VE API viewer
Syntax
Section titled “Syntax”Get-PveNodesQueryUrlMetadata [-PveTicket <PveTicket>] -Node <string> -Url <string> [-VerifyCertificates <bool>] [<CommonParameters>]Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
-PveTicket |
PveTicket |
No | Ticket data connection. |
-Node |
string |
Yes | The cluster node name. |
-Url |
string |
Yes | The URL to query the metadata from. |
-VerifyCertificates |
bool |
No | If false, no SSL/TLS certificates will be verified. |
Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.
Output
Section titled “Output”A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.