Merge multiple tags in one request
curl --request POST \
--url https://api.webstashai.com/tags/merge/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"merges": [
{
"from": "<string>",
"to": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({merges: [{from: '<string>', to: '<string>'}]})
};
fetch('https://api.webstashai.com/tags/merge/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/tags/merge/batch"
payload = { "merges": [
{
"from": "<string>",
"to": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}Merge multiple tags in one request
POST
https://api.webstashai.com
/
tags
/
merge
/
batch
Merge multiple tags in one request
curl --request POST \
--url https://api.webstashai.com/tags/merge/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"merges": [
{
"from": "<string>",
"to": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({merges: [{from: '<string>', to: '<string>'}]})
};
fetch('https://api.webstashai.com/tags/merge/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.webstashai.com/tags/merge/batch"
payload = { "merges": [
{
"from": "<string>",
"to": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}