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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Publisher created successfully
The response is of type object
.
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>"
}