{"result":{"depiction_url":null,"edges":{"in_module":{"objects":[{"created":"2020-05-30T05:47:54Z","object_id":{"id":1742,"is_a":["text","documentation","reference","module"],"name":"doc_module_mod_comment","title":"mod_comment","uri":"https:\/\/zotonic.com\/id\/1742"},"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:08Z","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:08Z","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:08Z","object_id":{"id":2585,"is_a":["categorization","keyword","keyword_domain"],"name":"zotonic_topic_comments_and_community","title":"Comments and community","uri":"https:\/\/zotonic.com\/id\/2585"},"seq":3},{"created":"2026-09-09T13:48:08Z","object_id":{"id":2625,"is_a":["categorization","keyword","keyword_architecture"],"name":"zotonic_topic_model","title":"Model","uri":"https:\/\/zotonic.com\/id\/2625"},"seq":4},{"created":"2026-09-09T13:48:08Z","object_id":{"id":2638,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_edit","title":"Edit","uri":"https:\/\/zotonic.com\/id\/2638"},"seq":5},{"created":"2026-09-09T13:48:08Z","object_id":{"id":2643,"is_a":["categorization","keyword","keyword_task"],"name":"zotonic_topic_query","title":"Query","uri":"https:\/\/zotonic.com\/id\/2643"},"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":2063,"is_a":["text","documentation","reference","model"],"links":[{"rel":"self","target":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2063"},{"rel":"hub","target":"https:\/\/zotonic.com\/.zotonic\/websub"}],"medium":null,"medium_url":null,"name":"doc_model_model_comment","page_url":{"en":"https:\/\/zotonic.com\/docs\/2063\/comment","x-default":"https:\/\/zotonic.com\/docs\/2063\/comment"},"preview_url":null,"resource":{"version":4039,"pivot_location_lat":null,"title":"comment","is_authoritative":true,"body":"<p>Model for comments attached to resources. It provides listing, moderation checks, counting, and retrieval of individual comments.<\/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>\/anonymous\/...<\/code><\/td><td>Return whether anonymous comments are allowed; defaults to <code>true<\/code> when <code>mod_comment.anonymous<\/code> is unset.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/moderate\/...<\/code><\/td><td>Return whether new comments require moderation; defaults to <code>false<\/code> when <code>mod_comment.moderate<\/code> is unset\/empty.<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/rsc\/+id\/...<\/code><\/td><td>Return all comment rows for resource <code>+id<\/code> (ascending by creation time; requires resource visibility).<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/count\/+id\/...<\/code><\/td><td>Return total comment count for resource <code>+id<\/code> (requires resource visibility).<\/td><\/tr><tr><td><code>get<\/code><\/td><td><code>\/get\/+commentid\/...<\/code><\/td><td>Return comment record <code>+commentid<\/code>, or <code>undefined<\/code> if missing; access is denied when the linked resource is not visible.<\/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":"comment","is_protected":false,"visible_for":0,"tz":"UTC","language":["en"],"doc_source_hash":"166e4e43533bc3223dfe31f0e668d0caa195cdf6d56d1d6aa52208971444c878","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_comment\/src\/models\/m_comment.erl","publication_start":"2023-06-24T08:17:59Z","github_url":"https:\/\/github.com\/zotonic\/zotonic\/blob\/master\/apps\/zotonic_mod_comment\/src\/models\/m_comment.erl","pivot_location_lng":null,"doc_source_kind":"model","name":"doc_model_model_comment","is_unfindable":false,"is_published":true,"pivot_geocode":null,"created":"2020-05-30T05:47:54Z","uri":null,"doc_status":"current","is_dependent":false,"erlang_app":"zotonic_mod_comment","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":"28493fb676b2d92727e68d4fba20d89c56cf8ead\n","erlang_module":"m_comment","creator_id":{"id":336,"is_a":["person","robot"],"name":"gitbot","title":"Git","uri":"https:\/\/zotonic.com\/id\/336"},"modified":"2026-10-15T20:07:35Z","title_slug":"comment"},"uri":"https:\/\/zotonic.com\/id\/2063","uri_template":"https:\/\/zotonic.com\/id\/:id","websub":{"hub":"https:\/\/zotonic.com\/.zotonic\/websub","topic":"https:\/\/zotonic.com\/.zotonic\/websub\/topic\/2063"}},"status":"ok"}