curl
curl -X PATCH "https://api.linkvite.io/v1/highlights/<id>" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.highlights.update('<id>', {});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Highlights.Update(ctx, "<id>", &linkvite.EditHighlightRequest{
}){
"data": {
"body": [
{
"purpose": "<string>",
"type": "<string>",
"value": "lv-highlighter-1"
}
],
"bookmark_id": "<string>",
"id": "<string>",
"note": "<string>",
"target": {
"selector": [
{
"end": 123,
"exact": "<string>",
"start": 123,
"type": "<string>"
}
]
},
"type": "<string>",
"user_id": "<string>"
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Highlights
Edit highlight
Scope: highlights:edit · Rate limit: 250 requests per 5 minutes
PATCH
/
v1
/
highlights
/
{id}
curl
curl -X PATCH "https://api.linkvite.io/v1/highlights/<id>" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.highlights.update('<id>', {});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Highlights.Update(ctx, "<id>", &linkvite.EditHighlightRequest{
}){
"data": {
"body": [
{
"purpose": "<string>",
"type": "<string>",
"value": "lv-highlighter-1"
}
],
"bookmark_id": "<string>",
"id": "<string>",
"note": "<string>",
"target": {
"selector": [
{
"end": 123,
"exact": "<string>",
"start": 123,
"type": "<string>"
}
]
},
"type": "<string>",
"user_id": "<string>"
},
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Body
application/json
Was this page helpful?