From c4d141ec946134dd5f06011c1c61d9a1e08b3f81 Mon Sep 17 00:00:00 2001 From: Ayomide Date: Mon, 14 Jul 2025 23:51:34 +0100 Subject: [PATCH] update docs --- docs/API_Documentation.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/API_Documentation.md b/docs/API_Documentation.md index d3f6dc5..8a781c8 100644 --- a/docs/API_Documentation.md +++ b/docs/API_Documentation.md @@ -1,6 +1,13 @@ -git init -git checkout -b main -git add README.md -git commit -m "initial commit" -git remote add origin http://23.29.118.76:3000/ayomide/ds_task_scp.git -git push -u origin main \ No newline at end of file +## API Endpoints + +```yaml +POST /upload-document + - Uploads a document for analysis + - Returns document ID for tracking + +GET /document/{doc_id}/analysis + - Retrieves the compliance report for a document + +POST /document/{doc_id}/resubmit + - Allows resubmission of a revised document +```