HumHub - Content API (1.0.0)

Download OpenAPI specification:Download

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

Welcome to the HumHub content module API reference.

Authentication

Bearer

Security scheme type: JWT

BasicAuth

Security scheme type: HTTP
HTTP Authorization Scheme basic

Content

API to access and manage content information.

Find all content by container

path Parameters
id
required
integer

The id of the content 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

200

successful operation

400

Invalid content container id supplied

404

Content container not found

get /content/findByContainer/{id}
/api/v1/content/findByContainer/{id}

Response samples

application/json
Copy
Expand all Collapse all
{
  • "total": 76,
  • "page": 1,
  • "pages": 8,
  • "links":
    {
    },
  • "results":
    []
}

Get content by id

path Parameters
id
required
integer

The id of the content

Responses

200

successful operation

400

Invalid content id supplied

404

Content not found

get /content/{id}
/api/v1/content/{id}

Response samples

application/json
Copy
Expand all Collapse all
{}

Deletes a content by id

path Parameters
id
required
integer

The id of content

Responses

200

successful operation

404

Content not found

delete /content/{id}
/api/v1/content/{id}

Container

API to access and manage content containers.

Find all content 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

200

successful operation

get /content/container
/api/v1/content/container

Response samples

application/json
Copy
Expand all Collapse all
{
  • "total": 76,
  • "page": 1,
  • "pages": 8,
  • "links":
    {
    },
  • "results":
    [
    ]
}

Tags

Group API