This HTML5 document contains 35 embedded RDF statements represented using HTML+Microdata notation.

The embedded RDF content will be recognized by any processor of HTML5 Microdata.

Namespace Prefixes

PrefixIRI
dctermshttp://purl.org/dc/terms/
atomhttp://atomowl.org/ontologies/atomrdf#
foafhttp://xmlns.com/foaf/0.1/
n21http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtOAuthTestToolExampleBookmarks/
n13http://vos.openlinksw.com/dataspace/services/wiki/
n14http://www.openlinksw.com/blog/
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n11http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleBookmarks/
n23http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n12http://rdfs.org/sioc/services#
n18http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n10http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n8http://demo.openlinksw.com/
n22http://vos.openlinksw.com/dataspace/owiki#
xsdhhttp://www.w3.org/2001/XMLSchema#
n7http://demo.openlinksw.com/ods/
n5http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n17http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#

Statements

Subject Item
n2:VirtOAuthTestToolExampleBookmarks
rdf:type
atom:Entry sioct:Comment
dcterms:created
2017-06-13T05:41:59.618015
dcterms:modified
2017-06-13T05:41:59.618015
rdfs:label
VirtOAuthTestToolExampleBookmarks
foaf:maker
n17:this n18:this
dc:title
VirtOAuthTestToolExampleBookmarks
opl:isDescribedUsing
n21:sioc.rdf
sioc:has_creator
n22:this n23:this
sioc:attachment
n11:ob3.png n11:ob4.png n11:ob1.png n11:ob2.png n11:o1.png
sioc:content
%VOSWARNING% ---++Bookmark OAuth REST API Example performed with the Virtuoso OAuth Testing Tool The following example demonstrates adding and getting bookmark info by the ODS REST APIs *bookmark.new* and *bookmark.get* using the OAuth Test Tool. Full list of the ODS REST APIs for ODS Bookmark you can find [[VirtuosoOdsControllersBookmarks][here]]. 1. Go to http://demo.openlinksw.com/ods 1. Log in as user demo with password demo 1. Go to Settings->OAuth Keys * <img src="%ATTACHURLPATH%/o1.png" style="wikiautogen"/> 1. Copy the Token value for an Bookmark instance or create such in not existing. For ex.: 3c9dc72d97a67e4f4dbd5d36e4dae0bda32ebdf1 1. Go to http://demo.openlinksw.com/ods/oauth_test.vsp 1. In the shown form enter for: 1. *Server*: http://demo.openlinksw.com/ods/api 1. *Consumer Key*: 3c9dc72d97a67e4f4dbd5d36e4dae0bda32ebdf1 1. *API method*: bookmark.new 1. *API parameters*: inst_id=7&uri=http://www.openlinksw.com/blog/~kidehen&name=Kingsley Idehen's Weblog * An easy way to get the instance id is using the [[VirtuosoOdsUbiquity][ODS ubiquity commands]] sequence: <verbatim> ods-host http://demo.openlinksw.com/ods ods-set-mode sid ods-authenticate-user demo password demo ods-get-instance-id mybookmarks </verbatim> 1. Select for *Query options*: "Generate URI and Submit". * <img src="%ATTACHURLPATH%/ob1.png" style="wikiautogen"/> 1. Click the "Execute" button. 1. Enter the password for user demo and click the "Login" button. 1. In the shown authorization form click the "Authorize" button. * <img src="%ATTACHURLPATH%/ob2.png" style="wikiautogen"/> 1. As result will be shown the generated URI and the output message of executing the ODS REST API. In our case, the id of the new created bookmark will be: 1989 * <img src="%ATTACHURLPATH%/ob3.png" style="wikiautogen"/> 1. Now lets get the data for the created bookmark. In the form enter: 1. *API method*: bookmark.get 1. *API parameters*: bookmark_id=1989 1. Select for *Query options*: "Generate URI and Submit". 1. Click the "Execute" button. 1. As result in the "Response Body" text-area will be shown the retrieved details for the bookmark with the given above id. * <img src="%ATTACHURLPATH%/ob4.png" style="wikiautogen"/> CategoryBookmark CategoryODS
sioc:id
23ddc204192f432d6dbaa4766867bb9c
sioc:link
n2:VirtOAuthTestToolExampleBookmarks
sioc:has_container
n10:VOS
n12:has_services
n13:item
atom:title
VirtOAuthTestToolExampleBookmarks
sioc:links_to
n5:CategoryBookmark n5:VirtuosoOdsUbiquity n7:oauth_test.vsp n8:ods n7:api n5:VirtuosoOdsControllersBookmarks n14: n2:CategoryODS
atom:source
n10:VOS
atom:author
n18:this
atom:published
2017-06-13T05:41:59Z
atom:updated
2017-06-13T05:41:59Z
sioc:topic
n10:VOS