Not logged in : Login
(Sponging disallowed)

About: EntryPoint - briefcase_share_add     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.share.add

path The path to the resource to share. user The user to share the resource with. inheritance The way the given rights should be propagated to children of the given path (in case of a collection). 'object' will only change the permissions on the resource itself'all' will recursively update permissions on all children'children' will only update permissions on direct children. FIXME: is this correct? allow The actions the user should be allowed to perform. This is a UNIX style permission mask string consisting of three chars "rwx", referring to read, write, and execute permissions respectively. Each of these permissions can be granted by writing the character or not granted by writing a dash - instead. Example: "r--" would grant only read rights while it does not make any changes to the write and execute rights. deny The permissions to deny the user. The value is the same as with allow except that the given rights are revoked instead of granted. Thus, specifying "r--" would revoke read rights while leaving the write and execute rights untouched. An error code stating the success of the command execution as detailed in ODS Error Result Codes. briefcase.share.remove, briefcase.share.list Example: $ curl -i "http://kingsley.idehen.net/ods/api/briefcase.share.add?path=/DAV/home/demo/tmp1/&user=test1&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, 17 May 2011 11:49:52 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="UTF-8" Content-Length: 57 1 Success

AttributesValues
type
Description
  • path

    The path to the resource to share.

  • user

    The user to share the resource with.

  • inheritance

    The way the given rights should be propagated to children of the given path (in case of a collection).

    'object' will only change the permissions on the resource itself

    'all' will recursively update permissions on all children

    'children' will only update permissions on direct children. FIXME: is this correct?

  • allow

    The actions the user should be allowed to perform. This is a UNIX style permission mask string consisting of three chars "rwx", referring to read, write, and execute permissions respectively. Each of these permissions can be granted by writing the character or not granted by writing a dash - instead. Example: "r--" would grant only read rights while it does not make any changes to the write and execute rights.

  • deny

    The permissions to deny the user. The value is the same as with allow except that the given rights are revoked instead of granted. Thus, specifying "r--" would revoke read rights while leaving the write and execute rights untouched.

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

briefcase.share.remove, briefcase.share.list

Example:
 $ curl -i "http://kingsley.idehen.net/ods/api/briefcase.share.add?path=/DAV/home/demo/tmp1/&user=test1&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, 17 May 2011 11:49:52 GMT
 Accept-Ranges: bytes
 Content-Type: text/xml; charset="UTF-8"
 Content-Length: 57

 <result>
   <code>1</code>
   <message>Success</message>
 </result>
 

name
  • EntryPoint - briefcase_share_add
url
contentType
  • text/xml
httpMethod
  • GET
isWebServiceOf
oplwebservices:endPointURL
hasParameter
schema:shortDescription
  • Share a WebDAV resource with a user.

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