jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "Oak-over-HTTP" by JukkaZitting
Date Fri, 06 Jul 2012 09:32:17 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "Oak-over-HTTP" page has been changed by JukkaZitting:
http://wiki.apache.org/jackrabbit/Oak-over-HTTP

Comment:
Add a page for describing how to access Oak over HTTP (WIP...)

New page:
Oak comes with an HTTP binding that allows you to access and modify content in the repository.
Ultimately our goal is to expose all repository operations through this interface.

NOTE: This page is a work in progress. Feel free to contribute!

== Basic content access ==

Creating a new node:

{{{
$ curl -d foo=bar http://localhost:8080/test
}}}

Accessing an existing node:

{{{
$ curl http://localhost:8080/test
{"foo":"bar"}
}}}

== Namespace registry ==

Registering a new namespace:

{{{
$ curl -d foo=http://foo.example.com/ns http://localhost:8080/jcr:system/jcr:namespaces
}}}

Retrieving the currently registered namespaces:

{{{
$ curl http://localhost:8080/jcr:system/jcr:namespaces
{"foo":"http://foo.example.com/ns"}
}}}

Mime
View raw message