{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2026-09-09T13:48:12Z","object_id":{"id":335,"is_a":["text","documentation","reference","module"],"name":"doc_core","title":"Zotonic Core","uri":"https:\/\/zotonic.com\/id\/335"},"seq":1}],"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:12Z","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:12Z","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:12Z","object_id":{"id":2601,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_export_and_syndication","title":"Export and syndication","uri":"https:\/\/zotonic.com\/id\/2601"},"seq":3},{"created":"2026-09-09T13:48:12Z","object_id":{"id":2614,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_resource","title":"Resource","uri":"https:\/\/zotonic.com\/id\/2614"},"seq":4},{"created":"2026-09-09T13:48:12Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":5},{"created":"2026-09-09T13:48:12Z","object_id":{"id":2651,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_export","title":"Export","uri":"https:\/\/zotonic.com\/id\/2651"},"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":2500,"is_a":["text","documentation","reference","model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2500"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_model_model_rsc_export","page_url":{"en":"https:\/\/zotonic.com\/docs\/2500\/rsc_export","x-default":"https:\/\/zotonic.com\/docs\/2500\/rsc_export"},"preview_url":null,"resource":{"version":77,"pivot_location_lat":null,"title":"rsc_export","is_authoritative":true,"body":"<p>Export a full resource representation for API and model access.<\/p>\n<p>This model returns a normalized export map for a resource id, name, or URI. The export includes:<\/p>\n<ul><li>essential identifiers (<code>id<\/code>, <code>name<\/code>, <code>is_a<\/code>, <code>uri<\/code>, <code>uri_template<\/code>, <code>page_url<\/code>)<\/li><li>resource properties (<code>resource<\/code>)<\/li><li>medium information and URLs (<code>medium<\/code>, <code>medium_url<\/code>, <code>preview_url<\/code>, <code>depiction_url<\/code>)<\/li><li>outgoing edges grouped by predicate (<code>edges<\/code>)<\/li><\/ul>\n<p>Access control is applied while building the export:<\/p>\n<ul><li>resources that are not visible return <code>eacces<\/code> or <code>enoent<\/code><\/li><li>edge predicates and edge objects are only included when visible<\/li><li><code>hasusergroup<\/code> edges are intentionally omitted<\/li><\/ul>\n<p>Example export shape:<\/p>\n<pre class=\"notranslate\"><code class=\"notranslate language-erlang\">#{\n    &lt;&lt;&quot;id&quot;&gt;&gt; =&gt; 112233,\n    &lt;&lt;&quot;uri&quot;&gt;&gt; =&gt; &lt;&lt;&quot;http:\/\/www.example.com\/id\/112233&quot;&gt;&gt;,\n    &lt;&lt;&quot;is_a&quot;&gt;&gt; =&gt; [&lt;&lt;&quot;text&quot;&gt;&gt;, &lt;&lt;&quot;article&quot;&gt;&gt;],\n    &lt;&lt;&quot;resource&quot;&gt;&gt; =&gt; #{\n        &lt;&lt;&quot;title&quot;&gt;&gt; =&gt; &lt;&lt;&quot;Foo&quot;&gt;&gt;\n    },\n    &lt;&lt;&quot;medium&quot;&gt;&gt; =&gt; #{},\n    &lt;&lt;&quot;edges&quot;&gt;&gt; =&gt; #{\n        &lt;&lt;&quot;depiction&quot;&gt;&gt; =&gt; #{\n            &lt;&lt;&quot;predicate&quot;&gt;&gt; =&gt; #{ &lt;&lt;&quot;name&quot;&gt;&gt; =&gt; &lt;&lt;&quot;depiction&quot;&gt;&gt; },\n            &lt;&lt;&quot;objects&quot;&gt;&gt; =&gt; [\n                #{\n                    &lt;&lt;&quot;object_id&quot;&gt;&gt; =&gt; #{ &lt;&lt;&quot;id&quot;&gt;&gt; =&gt; 28992 },\n                    &lt;&lt;&quot;seq&quot;&gt;&gt; =&gt; 1\n                }\n            ]\n        }\n    }\n}\n<\/code><\/pre>\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>\/full\/+id\/...<\/code><\/td><td>Export full representation for resource <code>+id<\/code> using <code>full\/2<\/code>.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/+id\/...<\/code><\/td><td>Export full representation for resource <code>+id<\/code> using <code>full\/2<\/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":"rsc_export","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"4d7ac1ed42c972e738d1ac36c85d8dd0a137eca3402a7e80217b438b84a9e270","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_core\/src\/models\/m_rsc_export.erl","publication_start":"2026-02-27T16:43:33Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_core\/src\/models\/m_rsc_export.erl","pivot_location_lng":null,"doc_source_kind":"model","name":"doc_model_model_rsc_export","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2026-02-27T16:43:33Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_core","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":"c19e5c894d3bd01b57581e2af43e176d42c6877a\n","erlang_module":"m_rsc_export","creator_id":{"id":1,"is_a":["person"],"name":"administrator","title":"Site Administrator","uri":"https:\/\/zotonic.com\/id\/1"},"modified":"2026-10-08T10:41:09Z","title_slug":"rsc_export"},"uri":"https:\/\/zotonic.com\/id\/2500","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2500"}},"status":"ok"}