GitBook: [master] 4 pages and 2 assets modified

This commit is contained in:
Rustem Mussabekov authored and gitbook-bot committed 2020-02-11 14:48:56 +00:00
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

+2
View File
@@ -48,6 +48,8 @@ Check details in Step 2
{% endapi-method-spec %}
{% endapi-method %}
![User will be asked if he would like to grant your application access to his Raindrop.io data](../../.gitbook/assets/authorize.png)
### 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` .
+3 -1
View File
@@ -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
![](../../.gitbook/assets/icon-finder.png)
{% api-method method="get" host="https://api.raindrop.io" path="/rest/v1/collections/covers/{text}" %}
{% api-method-summary %}
+8 -2
View File
@@ -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.
![](../../.gitbook/assets/sidebar.png)
@@ -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
+1 -1
View File
@@ -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 %}