PHPeerTube - A PHP‑based federated video platform, inspired by PeerTube.

Copyright (C) 2025 Lucentinian Works Co Ltd

Public Category API Examples

This document provides curl examples for retrieving approved video categories using the public API.

List all approved categories

curl -X GET \
  http://localhost/categories \
  -H 'Accept: application/json'

Get an approved single category by ID

curl -X GET \
  http://localhost/categories/1 \
  -H 'Accept: application/json'