NewsFlash v3
NewsFlash v3 · Actions GPT
Latest News API
POST /webhooks/rest/webhookGet latest news
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Latest News API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://bison-fancy-rhino.ngrok-free.app",
"description": "Latest News"
}
],
"paths": {
"/webhooks/rest/webhook": {
"post": {
"operationId": "send_user_query",
"x-openai-isConsequential": false,
"summary": "Get latest news",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"sender": {
"type": "string",
"example": "some_user"
},
"message": {
"type": "string",
"example": "user query"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"recipient_id": {
"type": "string",
"example": "test_user"
},
"custom": {
"type": "object",
"properties": {
"text": {
"type": "string",
"example": "some response"
}
}
}
}
}
}
}
}
}
}
}
}
}
}