Not logged in : Login

About: EntryPoint - briefcase_copy     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : schema:EntryPoint, within Data Space : ods-qa.openlinksw.com:8896 associated with source document(s)

AttributesValues
type
described by
name
  • EntryPoint - briefcase_copy
schema:contentType
  • text/xml
description
  • Copies a resource or a collection to a new path. Collections are copied recursively.

  • from_path

    The resource path.

  • to_path

    The target path. FIXME: is this like in UNIX shells or is this the new full path of the resource?

  • overwrite

    Flag to indicate if an already existing resource at to_path should be overwritten. If 0 then then call will fail in case that a resource exists.

  • 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://ods-qa.openlinksw.com/ods/api/briefcase.copy?from_path=/DAV/home/demo/t1/&to_path=/DAV/home/demo/t2/&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 12:13:41 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57

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

  • Copies a resource or a collection to a new path. Collections are copied recursively.

  • from_path

    The resource path.

  • to_path

    The target path. FIXME: is this like in UNIX shells or is this the new full path of the resource?

  • overwrite

    Flag to indicate if an already existing resource at to_path should be overwritten. If 0 then then call will fail in case that a resource exists.

  • 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://ods-qa.openlinksw.com/ods/api/briefcase.copy?from_path=/DAV/home/demo/t1/&to_path=/DAV/home/demo/t2/&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 12:13:41 GMT
     Accept-Ranges: bytes
     Content-Type: text/xml; charset="UTF-8"
     Content-Length: 57
    
     <result>
       <code>1</code>
       <message>Success</message>
     </result>
     

    schema:httpMethod
    • GET
    schema:shortDescription
    • Copy a WebDAV resource.

    isWebServiceOf
    url
    oplwebservices:endPointURL
    hasParameter
    is topic of
    is target of
    Faceted Search & Find service v1.17_git55 as of Mar 01 2021


    Alternative Linked Data Documents: ODE     Content Formats:       RDF       ODATA       Microdata      About   
    This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
    OpenLink Virtuoso version 08.03.3322 as of Mar 14 2022, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (7 GB total memory)
    Data on this page belongs to its respective rights holders.
    Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software