POST | /savedsearches |
---|
User permission required
{ "title": "Goethe", "type": "newspaper", "searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv" } |
{ "id": 251, "userId": "fachstelle_museum", "title": "Goethe", "type": "newspaper", "searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv", "createdAt": "2025-04-11T10:25:35.310+00:00" } |
GET | /savedsearches |
---|
User permission required
Name | Value | Occurence | Default | Required |
---|---|---|---|---|
title | Title of search | Once | - | Optional |
queryString | Base 64 coded search string | Once | - | Optional |
type | Type of search like item, entity, institution or newspaper | Once | - | Optional |
[ { "id": 1, "userId": "fachstelle_museum", "title": "Goethe 1", "type": "newspaper", "queryString": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv", "createdAt": "2025-04-18T10:56:08.916+00:00" },{ "id": 2, "userId": "fachstelle_museum", "title": "Goethe 2", "type": "newspaper", "queryString": "bHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv", "createdAt": "2025-04-18T10:57:08.916+00:00" } ] |
PUT | /savedsearches/{id} |
---|
User permission required
This is the Payload when every possible property should updated. Unchanged properties could be omitted.
{ "title": "Goethe", "type": "newspaper", "searchQuery": "aHR0cHM6Ly93aWtpLmRldXRzY2hlLWRpZ2l0YWxlLWJpYmxpb3RoZWsuZGUv" } |
DELETE | /savedsearches/{id} |
---|
User permission required