description |
---|
In this page you will find how to retrieve, create, update or delete single raindrop. |
GET
https://api.raindrop.io/rest/v1/raindrop/{id}
Name | Type | Description |
---|---|---|
id* | number | Existing raindrop ID |
{% tabs %} {% tab title="200 " %}
{% endtab %} {% endtabs %}
POST
https://api.raindrop.io/rest/v1/raindrop
Description and possible values of fields described in "Fields"
Name | Type | Description |
---|---|---|
pleaseParse | object | Specify empty object to automatically parse meta data (cover, description, html) in the background |
created | string | |
lastUpdate | string | |
order | number | Specify sort order (ascending). |
important | boolean | |
tags | array | |
media | array | |
cover | string | |
collection | object | |
type | string | |
excerpt | string | |
title | string | |
link* | string | |
highlights | array | |
reminder | object |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
...
}
}
{% endtab %} {% endtabs %}
PUT
https://api.raindrop.io/rest/v1/raindrop/{id}
Description and possible values of fields described in "Fields"
Name | Type | Description |
---|---|---|
id* | number | Existing raindrop ID |
Name | Type | Description |
---|---|---|
created | string | |
lastUpdate | string | |
pleaseParse | object | Specify empty object to re-parse link meta data (cover, type, html) in the background |
order | number | Specify sort order (ascending). |
important | boolean | |
tags | array | |
media | array | |
cover | string | |
collection | object | |
type | string | |
excerpt | string | |
title | string | |
link | string | |
highlights | array | |
reminder | object |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
...
}
}
{% endtab %} {% endtabs %}
DELETE
https://api.raindrop.io/rest/v1/raindrop/{id}
When you remove raindrop it will be moved to user Trash
collection. But if you try to remove raindrop from Trash
, it will be removed permanently.
Name | Type | Description |
---|---|---|
id* | number | Existing raindrop ID |
{% tabs %} {% tab title="200 " %}
{
"result": true
}
{% endtab %} {% endtabs %}
PUT
https://api.raindrop.io/rest/v1/raindrop/file
Make sure to send PUT request with multipart/form-data body
Name | Type | Description |
---|---|---|
Content-Type* | string | multipart/form-data |
Name | Type | Description |
---|---|---|
file* | object | File |
collectionId | String | Collection Id |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
"title": "File name",
"type": "image",
"link": "https://up.raindrop.io/raindrop/111/file.jpeg",
"domain": "raindrop.io",
"file": {
"name": "File name.jpeg",
"size": 10000
}
...
}
}
{% endtab %}
{% tab title="400 " %}
//file is not specified
{
"result": false,
"error": -1,
"errorMessage": "no file"
}
//unsupported file format
{
"result": false,
"error": "file_invalid",
"errorMessage": "File is invalid"
}
//file size is big
{
"result": false,
"error": "file_size_limit",
"errorMessage": "File size limit"
}
{% endtab %} {% endtabs %}
PUT
https://api.raindrop.io/rest/v1/raindrop/{id}/cover
PNG, GIF or JPEG
Name | Type | Description |
---|---|---|
id* | number | Existing raindrop ID |
Name | Type | Description |
---|---|---|
Content-Type* | string | multipart/form-data |
Name | Type | Description |
---|---|---|
cover* | object | File |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
"cover": "https://up.raindrop.io/raindrop/...",
"media": [
{
"link": "https://up.raindrop.io/raindrop/..."
}
]
...
}
}
{% endtab %}
{% tab title="400 " %}
//file is not specified
{
"result": false,
"error": -1,
"errorMessage": "no file"
}
//unsupported file format
{
"result": false,
"error": "file_invalid",
"errorMessage": "File is invalid"
}
//file size is big
{
"result": false,
"error": "file_size_limit",
"errorMessage": "File size limit"
}
{% endtab %} {% endtabs %}
GET
https://api.raindrop.io/rest/v1/raindrop/{id}/cache
Links permanently saved with all content (only in PRO plan). Using this method you can navigate to this copy.
Name | Type | Description |
---|---|---|
id* | number | Existing raindrop ID |
{% tabs %} {% tab title="307 " %}
Location: https://s3.aws...
{% endtab %} {% endtabs %}
POST
https://api.raindrop.io/rest/v1/raindrop/suggest
Name | Type | Description |
---|---|---|
link* | string |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
"collections": [
{
"$id": 568368
},
{
"$id": 8519567
},
{
"$id": 1385626
},
{
"$id": 8379661
},
{
"$id": 20865985
}
],
"tags": [
"fonts",
"free",
"engineering",
"icons",
"invalid_parser"
]
}
}
{% endtab %} {% endtabs %}
GET
https://api.raindrop.io/rest/v1/raindrop/{id}/suggest
Name | Type | Description |
---|---|---|
* | String | Bookmark id |
{% tabs %} {% tab title="200 " %}
{
"result": true,
"item": {
"collections": [
{
"$id": 568368
},
{
"$id": 8519567
},
{
"$id": 1385626
},
{
"$id": 8379661
},
{
"$id": 20865985
}
],
"tags": [
"fonts",
"free",
"engineering",
"icons",
"invalid_parser"
]
}
}
{% endtab %} {% endtabs %}