AILIXIR Bot commited on
Commit
1c05d42
·
1 Parent(s): 24d08b9

Auto-sync: e981839a66ced90e9b9ca8c9f6f9cccb14ef64e9

Browse files
Files changed (1) hide show
  1. API.md +10 -12
API.md CHANGED
@@ -1413,11 +1413,9 @@ curl -X POST "{base_url}/api/docking/submit" \\
1413
  "created_at": "2026-06-17T05:45:31+00:00",
1414
  "download_url": "{base_url}/api/docking/download/5",
1415
  "scores": [
1416
- {"pose": 1, "affinity": -6.469},
1417
- {"pose": 2, "affinity": -6.337},
1418
- {"pose": 3, "affinity": -6.163},
1419
- {"pose": 4, "affinity": -6.079},
1420
- {"pose": 5, "affinity": -5.983}
1421
  ]
1422
  }
1423
  ```
@@ -1447,11 +1445,9 @@ If the job is not completed, `scores` will be an empty array.
1447
  "created_at": "2026-06-17T05:45:31+00:00",
1448
  "download_url": "{base_url}/api/docking/download/5",
1449
  "scores": [
1450
- {"pose": 1, "affinity": -6.469},
1451
- {"pose": 2, "affinity": -6.337},
1452
- {"pose": 3, "affinity": -6.163},
1453
- {"pose": 4, "affinity": -6.079},
1454
- {"pose": 5, "affinity": -5.983}
1455
  ]
1456
  }
1457
  ],
@@ -1469,10 +1465,12 @@ If the job is not completed, `scores` will be an empty array.
1469
 
1470
  ### GET `/api/docking/download/{id}`
1471
 
1472
- - Auth required
1473
  - Path parameter:
1474
  - `id` (integer)
1475
- - Returns a file download for the completed docking result.
 
 
 
1476
  - Content disposition filename: `docking_result_{id}.pdbqt`
1477
 
1478
  ---
 
1413
  "created_at": "2026-06-17T05:45:31+00:00",
1414
  "download_url": "{base_url}/api/docking/download/5",
1415
  "scores": [
1416
+ {"affinity": 0, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031},
1417
+ {"affinity": 0, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031},
1418
+ {"affinity": 0.001, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031}
 
 
1419
  ]
1420
  }
1421
  ```
 
1445
  "created_at": "2026-06-17T05:45:31+00:00",
1446
  "download_url": "{base_url}/api/docking/download/5",
1447
  "scores": [
1448
+ {"affinity": 0, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031},
1449
+ {"affinity": 0, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031},
1450
+ {"affinity": 0.001, "inter": 0, "intra": -2.031, "torsions": 0, "unbound": -2.031}
 
 
1451
  ]
1452
  }
1453
  ],
 
1465
 
1466
  ### GET `/api/docking/download/{id}`
1467
 
 
1468
  - Path parameter:
1469
  - `id` (integer)
1470
+ - Query parameter (instead of Bearer header for browser link clicks):
1471
+ - `token` (string, required) — Sanctum token
1472
+ - Accepts `Authorization: Bearer` header or `?token=` query parameter.
1473
+ - Returns a file download for the completed docking result (multi-model PDBQT with all poses).
1474
  - Content disposition filename: `docking_result_{id}.pdbqt`
1475
 
1476
  ---