Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeMidnight
titleSavedSearch JSON object
linenumberstrue
collapsetrue
{
    "title": "Goethe",
    "type": "newspaper",
    "searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv"
}

...

Code Block
themeMidnight
titleSavedSearch JSON object
linenumberstrue
collapsetrue
{
    "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
themeMidnight
titleSavedSearch JSON object
linenumberstrue
collapsetrue
{
    "title": "Goethe",
    "type": "newspaper",
    "searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv"
}

...