description |
---|
In this page you will find how to retrieve, create, update or delete multiple raindrops at once. |
To filter, sort or limit raindrops use one of the parameters described below. Check each method for exact list of supported parameters.
Parameter | Type | Description |
---|---|---|
collectionId | Integer |
Path parameter that specify from which collection to get raindrops. Or specify one of system:
Warning: update or remove methods not support |
search | String |
As text, check all examples here You can first test your searches in Raindrop app and if it works correctly, just copy content of search field and use it here |
sort | String |
Query parameter for sorting:
|
page | Integer |
Query parameter. 0, 1, 2, 3 ... |
perpage | Integer |
Query parameter. How many raindrops per page. 50 max |
ids | Array<Integer> |
You can specify exact raindrop ID's for batch update/remove methods |
nested | Boolean |
Also include bookmarks from nested collections (true/false) |
GET
https://api.raindrop.io/rest/v1/raindrops/{collectionId}
Name | Type | Description |
---|---|---|
collectionId* | number | Collection ID. Specify 0 to get all raindrops |
Name | Type | Description |
---|---|---|
sort | string | |
perpage | number | |
page | number | |
search | string | |
nested | boolean |
{% tabs %} {% tab title="200 " %}
{% endtab %} {% endtabs %}
POST
https://api.raindrop.io/rest/v1/raindrops
Name | Type | Description |
---|---|---|
items* | array | Array of objects. Format of single object described in "Create single raindrop". |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"items": [
{
...
}
]
}
{% endtab %} {% endtabs %}
PUT
https://api.raindrop.io/rest/v1/raindrops/{collectionId}
Specify optional search
and/or ids
parameters to limit raindrops that will be updated.
Possible fields that could be updated are described in "Body Parameters"
Name | Type | Description |
---|---|---|
collectionId* | number | |
nested | boolean |
Name | Type | Description |
---|---|---|
ids | array | |
important | boolean | TRUE - mark as "favorite" |
tags | array | Will append specified tags to raindrops. |
media | array | Will append specified media items to raindrops. |
cover | string | Set URL for cover. |
collection | object | Specify {"$id": collectionId} to move raindrops to other collection |
{% tabs %} {% tab title="200 " %}
{% endtab %} {% endtabs %}
DELETE
https://api.raindrop.io/rest/v1/raindrops/{collectionId}
Specify optional search
and/or ids
parameters to limit raindrops that will be moved to "Trash"
When :collectionId
is -99, raindrops will be permanently removed!
Name | Type | Description |
---|---|---|
collectionId* | number | |
nested | boolean |
Name | Type | Description |
---|---|---|
search | string |
Name | Type | Description |
---|---|---|
ids | array |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"modified": 330
}
{% endtab %} {% endtabs %}