EMSI.ME
EMSI.ME · Acciones GPT
Emsi Blog
API to fetch posts from the past week from the Emsi WordPress blog
GET /postsFetch Posts from the Past WeekRetrieve posts from the past week from the Emsi WordPress blog.
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "Emsi Blog",
"description": "API to fetch posts from the past week from the Emsi WordPress blog",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://www.emsi.me/wp-json/wp/v2"
}
],
"paths": {
"/posts": {
"get": {
"summary": "Fetch Posts from the Past Week",
"description": "Retrieve posts from the past week from the Emsi WordPress blog.",
"operationId": "getPosts",
"parameters": [
{
"name": "after",
"in": "query",
"description": "Limit response to posts published after this date",
"required": false,
"schema": {
"type": "string",
"format": "date-time"
}
},
{
"name": "_fields",
"in": "query",
"description": "Fields to return in the response",
"required": true,
"schema": {
"type": "string",
"default": "link,title,content"
}
}
]
}
}
},
"components": {
"schemas": {
"Post": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"content": {
"type": "string"
},
"link": {
"type": "string"
}
}
}
}
}
}