nodebb/public/openapi/read/topic/teaser/topic_id.yaml

18 lines
418 B
YAML

get:
tags:
- topics
summary: Get a topic's teaser post
parameters:
- name: topic_id
in: path
required: true
schema:
type: string
example: 1
responses:
"200":
description: "A JSON object containing the teaser post for a topic"
content:
application/json:
schema:
$ref: ../../../components/schemas/PostsObject.yaml#/PostsObject