PUT
/
publishers
/
{publisherId}
/
nodes
/
{nodeId}
/
versions
/
{versionId}
curl --request PUT \
  --url https://api.comfy.org/publishers/{publisherId}/nodes/{nodeId}/versions/{versionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "changelog": "<string>",
  "deprecated": true
}'
{
  "changelog": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "dependencies": [
    "<string>"
  ],
  "deprecated": true,
  "downloadUrl": "<string>",
  "id": "<string>",
  "node_id": "<string>",
  "status": "NodeVersionStatusActive",
  "status_reason": "<string>",
  "version": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

publisherId
string
required
nodeId
string
required
versionId
string
required

Body

application/json
changelog
string

The changelog describing the version changes.

deprecated
boolean

Whether the version is deprecated.

Response

200
application/json
Version updated successfully
changelog
string

Summary of changes made in this version

createdAt
string

The date and time the version was created.

dependencies
string[]

A list of pip dependencies required by the node.

deprecated
boolean

Indicates if this version is deprecated.

downloadUrl
string

[Output Only] URL to download this version of the node

id
string
node_id
string

The unique identifier of the node.

status
enum<string>
Available options:
NodeVersionStatusActive,
NodeVersionStatusDeleted,
NodeVersionStatusBanned,
NodeVersionStatusPending,
NodeVersionStatusFlagged
status_reason
string

The reason for the status change.

version
string

The version identifier, following semantic versioning. Must be unique for the node.