Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Kosztka
Pod
Commits
4eaa0236
Commit
4eaa0236
authored
4 years ago
by
Bijun Li
Browse files
Options
Download
Email Patches
Plain Diff
Add to HTTP API doc
parent
b94f136d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/HTTP_API.md
+11
-3
docs/HTTP_API.md
with
11 additions
and
3 deletions
+11
-3
docs/HTTP_API.md
+
11
-
3
View file @
4eaa0236
...
...
@@ -152,6 +152,14 @@ or an empty array when this `uid` does not exist.
In future, the endpoint might return the json object itself when the
`uid`
exists,
or return an HTTP failure otherwise.
### POST /v1/run_service/{service}
Execute a service by its name, e.g. "evernote", "icloud".
Undefined services will yield 400 BAD_REQUEST error.
### POST /v1/run_service/downloaders/{service}/{data_type}
Run a downloader for different services with different data types, e.g. Evernote with note.
Unsupported service or data type will yield 400 BAD_REQUEST error.
### POST /v1/run_service/importers/{data_type}
Run an importer for a given data type, e.g. note.
Unsupported data type will yield 400 BAD_REQUEST error.
### POST /v1/run_service/indexers/{uid}
Run an indexer to index an item with the given uid.
A 400 BAD_REQUEST error is yield when the uid is not found.
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
Menu
Explore
Projects
Groups
Snippets