consistency

This commit is contained in:
Kfir Dayan 2023-04-19 15:14:47 +03:00
parent 8b8e79d159
commit f24234d10e

View file

@ -26,9 +26,9 @@ The API is a simple API that serves the results of the crawler.
## GET ## ## GET ##
/sites - Returns a list of all sites /sites - Returns a list of all sites
/sites/:id - Returns the site object for the given site Id /sites/:id - Returns the site object for the given site Id
sites/domain/:domain - Returns the domain object for the given domain /sites/domain/:domain - Returns the domain object for the given domain
## DELETE ## ## DELETE ##
/sites/:id - Deletes the site object for the given site Id /sites/:id - Deletes the site object for the given site Id
sites/domain/:domain - Deletes the domain object for the given domain /sites/domain/:domain - Deletes the domain object for the given domain
## Post ## ## Post ##
sites/:id - Updates the site object for the given site Id /sites/:id - Updates the site object for the given site Id