Ansioluettelot
Ansioluettelot
Hallitse ansioluetteloita: listaa, hae, jasenna tiedostoista ja renderoi PDF:ksi.
Listaa ansioluettelot
GET /v1/resumesPalauttaa kaikki tunnistautuneelle kayttajalle kuuluvat ansioluettelot.
Pyynto
curl https://api.laddro.com/v1/resumes \
-H "x-api-key: YOUR_API_KEY"Vastaus
{
"data": [
{
"id": "res_abc123",
"title": "Software Engineer Resume",
"createdAt": "2026-05-01T10:00:00Z",
"updatedAt": "2026-05-02T15:30:00Z"
}
]
}Hae ansioluettelo
GET /v1/resumes/{resumeId}Palauttaa ansioluettelon taydet tiedot kaikkine osioineen.
Parametrit
| Parametri | Tyyppi | Sijainti | Kuvaus |
|---|---|---|---|
resumeId | string | path | Ansioluettelon tunnus |
Pyynto
curl https://api.laddro.com/v1/resumes/res_abc123 \
-H "x-api-key: YOUR_API_KEY"Vastaus
{
"data": {
"id": "res_abc123",
"title": "Software Engineer Resume",
"sections": {
"header": {
"name": "Jane Smith",
"email": "[email protected]",
"phone": "+49 170 1234567",
"location": "Berlin, Germany"
},
"summary": "Experienced software engineer...",
"experience": [...],
"education": [...],
"skills": [...],
"languages": [...]
}
}
}Virheet
| Tila | Kuvaus |
|---|---|
401 | API-avain puuttuu tai on virheellinen |
404 | Ansioluetteloa ei loydy |
Jasenna ansioluettelo
POST /v1/resumes/parseLataa PDF- tai DOCX-tiedosto rakenteisen ansioluettelodatan poimimiseksi. Tiedosto jasennetaan tekoalylla osioiden, paivamaarien ja sisallon tunnistamiseksi.
Pyynto
curl https://api.laddro.com/v1/resumes/parse \
-H "x-api-key: YOUR_API_KEY" \
-F "[email protected]"Parametrit
| Parametri | Tyyppi | Sijainti | Kuvaus |
|---|---|---|---|
file | file | form-data | PDF- tai DOCX-tiedosto (max 10 Mt) |
Vastaus
{
"data": {
"id": "res_def456",
"title": "Parsed Resume",
"sections": {
"header": { ... },
"summary": "...",
"experience": [...],
"education": [...],
"skills": [...]
}
}
}Virheet
| Tila | Kuvaus |
|---|---|
400 | Virheellinen tiedostomuoto (vain PDF/DOCX) |
401 | API-avain puuttuu tai on virheellinen |
402 | Krediitteja ei jaljella |
413 | Tiedosto liian suuri (max 10 Mt) |
Renderoi ansioluettelo PDF:ksi
PUT /v1/resumes/{resumeId}/renderRenderoi ansioluettelon valitulla mallilla ja palauttaa PDF-tiedoston.
Parametrit
| Parametri | Tyyppi | Sijainti | Kuvaus |
|---|---|---|---|
resumeId | string | path | Ansioluettelon tunnus |
templateId | string | body | Kaytettava malli (esim. graphite) |
fontId | string | body | Kaytettava fontti (valinnainen) |
Pyynto
curl https://api.laddro.com/v1/resumes/res_abc123/render \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "templateId": "graphite" }' \
--output resume.pdfVastaus
Palauttaa application/pdf-binaaridatan.
Virheet
| Tila | Kuvaus |
|---|---|
401 | API-avain puuttuu tai on virheellinen |
402 | Krediitteja ei jaljella |
404 | Ansioluetteloa tai mallia ei loydy |