{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2020-05-30T05:48:14Z","object_id":{"id":1331,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_admin","title":"mod_admin","uri":"https:\/\/zotonic.com\/id\/1331"},"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"}},"subject":{"objects":[{"created":"2026-09-09T13:48:11Z","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:11Z","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:11Z","object_id":{"id":2570,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_content_authoring","title":"Content authoring","uri":"https:\/\/zotonic.com\/id\/2570"},"seq":3},{"created":"2026-09-09T13:48:11Z","object_id":{"id":2583,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_user_interface_and_interaction","title":"User interface and interaction","uri":"https:\/\/zotonic.com\/id\/2583"},"seq":4},{"created":"2026-09-09T13:48:11Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":5}],"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":2170,"is_a":["text","documentation","reference","model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2170"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_model_model_admin","page_url":{"en":"https:\/\/zotonic.com\/docs\/2170\/admin","x-default":"https:\/\/zotonic.com\/docs\/2170\/admin"},"preview_url":null,"resource":{"version":3987,"pivot_location_lat":null,"title":"admin","is_authoritative":true,"body":"<p>This model exposes some meta-information for the use in <code>mod_admin<\/code> templates.<\/p>\n<p>There are two properties available:<\/p>\n<ol><li><p>Pivot queue count<\/p><p>Retrieve the count of the pivot queue, the queue which decides which resources need re-indexing.<\/p><p>To view the number of items in the pivot queue, do the following:<\/p><pre class=\"notranslate\"><code class=\"notranslate language-erlang\">{% print m.admin.pivot_queue_count %}\n<\/code><\/pre><\/li><li><p>Default <code>published<\/code> setting for the new-resource dialog<\/p><p>{% if m.admin.rsc_dialog_is_published %} ... {% endif %}<\/p><\/li><\/ol>\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>\/pivot_queue_count\/...<\/code><\/td><td>Return pivot queue counts as a map with <code>backlog<\/code> and <code>total<\/code> (requires <code>use<\/code> permission on <code>mod_admin<\/code>).<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/rsc_dialog_is_published\/...<\/code><\/td><td>Return whether the admin new-resource dialog defaults <code>is_published<\/code> to true.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/rsc_dialog_is_dependent\/...<\/code><\/td><td>Return whether the admin new-resource dialog defaults <code>is_dependent<\/code> to true.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/rsc_dialog_hide_dependent\/...<\/code><\/td><td>Return whether the <code>is_dependent<\/code> option is hidden in the admin new-resource dialog.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/edge_list_max_length\/...<\/code><\/td><td>Return the configured maximum number of edges shown in admin edge lists (<code>undefined<\/code> when unset).<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/connect_created_me\/...<\/code><\/td><td>Return whether newly created resources are auto-connected to the current user in admin flows.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/is_notrack_refers\/...<\/code><\/td><td>Return whether admin “refers” views should avoid tracking referer updates (<code>mod_admin.is_notrack_refers<\/code>).<\/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":"admin","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"1c372caf3bac3d310754fad5b60bade1e23cdfa6281707b84875179144c023c2","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_admin\/src\/models\/m_admin.erl","publication_start":"2023-06-24T08:17:58Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_mod_admin\/src\/models\/m_admin.erl","pivot_location_lng":null,"doc_source_kind":"model","name":"doc_model_model_admin","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:48:14Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_mod_admin","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":"66cb145eae7002b184e7d8c4c7bba5e53e8248e5\n","erlang_module":"m_admin","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-10-02T12:40:35Z","title_slug":"admin"},"uri":"https:\/\/zotonic.com\/id\/2170","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2170"}},"status":"ok"}