mirror of
https://github.com/raindropio/developer-site.git
synced 2026-11-04 10:03:46 +00:00
GitBook: [master] 4 pages and 2 assets modified
This commit is contained in:
1 parent
a450704732
commit
abdffd997e
6 files changed
+14
-4
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 180 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
@@ -48,6 +48,8 @@ Check details in Step 2
|
||||
{% endapi-method-spec %}
|
||||
{% endapi-method %}
|
||||
|
||||

|
||||
|
||||
### Step 2: The redirection to your application site
|
||||
|
||||
When the user grants your authorization request, the user will be redirected to the redirect URL configured in your application setting. The redirect request will come with query parameter attached: `code` .
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
# Covers/icons
|
||||
|
||||
In your UI implementation you could easily make icon/cover selector from more than 10 000 icons.
|
||||
In your app you could easily make icon/cover selector from more than 10 000 icons
|
||||
|
||||

|
||||
|
||||
{% api-method method="get" host="https://api.raindrop.io" path="/rest/v1/collections/covers/{text}" %}
|
||||
{% api-method-summary %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
### Overview
|
||||
|
||||
If you look into Raindrop UI you will notice a sidebar in left corner, where collections are located. Collections itself divided by groups. They useful to create separate sets of collections, for example "Home", "Work", etc.
|
||||
If you look into Raindrop UI you will notice a sidebar in left corner, where collections are located. Collections itself divided by groups. Groups useful to create separate sets of collections, for example "Home", "Work", etc.
|
||||
|
||||

|
||||
|
||||
@@ -12,7 +12,7 @@ So to fully recreate sidebar like in our app you need to make 3 separate API cal
|
||||
|
||||
#### 1. [Get user object](../user/authenticated.md#get-user)
|
||||
|
||||
It contains groups array with exact collection ID's. Typically this array looks like this:
|
||||
It contains `groups` array with exact collection ID's. Typically this array looks like this:
|
||||
|
||||
```javascript
|
||||
{
|
||||
@@ -43,7 +43,13 @@ It contains groups array with exact collection ID's. Typically this array looks
|
||||
Collection ID's listed below is just first level of collections structure! To create full tree of nested collections you need to get child items separately.
|
||||
{% endhint %}
|
||||
|
||||
To get name, count, icon and other info about collections, make those two separate calls:
|
||||
|
||||
#### 2. [Get root collections](./#get-root-collections)
|
||||
|
||||
Sort order of root collections persisted in `groups[].collections` array
|
||||
|
||||
#### 3. [Get child collections](./#get-nested-collections)
|
||||
|
||||
Sort order of child collections persisted in collection itself in `sort` field
|
||||
|
||||
@@ -412,7 +412,7 @@ Get permanent copy
|
||||
{% endapi-method-summary %}
|
||||
|
||||
{% api-method-description %}
|
||||
|
||||
Links permanently saved with all content \(only in PRO plan\). Using this method you can navigate to this copy.
|
||||
{% endapi-method-description %}
|
||||
|
||||
{% api-method-spec %}
|
||||
|
||||
Reference in new issue
Block a user