Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
jio-main
Commits
311f6e2d
Commit
311f6e2d
authored
Mar 17, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: swapped two columns
parent
4a8f9e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
docs/manage_documents.rst
docs/manage_documents.rst
+16
-16
No files found.
docs/manage_documents.rst
View file @
311f6e2d
...
...
@@ -154,11 +154,11 @@ To retrieve jIO responses, you have to provide callbacks like this:
Here is a list of responses returned by jIO according to methods and options:
==================
============================
================== ===============================================
Option Available for
Response (Callback first parameter)
==================
============================
================== ===============================================
Any ``.post()``, ``.put()``, ``.remove()``
.. code-block:: javascript
==================
============================
================== ===============================================
Available for Option
Response (Callback first parameter)
==================
============================
================== ===============================================
``.post()``, ``.put()``, ``.remove()`` Any
.. code-block:: javascript
{
result: 'success',
method: 'post',
...
...
@@ -167,8 +167,8 @@ Any ``.post()``, ``.put()``, ``.remove()`` .. code-bl
status: 204,
statusText: 'No Content'
}
Any ``.putAttachment()``, ``.removeAttachment()``
.. code-block:: javascript
``.putAttachment()``, ``.removeAttachment()`` Any
.. code-block:: javascript
{
result: 'success',
method: 'putAttachment',
...
...
@@ -178,8 +178,8 @@ Any ``.putAttachment()``, ``.removeAttachment()`` .. code-bl
status: 204,
statusText: 'No Content'
}
Any ``.get()``
.. code-block:: javascript
``.get()`` Any
.. code-block:: javascript
{
result: 'success',
method: 'get',
...
...
@@ -190,8 +190,8 @@ Any ``.get()`` .. code-bl
// Here, the document metadata
}
}
Any ``.getAttachment()``
.. code-block:: javascript
``.getAttachment()`` Any
.. code-block:: javascript
{
result: 'success',
method: 'getAttachment',
...
...
@@ -201,8 +201,8 @@ Any ``.getAttachment()`` .. code-bl
statusText: 'Ok',
data: Blob // Here, the attachment content
}
No option ``.allDocs()``
.. code-block:: javascript
``.allDocs()`` No option
.. code-block:: javascript
{
result: 'success',
method: 'allDocs',
...
...
@@ -218,8 +218,8 @@ No option ``.allDocs()`` .. code-bl
}]
}
}
include_docs: true ``.allDocs()``
.. code-block:: javascript
``.allDocs()`` include_docs: true
.. code-block:: javascript
{
result: 'success',
method: 'allDocs',
...
...
@@ -238,7 +238,7 @@ include_docs: true ``.allDocs()`` .. code-bl
}]
}
}
==================
============================
================== ===============================================
==================
============================
================== ===============================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment