diff --git a/.buildinfo b/.buildinfo
index 1f1cce2..3f278d7 100644
--- a/.buildinfo
+++ b/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 0efed8557f8133d9c383ee8226a85d1b
+config: afbcf7aded2e537b923522727bc31739
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/_modules/index.html b/_modules/index.html
index fd2c5fb..cb5d37e 100644
--- a/_modules/index.html
+++ b/_modules/index.html
@@ -5,7 +5,7 @@
-
+[docs]
+deflist_registered_directories(url:str,user:Optional[Union[str,bool]]=None):
+"""
+ List all registered directories in the SewerRat instance.
+
+ Args:
+ url:
+ URL to the SewerRat REST API.
+
+ user:
+ Name of a user, used to filter the returned directories based on
+ the user who registered them. Alternatively True, to automatically
+ use the name of the current user.
+
+ Returns:
+ List of objects where each object corresponds to a registered directory
+ and contains the `path` to the directory, the `user` who registered it,
+ the Unix epoch `time` of the registration, and the `names` of the
+ metadata files to be indexed.
+ """
+ ifuser==True:
+ importgetpass
+ user=getpass.getuser()
+
+ url+="/registered"
+ ifnotuserisNoneanduser!=False:
+ url+="?user="+user
+
+ res=requests.get(url)
+ ifres.status_code>=300:
+ raiseut.format_error(res)
+ returnres.json()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/_modules/sewerrat/query.html b/_modules/sewerrat/query.html
index afe1dbf..ecb291a 100644
--- a/_modules/sewerrat/query.html
+++ b/_modules/sewerrat/query.html
@@ -5,7 +5,7 @@
- sewerrat.query - SewerRat 0.0.post1.dev1+g0462be7 documentation
+ sewerrat.query - SewerRat 0.0.post1.dev1+g0453375 documentation
@@ -165,7 +165,7 @@