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

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

PrefixNamespace IRI
dctermshttp://purl.org/dc/terms/
n20http://demo.openlinksw.com/ods/oauth_test.
atomhttp://atomowl.org/ontologies/atomrdf#
n9http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleAddressbook/oa3.
foafhttp://xmlns.com/foaf/0.1/
n25http://vos.openlinksw.com/dataspace/services/wiki/
n14http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleAddressbook/o1.
oplhttp://www.openlinksw.com/schema/attribution#
n2http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/
dchttp://purl.org/dc/elements/1.1/
n17http://vos.openlinksw.com/dataspace/dav#
rdfshttp://www.w3.org/2000/01/rdf-schema#
n24http://rdfs.org/sioc/services#
n7http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleAddressbook/oa2.
n11http://vos.openlinksw.com/dataspace/person/dav#
siocthttp://rdfs.org/sioc/types#
n22http://vos.openlinksw.com/dataspace/owiki/wiki/VOS/VirtOAuthTestToolExampleAddressbook/sioc.
n8http://vos.openlinksw.com/dataspace/owiki/wiki/
rdfhttp://www.w3.org/1999/02/22-rdf-syntax-ns#
n5http://demo.openlinksw.com/
n18http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleAddressbook/oa4.
n4http://vos.openlinksw.com/dataspace/owiki#
n15http://vos.openlinksw.com/wiki/main/VOS/VirtOAuthTestToolExampleAddressbook/oa1.
xsdhhttp://www.w3.org/2001/XMLSchema#
n27http://demo.openlinksw.com/ods/
n12http://vos.openlinksw.com/dataspace/%28NULL%29/wiki/VOS/
n16http://vos.openlinksw.com/dataspace/person/owiki#
siochttp://rdfs.org/sioc/ns#
Subject Item
n2:VirtOAuthTestToolExampleAddressbook
rdf:type
sioct:Comment atom:Entry
dcterms:created
2017-06-13T05:38:26.759918
dcterms:modified
2017-06-13T05:38:26.759918
rdfs:label
VirtOAuthTestToolExampleAddressbook
foaf:maker
n11:this n16:this
dc:title
VirtOAuthTestToolExampleAddressbook
opl:isDescribedUsing
n22:rdf
sioc:has_creator
n4:this n17:this
sioc:attachment
n7:png n9:png n14:png n15:png n18:png
sioc:content
%VOSWARNING% ---++Addressbook OAuth REST API Example performed with the Virtuoso OAuth Testing Tool The following example demonstrates creating and getting contact info by the ODS REST APIs *addressbook.new* and *addressbook.get* using the OAuth Test Tool. Full list of the ODS REST APIs for ODS Addressbook you can find [[VirtuosoOdsControllersAddressbook][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 Addressbook instance or create such in not existing. For ex.: e0a49e54603740f67f8b8f3f58651ad772dc9b44 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*: e0a49e54603740f67f8b8f3f58651ad772dc9b44 1. *API method*: addressbook.new 1. *API parameters*: inst_id=36&name=TEST * 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 demo's AddressBook </verbatim> 1. Select for *Query options*: "Generate URI and Submit". * <img src="%ATTACHURLPATH%/oa1.png" style="wikiautogen"/> 1. Click the "Execute" button. 1. In the shown authorization form click the "Authorize" button. * <img src="%ATTACHURLPATH%/oa2.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 contact will be: 1046 * <img src="%ATTACHURLPATH%/oa3.png" style="wikiautogen"/> 1. Now lets get the data for the created contact. In the form enter: 1. *API method*: addressbook.get 1. *API parameters*: contact_id=1046 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 contact with the given above id. * <img src="%ATTACHURLPATH%/oa4.png" style="wikiautogen"/> CategoryAddressBook CategoryODS
sioc:id
794bd6fe91641db77242e5f6cc64671c
sioc:link
n2:VirtOAuthTestToolExampleAddressbook
sioc:has_container
n8:VOS
n24:has_services
n25:item
atom:title
VirtOAuthTestToolExampleAddressbook
sioc:links_to
n5:ods n2:VirtuosoOdsControllersAddressbook n12:CategoryODS n12:VirtuosoOdsUbiquity n20:vsp n12:CategoryAddressBook n27:api
atom:source
n8:VOS
atom:author
n11:this
atom:published
2017-06-13T05:38:26Z
atom:updated
2017-06-13T05:38:26Z
sioc:topic
n8:VOS