Journalist Connector by Reporters.io
Journalist Connector by Reporters.io · GPT Actions
Reporters.IO API
GET /api/agentList all journalists
Original API schema
{
"openapi": "3.0.0",
"info": {
"version": "1.0.0",
"title": "Reporters.IO API",
"license": {
"name": "MIT"
}
},
"servers": [
{
"url": "https://reporters.io"
}
],
"paths": {
"/api/agent": {
"get": {
"summary": "List all journalists",
"operationId": "listJournalists",
"xOpenaiIsConsequential": true,
"tags": [
"journalists"
],
"parameters": [
{
"name": "query",
"in": "query",
"description": "Query to search for journalists",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "recentPostsCount",
"in": "query",
"description": "Numer of recent articles to return for each journalist",
"required": false,
"schema": {
"type": "numer"
}
}
],
"responses": {
"200": {
"description": "An array of journalists",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Journalists"
}
}
}
},
"default": {
"description": "Unexpected error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"Journalist": {
"type": "object",
"required": [
"name",
"bio"
],
"properties": {
"name": {
"type": "string"
},
"bio": {
"type": "string"
},
"recentPosts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Post"
}
}
}
},
"Post": {
"type": "object",
"required": [
"title",
"link"
],
"properties": {
"title": {
"type": "string"
},
"link": {
"type": "string"
}
}
},
"Journalists": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Journalist"
}
},
"Error": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
}
}
}
}
}
}