POST
/
publishers
curl --request POST \
  --url https://api.comfy.org/publishers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>"
}'
{
  "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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
createdAt
string

The date and time the publisher was created.

description
string
id
string

The unique identifier for the publisher. It's akin to a username. Should be lowercase.

URL to the publisher's logo.

members
object[]

A list of members in the publisher.

name
string
source_code_repo
string
status
enum<string>
Available options:
PublisherStatusActive,
PublisherStatusBanned
support
string
website
string

Response

201 - application/json
createdAt
string

The date and time the publisher was created.

description
string
id
string

The unique identifier for the publisher. It's akin to a username. Should be lowercase.

URL to the publisher's logo.

members
object[]

A list of members in the publisher.

name
string
source_code_repo
string
status
enum<string>
Available options:
PublisherStatusActive,
PublisherStatusBanned
support
string
website
string