Not logged in : Login
(Sponging disallowed)

About: EntryPoint - briefcase_resource_store     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:EntryPoint, within Data Space : kingsley.idehen.net associated with source document(s)
QRcode icon
http://kingsley.idehen.net/describe/?url=http%3A%2F%2Fkingsley.idehen.net%2FDAV%2FVAD%2FoDrive%2Fwww%2FAPI_briefcase.ttl%23action_briefcase.resource.store

Store a resource/file in the WebDAV system.FIXME: I suppose using magic folders we can also upload RDF content and maybe more. This should be detailed here. path The target path of the newly created resource. content The content of the resource. This parameter can only be used for rather small text files. Any other file content should be sent in the body of an HTTP POST request. type The mimetype of the resource. permissions The permissions of the newly created resource as detailed in Resource Permissions. An error code stating the success of the command execution as detailed in ODS Error Result Codes. Example: $ curl -i "http://kingsley.idehen.net/ods/api/briefcase.resource.store?path=/DAV/home/demo/mysimpletext.xml&content=test&type=xml&user_name=demo&password_hash=5863d9e4cbdf522eaa62e0747fceb1c5b249ba13" HTTP/1.1 200 OK Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64 VDB Connection: Keep-Alive Date: Tue, 10 May 2011 11:47:16 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 61 16795 Success

AttributesValues
type
Description
  • Store a resource/file in the WebDAV system.

    FIXME: I suppose using magic folders we can also upload RDF content and maybe more. This should be detailed here.

  • path

    The target path of the newly created resource.

  • content

    The content of the resource. This parameter can only be used for rather small text files. Any other file content should be sent in the body of an HTTP POST request.

  • type

    The mimetype of the resource.

  • permissions

    The permissions of the newly created resource as detailed in Resource Permissions.

An error code stating the success of the command execution as detailed in ODS Error Result Codes.

Example:
 $ curl -i "http://kingsley.idehen.net/ods/api/briefcase.resource.store?path=/DAV/home/demo/mysimpletext.xml&content=test&type=xml&user_name=demo&password_hash=5863d9e4cbdf522eaa62e0747fceb1c5b249ba13"

 HTTP/1.1 200 OK
 Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64  VDB
 Connection: Keep-Alive
 Date: Tue, 10 May 2011 11:47:16 GMT
 Accept-Ranges: bytes
 Content-Type: text/xml; charset="UTF-8"
 Content-Length: 61

 <result>
   <code>16795</code>
   <message>Success</message>
 </result>
 

name
  • EntryPoint - briefcase_resource_store
url
contentType
  • text/xml
httpMethod
  • GET
isWebServiceOf
oplwebservices:endPointURL
hasParameter
schema:shortDescription
  • Store/upload a resource.

is target of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: PivotViewer | 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 08.03.3330 as of Mar 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory, 5 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software