HumHub - Like API (1.0.0)

Download OpenAPI specification:Download

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

Welcome to the HumHub like module API reference.

Get like by id

path Parameters
id
required
integer

The id of the like

Responses

Response samples

Content type
application/json
{}

Deletes a like by id

path Parameters
id
required
integer

The id of the like

Responses

Get all likes by content id

query Parameters
model
required
string

The model record class

pk
required
integer

The primary key of the record

Responses

Response samples

Content type
application/json
{
  • "total": 76,
  • "page": 1,
  • "pages": 8,
  • "links": {
    },
  • "results": []
}