You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
739 B
YAML
30 lines
739 B
YAML
4 years ago
|
get:
|
||
|
tags:
|
||
|
- categories
|
||
|
summary: Get mods for a category
|
||
|
description: >
|
||
|
This route returns an array of uids that correspond to the moderators
|
||
|
for the category in question.
|
||
|
parameters:
|
||
|
- name: cid
|
||
|
description: The category identifier for the category you wish to look up
|
||
|
in: path
|
||
|
required: true
|
||
|
schema:
|
||
|
type: number
|
||
|
example: 1
|
||
|
responses:
|
||
|
"200":
|
||
|
description: An array of moderators for the requested category
|
||
|
content:
|
||
|
application/json:
|
||
|
schema:
|
||
|
type: object
|
||
|
properties:
|
||
|
moderators:
|
||
|
type: array
|
||
|
example:
|
||
|
moderators:
|
||
|
- 1
|
||
|
- 2
|
||
|
- 3
|