====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
api4kb_persistent_storage [2013/03/17 15:53] rmbell |
api4kb_persistent_storage [2013/03/17 16:04] rmbell |
||
---|---|---|---|
Line 35: | Line 35: | ||
CreateKB( | CreateKB( | ||
- | in URI/URL knowledgeBase, - the desired URI to associate to the (new) KB | + | in URI/URL knowledgeBase, : the desired URI to associate to the (new) KB |
- | out URL/URI effectiveKnowledgeBaseURI - the URI assigned to the (new) KB | + | out URL/URI effectiveKnowledgeBaseURI : the URI assigned to the (new) KB |
); | ); | ||
Post-condition : Ensures that a knowledgeBase exists for the given URI (at the given URL??) | Post-condition : Ensures that a knowledgeBase exists for the given URI (at the given URL??) | ||
+ | |||
REST mapping : POST | REST mapping : POST | ||
Creates a new knowledge base and associates it to the given URI. If the knowledge base already exists, its URI is returned. | Creates a new knowledge base and associates it to the given URI. If the knowledge base already exists, its URI is returned. | ||
+ | |||
TODO: discuss the use of URIs vs URLs | TODO: discuss the use of URIs vs URLs | ||
Line 100: | Line 102: | ||
in URL exportLocation, : the location where the resource should be exported | in URL exportLocation, : the location where the resource should be exported | ||
in Descr resourceDescriptor, : metadata to guide the export process | in Descr resourceDescriptor, : metadata to guide the export process | ||
- | |||
out TODO ); | out TODO ); | ||