HumHub - Activity API (1.0.0)

Download OpenAPI specification:Download

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

Welcome to the HumHub activity module API reference.

Activity

API to access activity information.

Find all global activity

query Parameters
page
string >= 0

The number of page of the result set.

limit
string [ 1 .. 50 ]
Default: 20

The numbers of items to return per page.

Responses

Response samples

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

Get activity by id

path Parameters
id
required
integer

The id of activity

Responses

Response samples

Content type
{
  • "id": 32,
  • "class": "humhub\\modules\\space\\activities\\MemberAdded",
  • "content": {
    },
  • "originator": {},
  • "source": {},
  • "createdAt": "2019-03-05 15:35:02"
}

Get all activities by container

path Parameters
containerId
required
integer

The id of container

query Parameters
page
string >= 0

The number of page of the result set.

limit
string [ 1 .. 50 ]
Default: 20

The numbers of items to return per page.

Responses

Response samples

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