API Endpoints
Get abstract
Retrieves the abstract of a PubMed article based on its ID.
Args: request (PubMedRequest): An object containing the PubMed ID.
Returns: dict: A dictionary containing the abstract of the article.
Raises: HTTPException: If the PubMed ID is invalid or the article is not found.
POST
Body
application/json
Response
200
application/json
Abstract retrieved successfully
The response is of type any
.