-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequests.http
More file actions
118 lines (87 loc) · 4.58 KB
/
Copy pathrequests.http
File metadata and controls
118 lines (87 loc) · 4.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# CV Processor API — example requests
# Requires the VS Code "REST Client" extension (humao.rest-client)
# Run locally: cd backend && flask run --port 5000
# Run via Docker: docker compose up
@base = http://localhost:5000/api
@token = 398fe2ec-ca9f-4d0a-82f1-6db6f9465277
# ─────────────────────────────────────────
# HEALTH
# ─────────────────────────────────────────
### Health check (no auth required)
GET {{base}}/health
# ─────────────────────────────────────────
# JOBS — list & detail
# ─────────────────────────────────────────
### List all jobs (first page, 10 per page)
GET {{base}}/jobs
Authorization: Bearer {{token}}
###
### List jobs — filter by industry
GET {{base}}/jobs?industry=Information Technology&page=1&limit=10
Authorization: Bearer {{token}}
###
### List jobs — Marketing domain
GET {{base}}/jobs?industry=Marketing&page=1&limit=10
Authorization: Bearer {{token}}
###
### List jobs — Finance domain
GET {{base}}/jobs?industry=Finance&page=1&limit=10
Authorization: Bearer {{token}}
###
### Get a single job by ID
GET {{base}}/jobs/IT00001
Authorization: Bearer {{token}}
###
### Get a Marketing job by ID
GET {{base}}/jobs/MK00003
Authorization: Bearer {{token}}
###
### Get a Finance job by ID
GET {{base}}/jobs/FN00002
Authorization: Bearer {{token}}
# ─────────────────────────────────────────
# MATCH — CV against a job description
# ─────────────────────────────────────────
### Match — IT candidate against Backend Engineer (IT00001)
POST {{base}}/match
Authorization: Bearer {{token}}
Content-Type: application/json
{
"job_id": "IT00001",
"candidate_id": "CV-IT-001",
"candidate_name": "Budi Santoso",
"cv_text": "Budi Santoso adalah seorang Backend Engineer dengan pengalaman 4 tahun. Pendidikan: S1 Ilmu Komputer, Universitas Indonesia (2020). Keahlian: Golang, Python, PostgreSQL, Redis, Docker, Kubernetes, REST API, gRPC, Kafka, unit testing. Pengalaman: Backend Engineer di PT Startup Teknologi (2020–sekarang) — membangun microservices dengan Golang, mengelola PostgreSQL dan Redis, deployment di Kubernetes. Sertifikasi: CKA (Certified Kubernetes Application Developer)."
}
###
### Match — Marketing candidate against Digital Marketing Specialist (MK00001)
POST {{base}}/match
Authorization: Bearer {{token}}
Content-Type: application/json
{
"job_id": "MK00001",
"candidate_id": "CV-MK-001",
"candidate_name": "Siti Rahayu",
"cv_text": "Siti Rahayu, Digital Marketing professional dengan pengalaman 3 tahun. Pendidikan: S1 Ilmu Komunikasi, Universitas Gadjah Mada (2021). Keahlian: SEO, SEM, Google Ads, Meta Ads, Google Analytics, Content Marketing, Hootsuite, SEMrush, A/B Testing. Sertifikasi: Google Ads Search Certification, Meta Blueprint. Pengalaman: Digital Marketing Specialist di PT E-Commerce Indonesia (2021–sekarang) — mengelola kampanye Google Ads dan Meta Ads dengan budget IDR 200 juta/bulan, meningkatkan organic traffic 40% melalui SEO optimization."
}
###
### Match — Finance candidate against Financial Analyst (FN00001)
POST {{base}}/match
Authorization: Bearer {{token}}
Content-Type: application/json
{
"job_id": "FN00001",
"candidate_id": "CV-FN-001",
"candidate_name": "Andi Wijaya",
"cv_text": "Andi Wijaya, lulusan S1 Akuntansi Universitas Padjadjaran 2020, IPK 3.7. Pengalaman 3 tahun sebagai Financial Analyst di PT Konsultan Keuangan Nusantara. Keahlian: Financial Modeling, Excel advanced (VBA, Power Query), SQL, Power BI, analisis laporan keuangan IFRS dan PSAK, Bloomberg Terminal. Pernah menyusun DCF valuation untuk 5 proyek M&A senilai total IDR 2 triliun. Sertifikasi CFA Level 1 (passed)."
}
###
### Match — low-match scenario: IT candidate against Finance job (FN00003)
POST {{base}}/match
Authorization: Bearer {{token}}
Content-Type: application/json
{
"job_id": "FN00003",
"candidate_id": "CV-IT-002",
"candidate_name": "Dian Pratiwi",
"cv_text": "Dian Pratiwi, Frontend Developer dengan pengalaman 2 tahun. Pendidikan: S1 Teknik Informatika. Keahlian: React, TypeScript, Next.js, Tailwind CSS, Redux, REST API. Pengalaman membangun UI untuk aplikasi mobile banking. Tidak memiliki latar belakang keuangan atau investasi."
}