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

View file

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