Skip to content

Search presidents by keyword

GET
/api/v1/President/search/{keyword}

This endpoint returns a list of presidents any of the following fields(Name, Description, PoliticalParty,LastName) match the provided keyword

Parameters

Path Parameters

keyword*
Typestring
Required
Example"Rafael"

Responses

Success

application/json
JSON
[
{
"id": 0,
"image": "string",
"name": "string",
"lastName": "string",
"startPeriodDate": "string",
"endPeriodDate": "string",
"politicalParty": "string",
"description": "string",
"cityId": 0,
"city": "[Circular Reference]"
}
]

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

MIT License