Read a release's custom-node frontend files for one built target
curl --request GET \
--url https://platformapi.comfy.org/builder/v1/releases/{id}/extensions \
--header 'Authorization: Bearer <token>'import requests
url = "https://platformapi.comfy.org/builder/v1/releases/{id}/extensions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platformapi.comfy.org/builder/v1/releases/{id}/extensions', 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://platformapi.comfy.org/builder/v1/releases/{id}/extensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://platformapi.comfy.org/builder/v1/releases/{id}/extensions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platformapi.comfy.org/builder/v1/releases/{id}/extensions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platformapi.comfy.org/builder/v1/releases/{id}/extensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"files": [
"<string>"
],
"archiveUrl": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>"
}API Reference
Read a release's custom-node frontend files for one built target
Returns what an editor must load for this release's node packs to draw their widgets: the /extensions paths the release's ComfyUI listed at build time (its own core extensions excluded, since every editor ships those) and a short-lived download link to a gzipped tar holding every file of every pack web directory, laid out as extensions/<name>/<file> exactly as ComfyUI serves them, with manifest.json as the first entry. os and gpu select a target; the default is the first ready one, ordered by os, gpu and accel variant. 404 when no ready target matches, or when the target picked has no captured archive, even if another ready target has one (pass os and gpu to ask for that one). The tenant guard is the whole authorization model: a release in another workspace is a 404, not a 403.
GET
/
v1
/
releases
/
{id}
/
extensions
Read a release's custom-node frontend files for one built target
curl --request GET \
--url https://platformapi.comfy.org/builder/v1/releases/{id}/extensions \
--header 'Authorization: Bearer <token>'import requests
url = "https://platformapi.comfy.org/builder/v1/releases/{id}/extensions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platformapi.comfy.org/builder/v1/releases/{id}/extensions', 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://platformapi.comfy.org/builder/v1/releases/{id}/extensions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://platformapi.comfy.org/builder/v1/releases/{id}/extensions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platformapi.comfy.org/builder/v1/releases/{id}/extensions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platformapi.comfy.org/builder/v1/releases/{id}/extensions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"files": [
"<string>"
],
"archiveUrl": "<string>",
"expiresAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>"
}承認
BearerAuthApiKeyAuth
クエリパラメータ
レスポンス
OK
A release's custom-node frontend files for one built target: the /extensions paths to load and where to fetch the files from.
The "/extensions//.js" paths ComfyUI listed for the release's packs, grouped by pack in pack-name order (each pack's paths in the order ComfyUI listed them), with re-escaped by Go's url.PathEscape, which leaves $ & + : = @ as they are where ComfyUI's quote escapes them. These are the paths the archive's files sit under. Empty when no pack ships a web directory.