{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2020-05-30T05:47:59Z","object_id":{"id":1307,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_server_storage","title":"mod_server_storage","uri":"https:\/\/zotonic.com\/id\/1307"},"seq":1000000}],"predicate":{"id":333,"is_a":["meta","predicate"],"name":"in_module","title":{"_type":"trans","tr":{"en":"In module"}},"uri":"https:\/\/zotonic.com\/id\/in_module"}},"references":{"objects":[{"created":"2020-05-30T05:47:59Z","object_id":{"id":1307,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_server_storage","title":"mod_server_storage","uri":"https:\/\/zotonic.com\/id\/1307"},"seq":1000000}],"predicate":{"id":332,"is_a":["meta","predicate"],"name":"references","title":{"_type":"trans","tr":{"en":"References"}},"uri":"https:\/\/zotonic.com\/id\/references"}},"refers":{"objects":[{"created":"2026-09-09T13:48:09Z","object_id":{"id":1307,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_server_storage","title":"mod_server_storage","uri":"https:\/\/zotonic.com\/id\/1307"},"seq":1000000}],"predicate":{"id":2409,"is_a":["meta","predicate"],"name":"refers","title":{"_type":"trans","tr":{"en":"Refers"}},"uri":"https:\/\/zotonic.com\/id\/refers"}},"subject":{"objects":[{"created":"2026-09-09T13:48:09Z","object_id":{"id":2555,"is_a":["categorization","keyword","keyword_information_type"],"name":"zotonic_topic_reference","title":"Reference","uri":"https:\/\/zotonic.com\/id\/2555"},"seq":1},{"created":"2026-09-09T13:48:09Z","object_id":{"id":2564,"is_a":["categorization","keyword","keyword_audience"],"name":"zotonic_topic_backend_developer","title":"Backend developer","uri":"https:\/\/zotonic.com\/id\/2564"},"seq":2},{"created":"2026-09-09T13:48:09Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":3},{"created":"2026-09-09T13:48:09Z","object_id":{"id":2638,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_edit","title":"Edit","uri":"https:\/\/zotonic.com\/id\/2638"},"seq":4},{"created":"2026-09-09T13:48:09Z","object_id":{"id":2643,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_query","title":"Query","uri":"https:\/\/zotonic.com\/id\/2643"},"seq":5},{"created":"2026-09-09T13:48:09Z","object_id":{"id":2665,"is_a":["categorization","keyword","keyword_data_type"],"name":"zotonic_topic_structured_data","title":"Structured data","uri":"https:\/\/zotonic.com\/id\/2665"},"seq":6}],"predicate":{"id":308,"is_a":["meta","predicate"],"name":"subject","title":{"_type":"trans","tr":{"en":"Keyword"}},"uri":"http:\/\/purl.org\/dc\/elements\/1.1\/subject"}}},"id":2093,"is_a":["text","documentation","reference","model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2093"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_model_model_server_storage","page_url":{"en":"https:\/\/zotonic.com\/docs\/2093\/server_storage","x-default":"https:\/\/zotonic.com\/docs\/2093\/server_storage"},"preview_url":null,"resource":{"version":3323,"pivot_location_lat":null,"title":"server_storage","is_authoritative":true,"body":"<p>Model to access the server side storage of data.<\/p>\n<p>See the module documentation of <a href=\"\/id\/doc_module_mod_server_storage\" class=\"doc-reference doc-reference-module\"><code>module#mod_server_storage<\/code><\/a> for information.<\/p>\n<h2>Available Model API Paths<\/h2>\n<table class=\"table\"><thead><tr><th>Method<\/th><th>Path pattern<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>get<\/code><\/td><td><code>\/<\/code><\/td><td>Return all non-secure server-storage key\/value pairs for the current session id via <code>z_server_storage:lookup\/2<\/code>. No further lookups.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/+key\/...<\/code><\/td><td>Return value for session key <code>+key<\/code> from non-secure server storage (or <code>not_found\/no_session<\/code> error).<\/td><\/tr><tr><td><code>post<\/code><\/td><td><code>\/+key<\/code><\/td><td>Store payload under session key <code>+key<\/code> in non-secure server storage; starts storage for the session when missing. No further lookups.<\/td><\/tr><tr><td><code>delete<\/code><\/td><td><code>\/+key<\/code><\/td><td>Delete key <code>+key<\/code> from non-secure server storage for the current session. No further lookups.<\/td><\/tr><tr><td><code>delete<\/code><\/td><td><code>\/<\/code><\/td><td>Delete all non-secure server-storage keys for the current session. No further lookups.<\/td><\/tr><\/tbody><\/table>\n<p><code>\/+name<\/code> marks a variable path segment. A trailing <code>\/...<\/code> means extra path segments are accepted for further lookups.<\/p>","slug":"server_storage","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"f177dac14864fe5916a4e06bd512f4679453157f55e7ccccc3ee078e9f668de9","is_featured":false,"content_group_id":{"id":2551,"is_a":["meta","content_group"],"name":"content_group_imported_docs","title":"Imported documentation","uri":"https:\/\/zotonic.com\/id\/content_group_imported_docs"},"category_id":{"id":322,"is_a":["meta","category"],"name":"model","title":"Models","uri":"https:\/\/test.zotonic.com\/id\/322"},"doc_source_path":"apps\/zotonic_mod_server_storage\/src\/models\/m_server_storage.erl","publication_start":"2023-01-30T19:24:03Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_mod_server_storage\/src\/models\/m_server_storage.erl","pivot_location_lng":null,"doc_source_kind":"model","name":"doc_model_model_server_storage","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:47:59Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_mod_server_storage","publication_end":"9999-06-01T00:00:00Z","modifier_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"privacy":0,"doc_source_commit":"b8c4b2ccdc223257f311968fbd17b2d66f0c4156\n","erlang_module":"m_server_storage","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-09-30T09:39:52Z","title_slug":"server_storage"},"uri":"https:\/\/zotonic.com\/id\/2093","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2093"}},"status":"ok"}