HumHub - Content API (1.0.0)

Download OpenAPI specification:Download

E-mail: info@humhub.com License: AGPLv2

Welcome to the HumHub comment module API reference.

Authentication

Bearer

Security scheme type: JWT

BasicAuth

Security scheme type: HTTP
HTTP Authorization Scheme basic

Get comment by id

path Parameters
id
required
integer

The id of the comment

Responses

200

successful operation

400

Invalid comment id supplied

404

Comment not found

get /comment/{id}
/api/v1/comment/{id}

Response samples

application/json
Copy
Expand all Collapse all
{
  • "id": 14,
  • "message": "Calvin Klein – Between love and madness lies obsession.",
  • "createdBy":
    {},
  • "createdAt": "2020-01-31T16:48:45.293Z"
}

Deletes a comment by id

path Parameters
id
required
integer

The id of comment

Responses

200

successful operation

404

Comment not found

delete /comment/{id}
/api/v1/comment/{id}