주 메뉴 열기

wwiki β

바뀜

NextCloud

693 바이트 추가됨, 2023년 4월 5일 (수) 08:03
편집 요약 없음
== Server ==
 
=== Developer ===
 
==== Client API ====
 
===== Webdav =====
 
====== Basic APIs ======
'''WebDAV basics'''
 
base url: /remote.php/dav
 
모든 요청은 인증정보가 필요하다.
 
'''Testing requests with curl'''
 
[[WebDAV]]<syntaxhighlight lang="bash">
$ curl -u username:password 'https://cloud.example.com/remote.php/dav/files/username/folder' -X PROPFIND --data '<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
<d:prop xmlns:oc="http://owncloud.org/ns">
<d:getlastmodified/>
<d:getcontentlength/>
<d:getcontenttype/>
<oc:permissions/>
<d:resourcetype/>
<d:getetag/>
</d:prop>
</d:propfind>'
</syntaxhighlight><br />
==memcache==
sudo apt install php-apcu
편집
2,431