Not logged in : Login

About: VirtOAuthTestToolExampleBriefcase     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtOAuthTestToolExampleBriefcase
maker
Title
  • VirtOAuthTestToolExampleBriefcase
isDescribedUsing
has creator
content
  • %VOSWARNING% ---++Briefcase OAuth REST API Example performed with the Virtuoso OAuth Testing Tool The following example demonstrates adding a resource and getting resource info by the ODS REST APIs <b><code>briefcase.resource.store</code></b> and <b><code>briefcase.resource.get</code></b> using the OAuth Test Tool. A full list of the ODS REST APIs for ODS-Briefcase is found [[../ODS/VirtuosoOdsControllersBriefcase][elsewhere]]. 1. Go to <code>[[http://demo.openlinksw.com/ods][http://demo.openlinksw.com/ods]]</code> 1. Log in as user <code>demo</code> with password <code>demo</code> 1. Go to <b>Settings</b> -> <b>OAuth Keys</b> %BR%%BR%<img src="%ATTACHURLPATH%/o1.png" style="wikiautogen"/>%BR%%BR% 1. Copy the <b>Token</b> value for a Briefcase instance, or create one if none exist. For example: 32e2a8fdddb69cb76b0e8309c42e5a7d008fdefc 1. Go to <code>[[http://demo.openlinksw.com/ods/oauth_test.vsp][http://demo.openlinksw.com/ods/oauth_test.vsp]]</code> 1. Complete the form as follows &mdash; * *Server*: <code><nowiki>http://demo.openlinksw.com/ods/api</nowiki></code> * *Consumer Key*: <code>32e2a8fdddb69cb76b0e8309c42e5a7d008fdefc</code> * *API method*: <code>briefcase.resource.store</code> * *API parameters*: <code>path=/DAV/home/demo/Public/mytest&content=TEST</code> * *Query options*: choose <b><code>Generate URI and Submit</code></b> from the menu %BR%%BR%<img src="%ATTACHURLPATH%/obf1.png" style="wikiautogen"/>%BR%%BR% 1. Click the <b>Execute</b> button. 1. Click the <b>Authorize</b> button. %BR%%BR%<img src="%ATTACHURLPATH%/obf2.png" style="wikiautogen"/>%BR%%BR% 1. The generated URI and the output message from executing the ODS REST API will be shown. In our case, the ID of the newly created resource will be: <code>110997</code> %BR%%BR%<img src="%ATTACHURLPATH%/obf3.png" style="wikiautogen"/>%BR%%BR% 1. Now let's get the data for the created resource. Complete the form as follows &mdash; * *API method*: <code>briefcase.resource.get</code> * *API parameters*: <code>path=/DAV/home/demo/Public/mytest</code> * *Query options*: choose <b><code>Generate URI and Submit</code></b> from the menu 1. Click the <b>Execute</b> button. 1. The <b>Response Body</b> text-area will show the retrieved content for the resource with the given ID. %BR%%BR%<img src="%ATTACHURLPATH%/obf4.png" style="wikiautogen"/>%BR%%BR% CategoryBriefcase CategoryODS CategoryOdsBriefcase CategoryTutorial CategoryOAuth CategoryDocumentation
id
  • 8fcf66f34c2c43030a52a09a712c27af
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtOAuthTestToolExampleBriefcase
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:36:27Z
atom:updated
  • 2017-06-13T05:36:27Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3238 as of May 23 2023, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 3 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software