API REFERANSI
Dosya yükle
Belirli bir form sorusu için ham özgeçmiş veya ek baytlarını yükleyin.
Bu sayfada
POST
/api/auth/public/v1/jobs/{job_id}/application-files/{question_id}Bu uç nokta nasıl kullanılır
Kimlik doğrulama
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>Parametreler
Yol parametreleri
job_idZorunluquestion_idZorunluSorgu parametreleri
posting_idİsteğe bağlıfilenameİsteğe bağlıBaşlık parametreleri
X-Karwa-Application-TokenZorunluİstek gövdesi
İstek örneği
curl --fail-with-body -X POST "$KARWA_API_BASE/jobs/$JOB_ID/application-files/$QUESTION_ID?posting_id=$POSTING_ID&filename=cv.pdf" \
-H "X-Karwa-App-Key: $KARWA_APP_KEY" \
-H "Authorization: Bearer $KARWA_SECRET_KEY" \
-H "X-Karwa-Application-Token: $APPLICATION_TOKEN" \
-H "Content-Type: application/pdf" \
--data-binary @cv.pdfYanıt
tokenZorunlufilenameZorunlucontent_typeZorunlusize_bytesZorunlu
{
"token": "<UPLOAD_TOKEN>",
"filename": "cv.pdf",
"content_type": "application/pdf",
"size_bytes": 12345
}Hatalar ve kurtarma
- 401
- 403
- 404
- 413
- 422
- 429
- 503
{
"detail": "Invalid API key"
}