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.

25 lines
633 B
YAML

get:
tags:
- posts
summary: Get recent posts
parameters:
- name: term
in: path
required: true
schema:
type: string
example: day
description: term is used to limit the returned posts to a specific term. Valid values are day, week, month. If you don't pass it in all posts will be returned.
- name: page
in: query
required: false
schema:
type: number
example: page=1
responses:
"200":
description: ""
content:
application/json:
schema:
$ref: ../../../components/schemas/PostsObject.yaml#/PostsObject