President of the provided year
GET
/api/v1/President/year/{year}
This endpoint returns the president or presidents in the provided year
Parameters
Path Parameters
year*
Typeinteger
RequiredExample
2023Format
"int32"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]"
}
]