Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alp Deniz Ogut
Pod
Commits
088663dc
Unverified
Commit
088663dc
authored
4 years ago
by
Vasili Novikov
Browse files
Options
Download
Email Patches
Plain Diff
Fix wording
parent
498aa59c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/HTTP_API.md
+4
-4
docs/HTTP_API.md
with
4 additions
and
4 deletions
+4
-4
docs/HTTP_API.md
+
4
-
4
View file @
088663dc
...
...
@@ -62,7 +62,7 @@ This key will never be written to disk by Pod, and is used to open the database.
You can read more on how this key is used in sqlcipher
[
here
](
https://github.com/sqlcipher/sqlcipher
)
.
In text below,
`owner_key`
means the full client
-
s public
[
ED25519
](
https://ed25519.cr.yp.to/
)
key
In text below,
`owner_key`
means the full client
'
s public
[
ED25519
](
https://ed25519.cr.yp.to/
)
key
(see also
[
wikipedia
](
https://en.wikipedia.org/wiki/Curve25519
)
).
It should be encoded as 64-character hex string.
...
...
@@ -125,7 +125,7 @@ Get an array of all items.
Create a single item.
*
`_type`
sets the type of the item, cannot ever be changed
*
`uid`
if set, will be taken as new item
-
s uid;
*
`uid`
if set, will be taken as new item
'
s uid;
otherwise, a new uid will be generated by the database
*
`version`
from the input json will be ignored
*
`dateCreated`
if not present, will be set by the backend
...
...
@@ -146,7 +146,7 @@ and just return the `uid` to the caller.
```
Update a single item.
*
`uid`
from the input json will be taken as the item
-
s uid
*
`uid`
from the input json will be taken as the item
'
s uid
*
`_type`
from the input json will be ignored
*
`dateCreated`
from the input json will be ignored
*
`dateModified`
if not present, will be set by the backend
...
...
@@ -193,7 +193,7 @@ Returns an empty object if the operation is successful.
```
Mark an item as deleted:
*
Set
`deleted`
flag to
`true`
*
Update
`dateModified`
(server
-
s time is taken)
*
Update
`dateModified`
(server
'
s time is taken)
### POST /v2/$owner_key/search_by_fields/
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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