Body
application/json
Response
Number of participants retrieved successfully
The response is of type any
.
Extracts the number of participants from a PubMed article based on its ID.
Args: request (PubMedRequest): An object containing the PubMed ID.
Returns: dict: A dictionary containing the number of participants.
Raises: HTTPException: If the PubMed ID is invalid or the article is not found.
Number of participants retrieved successfully
The response is of type any
.