mirror of
https://github.com/nextcloud/documentation.git
synced 2025-12-12 07:29:47 +07:00
Document maintenance mode header
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
15
developer_manual/client_apis/general.rst
Normal file
15
developer_manual/client_apis/general.rst
Normal file
@@ -0,0 +1,15 @@
|
||||
=======
|
||||
General
|
||||
=======
|
||||
|
||||
Nextcloud's APIs are mainly available through :ref:`rest-apis`, :ref:`OCS <ocsapiindex>` and :ref:`webdavapiindex`.
|
||||
|
||||
Generic Errors
|
||||
--------------
|
||||
|
||||
Additional to specific errors of an API, there are a few generic errors Nextcloud might throw on web APIs.
|
||||
|
||||
Maintenance Mode
|
||||
****************
|
||||
|
||||
If Nextcloud is down for maintenance, it sends a HTTP response with status code 503 and the header ``x-nextcloud-maintenance-mode: 1``.
|
||||
@@ -7,6 +7,7 @@ Clients and Client APIs
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
general
|
||||
android_library/index
|
||||
WebDAV/index
|
||||
OCS/index
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.. _rest-apis:
|
||||
|
||||
=========
|
||||
REST APIs
|
||||
=========
|
||||
|
||||
Reference in New Issue
Block a user