Job asinkron
Pola job asinkron (202 Accepted + polling). Status dihitung dari waktu yang berlalu, tanpa worker di latar belakang: queued (2 detik pertama) -> running (progres 0-99%) -> completed | failed (job "fail" mati di 60%) | cancelled. Penyimpanannya di memori, dibatasi 200 job (job non-awal yang paling lama dibuang), dan direset saat restart.
Akun Anda membuka endpoint ini. Pakai Try it di halaman tiap endpoint untuk mengirim request.
Endpoint ini butuh akun gratis. Buat akun atau masuk untuk melihat detailnya dan mencobanya di sini.
- GET
https://api.testingapis.com/api/jobsList all jobs, newest firstList all jobs, newest first. - POST
https://api.testingapis.com/api/jobsStart an asynchronous jobStart an asynchronous job. - GET
https://api.testingapis.com/api/jobs/{id}Get a job's current status and progressGet a job's current status and progress. - DELETE
https://api.testingapis.com/api/jobs/{id}Cancel a queued or running jobCancel a queued or running job. - GET
https://api.testingapis.com/api/jobs/{id}/resultGet the result of a completed jobGet the result of a completed job.
Contoh request
List all jobs, newest first. Referensi lengkap dan tombol Send (dalam bahasa Inggris).
curl -X GET "https://api.testingapis.com/api/jobs"[
{
"id": "job_1001",
"type": "import",
"status": "running",
"progress": 8,
"durationSeconds": 60,
"createdAt": "2026-09-30T18:26:35Z",
"startedAt": "2026-09-30T18:26:37Z",
"finishedAt": null,
"statusUrl": "/api/jobs/job_1001",
"resultUrl": null,
"error": null
},
… (15 more lines)Masuk untuk melihat detailnya
Parameter, contoh request dan response, serta panel Try it langsung untuk endpoint ini khusus anggota yang sudah masuk. Akun gratis dan dibuat dalam beberapa detik.