...
Code Block |
---|
theme | Midnight |
---|
title | SavedSearch JSON object |
---|
linenumbers | true |
---|
collapse | true |
---|
|
{
"title": "Goethe",
"type": "newspaper",
"searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv"
} |
...
Code Block |
---|
theme | Midnight |
---|
title | SavedSearch JSON object |
---|
linenumbers | true |
---|
collapse | true |
---|
|
{
"id": 251,
"userId": "fachstelle_museum",
"title": "Goethe",
"type": "newspaper",
"searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv",
"createdAt": "2025-04-11T10:25:35.310+00:00"
} |
...
- Only JSON properties title, type and queryString could be updated.
- If JSON properties are null or not present, they are not updated and the existing values are kept.
Example: If you only set title, only the title property is updated.
Request payload
This is the Payload when every possible property should updated. Unchanged properties could be omitted.
Code Block |
---|
theme | Midnight |
---|
title | SavedSearch JSON object |
---|
linenumbers | true |
---|
collapse | true |
---|
|
{
"title": "Goethe",
"type": "newspaper",
"searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv"
} |
...