This commit is contained in:
Kfir Dayan 2023-05-31 13:31:01 +03:00
parent ce6dba0ca4
commit 015be4caa5

View file

@ -48,8 +48,8 @@ ## Configuration
## API Endpoints ## ## API Endpoints ##
GET /api/crawl: Crawls a website and stores the crawled data in the database. Required query parameter: url. Optional query parameter: depth (default: 1). # GET /api/crawl: Crawls a website and stores the crawled data in the database. Required query parameter: url. Optional query parameter: depth (default: 1).
GET /api: Retrieves all crawled data from the database. # GET /api: Retrieves all crawled data from the database.
DELETE /api/crawl/{id}: Deletes a specific crawled data record from the database. # DELETE /api/crawl/{id}: Deletes a specific crawled data record from the database.
DELETE /api/crawl: Deletes all crawled data records from the database. # DELETE /api/crawl: Deletes all crawled data records from the database.