Skip to main content

List All Education

Authentication Required: This endpoint requires a valid JWT token.
GET /api/me/education
Retrieve all education entries for the authenticated user.

Response

status
string
Response status (“success” or “error”)
message
string
Response message
data
array
Array of education entries
id
long
Education entry ID
institution
string
Educational institution name
degree
string
Degree or qualification obtained
field
string
Field of study
startDate
string
Start date (ISO 8601 format: YYYY-MM-DD)
endDate
string
End date (ISO 8601 format: YYYY-MM-DD)
description
string
Additional details about the education
curl -X GET https://api.portfoliohub.com/api/me/education \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Get Education by ID

Authentication Required: This endpoint requires a valid JWT token.
GET /api/me/education/{id}
Retrieve a specific education entry by ID.

Path Parameters

id
long
required
Education entry ID

Response

status
string
Response status (“success” or “error”)
message
string
Response message
data
object
Education entry details (same structure as list items)
curl -X GET https://api.portfoliohub.com/api/me/education/1 \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Create Education

Authentication Required: This endpoint requires a valid JWT token.
POST /api/me/education
Create a new education entry.

Request Body

institution
string
required
Educational institution name (max 150 characters)
degree
string
required
Degree or qualification obtained (max 150 characters)
field
string
Field of study (max 150 characters)
startDate
string
required
Start date in ISO 8601 format (YYYY-MM-DD)
endDate
string
End date in ISO 8601 format (YYYY-MM-DD)
description
string
Additional details about the education (max 65535 characters)

Response

status
string
Response status (“success” or “error”)
message
string
Response message
data
object
Created education entry
curl -X POST https://api.portfoliohub.com/api/me/education \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "institution": "Stanford University",
    "degree": "Bachelor of Science",
    "field": "Computer Science",
    "startDate": "2015-09-01",
    "endDate": "2019-06-15",
    "description": "Focus on software engineering and artificial intelligence"
  }'

Update Education

Authentication Required: This endpoint requires a valid JWT token.
PUT /api/me/education/{id}
Update an existing education entry.

Path Parameters

id
long
required
Education entry ID to update

Request Body

institution
string
required
Educational institution name (max 150 characters)
degree
string
required
Degree or qualification obtained (max 150 characters)
field
string
Field of study (max 150 characters)
startDate
string
required
Start date in ISO 8601 format (YYYY-MM-DD)
endDate
string
End date in ISO 8601 format (YYYY-MM-DD)
description
string
Additional details about the education (max 65535 characters)

Response

status
string
Response status (“success” or “error”)
message
string
Response message
data
object
Updated education entry
curl -X PUT https://api.portfoliohub.com/api/me/education/1 \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "institution": "Stanford University",
    "degree": "Master of Science",
    "field": "Computer Science",
    "startDate": "2019-09-01",
    "endDate": "2021-06-15",
    "description": "Specialization in machine learning and distributed systems"
  }'

Delete Education

Authentication Required: This endpoint requires a valid JWT token.
DELETE /api/me/education/{id}
Delete an education entry.

Path Parameters

id
long
required
Education entry ID to delete

Response

status
string
Response status (“success” or “error”)
message
string
Response message
data
null
No data returned on successful deletion
curl -X DELETE https://api.portfoliohub.com/api/me/education/1 \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Build docs developers (and LLMs) love