Create Forum
POST /internal/admin/comms/v1/forums
Operation id: post__internal_admin_comms_v1_forums
Description
Create Forum
Tags: User Forums
Parameters
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
tenantId | string | Yes | tenantId |
Security
- BearerAuth (http / bearer)
- Enter the token
Responses
200 — OK
Content type: application/json
400 — Bad Request
Content type: application/json
401 — Unauthorized
Content type: application/json
404 — Not Found
Content type: application/json
500 — Internal Server Error
Content type: application/json
Request body
Required: Yes
application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
adminOnly | boolean | No | |
description | string | No | |
forumId | integer | No | |
name | string | No | |
private | boolean | No | |
subscribers | array | No |
{
"type": "object",
"properties": {
"adminOnly": {
"type": "boolean"
},
"description": {
"type": "string"
},
"forumId": {
"type": "integer"
},
"name": {
"type": "string"
},
"private": {
"type": "boolean"
},
"subscribers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tgtPerm": {
"type": "string"
},
"userLogin": {
"type": "string"
}
}
}
}
}
}
Response models
200 — OK
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
details | string | No | |
forumId | integer | No | |
statusCode | integer | No |
{
"type": "object",
"properties": {
"details": {
"type": "string"
},
"forumId": {
"type": "integer"
},
"statusCode": {
"type": "integer"
}
}
}
400 — Bad Request
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
details | string | No | |
forumId | integer | No | |
statusCode | integer | No |
{
"type": "object",
"properties": {
"details": {
"type": "string"
},
"forumId": {
"type": "integer"
},
"statusCode": {
"type": "integer"
}
}
}
401 — Unauthorized
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
code | integer | No | |
message | string | No |
{
"type": "object",
"properties": {
"code": {
"type": "integer",
"example": 0
},
"message": {
"type": "string",
"example": "Success"
}
}
}
404 — Not Found
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
details | string | No | |
forumId | integer | No | |
statusCode | integer | No |
{
"type": "object",
"properties": {
"details": {
"type": "string"
},
"forumId": {
"type": "integer"
},
"statusCode": {
"type": "integer"
}
}
}
500 — Internal Server Error
Content type: application/json
Schema
| Property | Type | Required | Description |
|---|---|---|---|
details | string | No | |
forumId | integer | No | |
statusCode | integer | No |
{
"type": "object",
"properties": {
"details": {
"type": "string"
},
"forumId": {
"type": "integer"
},
"statusCode": {
"type": "integer"
}
}
}