List Cloud Function versions
curl --request GET \
--url https://api.getnexor.ai/api/public/cloud-functions/{id}/versions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getnexor.ai/api/public/cloud-functions/{id}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getnexor.ai/api/public/cloud-functions/{id}/versions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/cloud-functions/{id}/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"versions": [
{
"version_number": 2,
"source": "panel",
"published_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_by_name": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"is_published": true
}
]
}{
"error": "Invalid API key",
"message": "The provided API key is not valid"
}{
"error": "Forbidden",
"message": "This API key is missing the required scope: workflows:read"
}{
"error": "Not found",
"message": "Cloud Function not found"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "Internal server error",
"message": "Failed to list versions"
}Listar versiones de una función en la nube
Lista todas las versiones publicadas de una función en la nube, de la más reciente a la más antigua, con quién y cuándo la publicó, sin código.
GET
/
cloud-functions
/
{id}
/
versions
List Cloud Function versions
curl --request GET \
--url https://api.getnexor.ai/api/public/cloud-functions/{id}/versions \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getnexor.ai/api/public/cloud-functions/{id}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getnexor.ai/api/public/cloud-functions/{id}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getnexor.ai/api/public/cloud-functions/{id}/versions")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getnexor.ai/api/public/cloud-functions/{id}/versions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"versions": [
{
"version_number": 2,
"source": "panel",
"published_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"published_by_name": "<string>",
"published_at": "2023-11-07T05:31:56Z",
"is_published": true
}
]
}{
"error": "Invalid API key",
"message": "The provided API key is not valid"
}{
"error": "Forbidden",
"message": "This API key is missing the required scope: workflows:read"
}{
"error": "Not found",
"message": "Cloud Function not found"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "Internal server error",
"message": "Failed to list versions"
}Lista todas las versiones publicadas de una función en la nube, de la más reciente a la más antigua. No incluye el código; léelo con Detalles de versión.
Cada publicación crea una versión: Publicar, el código enviado a Actualizar y el código con el que se crea una función. Las versiones se conservan hasta que se elimina la función.
| Campo | Significado |
|---|---|
version_number | Empieza en 1 y nunca se reutiliza. |
is_published | true para la versión que ejecuta producción. |
source | panel (el dashboard), public_api (una clave de API o MCP) o backfill (el código que tenía la función cuando empezó el historial de versiones). |
published_by, published_by_name | La persona que la publicó desde el dashboard. null para claves de API. |
published_at | Cuándo se publicó. |
Autorizaciones
API key for authentication. Keys are prefixed with nxr_live_.
Parámetros de ruta
Cloud Function id.
Última modificación el 6 de octubre de 2026
⌘I