[tracker/wip/carlosg/http-endpoint: 10/10] docs: Document --http-port/--loopback options in endpoint manpage




commit 598825188d54a5b42452354d33679fe79ab9591d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Dec 12 19:54:02 2020 +0100

    docs: Document --http-port/--loopback options in endpoint manpage

 docs/manpages/tracker-endpoint.1.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/docs/manpages/tracker-endpoint.1.txt b/docs/manpages/tracker-endpoint.1.txt
index d0d894e08..6671ca8c4 100644
--- a/docs/manpages/tracker-endpoint.1.txt
+++ b/docs/manpages/tracker-endpoint.1.txt
@@ -11,6 +11,8 @@ tracker3 endpoint [--dbus-service | -b] <service_name>
                   [--database-path | -d] <database_path>
                   [[--ontology | -o] <ontology_name> |
                    [--ontology-path | -p] <ontology_path>]
+                  [--http-port] <port>
+                  [--loopback]
                   [[--system | --session]]
 ....
 
@@ -48,6 +50,11 @@ The database itself will be stored according to _database_path_.
   Use the system bus.
 *-l, --list*::
   List all SPARQL endpoints available in DBus
+*--http-port*::
+  Creates a HTTP endpoint that listens in the specified port
+*--loopback*::
+  Allows only HTTP connections in the loopback device. Only
+  effective with HTTP endpoints.
 
 == EXAMPLES
 
@@ -63,6 +70,17 @@ Access this endpoint with the *tracker3-sparql(1)* subcommand.
       ?u a ?o
     }"
 
+Export a Nepomuk endpoint via HTTP.
+
+  $ tracker3 endpoint --http-port 8080 -o nepomuk --loopback
+
+Access this endpoint via HTTP.
+
+  $ tracker3 sparql --remote-service http://127.0.0.1:8080/sparql -q "
+    SELECT ?u {
+      ?u a rdfs:Resource
+    }"
+
 == SEE ALSO
 
 *tracker3-sparql*(1),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]