Research Paper Explorer

Research Paper Explorer · Acciones GPT

Combined Scientific Paper Services

APIs for retrieving scientific papers from arXiv and processing papers using GROBID

  • GET /arxiv-papersgetArxivPapers

    Retrieve papers from arXiv

  • POST /process-paperprocessPaper

    Processes a paper from a provided URL

  • GET /hello

    Basic greeting endpoint

Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Combined Scientific Paper Services",
    "description": "APIs for retrieving scientific papers from arXiv and processing papers using GROBID",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://paiper-415e4acba334.herokuapp.com/"
    }
  ],
  "paths": {
    "/arxiv-papers": {
      "get": {
        "description": "Retrieve papers from arXiv",
        "operationId": "getArxivPapers",
        "parameters": [
          {
            "name": "search_query",
            "in": "query",
            "description": "The query string to search for, e.g., 'all:electron'",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with arXiv paper data in Atom XML format",
            "content": {
              "application/atom+xml": {
                "schema": {
                  "type": "string",
                  "example": "<?xml version=\"1.0\" encoding=\"utf-8\"?><feed>...</feed>"
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid or missing search query"
          }
        }
      }
    },
    "/process-paper": {
      "post": {
        "description": "Processes a paper from a provided URL",
        "operationId": "processPaper",
        "requestBody": {
          "description": "JSON object containing the URL of the paper",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "The URL of the paper to process"
                  }
                },
                "required": [
                  "url"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response with processed XML data"
          },
          "400": {
            "description": "Bad request due to invalid URL or missing URL parameter"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    },
    "/": {
      "get": {
        "description": "Basic greeting endpoint",
        "operationId": "hello",
        "responses": {
          "200": {
            "description": "Returns a Hello greeting"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}