diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-12-12 19:54:02 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-12-13 20:52:08 +0100 |
commit | 7843914666b8f8e81011e0f819b1d9b9abff6214 (patch) | |
tree | ec0850ef85d52ba3bdf430daec1941f5493e737b | |
parent | cb03c76b804c7e4edd14c71d55eefe7a5a7ebef8 (diff) | |
download | tracker-wip/carlosg/http-endpoint.tar.gz |
docs: Document --http-port/--loopback options in endpoint manpagewip/carlosg/http-endpoint
-rw-r--r-- | docs/manpages/tracker-endpoint.1.txt | 18 |
1 files changed, 18 insertions, 0 deletions
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), |