POST
/
publishers
/
{publisherId}
/
nodes
/
{nodeId}
/
versions
curl --request POST \
  --url https://api.comfy.org/publishers/{publisherId}/nodes/{nodeId}/versions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "node": {
    "author": "<string>",
    "category": "<string>",
    "description": "<string>",
    "downloads": 123,
    "icon": "<string>",
    "id": "<string>",
    "latest_version": {
      "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>"
    },
    "license": "<string>",
    "name": "<string>",
    "publisher": {
      "createdAt": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "id": "<string>",
      "logo": "<string>",
      "members": [
        {
          "id": "<string>",
          "role": "<string>",
          "user": {
            "email": "<string>",
            "id": "<string>",
            "name": "<string>"
          }
        }
      ],
      "name": "<string>",
      "source_code_repo": "<string>",
      "status": "PublisherStatusActive",
      "support": "<string>",
      "website": "<string>"
    },
    "rating": 123,
    "repository": "<string>",
    "status": "NodeStatusActive",
    "status_detail": "<string>",
    "tags": [
      "<string>"
    ]
  },
  "node_version": {
    "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>"
  },
  "personal_access_token": "<string>"
}'
{
  "node_version": {
    "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>"
  },
  "signedUrl": "<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

Body

application/json
node
object
required
node_version
object
required
personal_access_token
string
required

Response

201
application/json
New version published successfully
node_version
object
signedUrl
string

The signed URL to upload the node version token.