{"post_stream":{"posts":[{"id":235104,"name":"Kevin Wildenradt","username":"Kevin_Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png","created_at":"2016-11-07T19:33:26.763Z","cooked":"\u003cp\u003eI’ve noticed that all posts bear both a post_id and a post_number. I understand that post_id is the unique identifier of the post in the entire forum, while post_number is the number of the post in its topic. Posts identify themselves as replies to other posts by referencing the post_number of another post in the reply_to_post_number field. Whenever any topic (or section of posts from a topic) is retrieved from the server, it contains a sorted array of the post_id’s of every post in the topic. The front end provides access to specific post_numbers via the URL, but when such a URL is actually accessed the request made to the back end is in terms of post_ids (presumably accessed from the above mentioned array).\u003c/p\u003e\n\u003cp\u003eThis is all well and good, but it seems like everything post_number is used for could be accomplished with post_id instead: post_id’s are always increasing, so they can be used to determine the relative ordering of posts in a topic. Since they are globally unique they are certainly unique within each topic, and so could be used in a reply_to_post_id that serves the same purpose as reply_to_post_number.\u003c/p\u003e\n\u003cp\u003eTLDR; What purpose does post_number serve that could not be easily accomplished with post_id? If there is none then removing it would streamline the data model, which would seem to be a good thing.\u003c/p\u003e","post_number":1,"post_type":1,"posts_count":8,"updated_at":"2016-11-07T19:39:16.294Z","reply_count":1,"reply_to_post_number":null,"quote_count":0,"incoming_link_count":188,"reads":104,"readers_count":103,"score":960.8,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Kevin Wildenradt","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":2,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":null,"bookmarked":false,"actions_summary":[],"moderator":false,"admin":false,"staff":false,"user_id":24312,"hidden":false,"trust_level":2,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/1","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"calendar_details":[],"customer_flair_customer":null,"direct_reply_count":0,"reactions":[],"current_user_reaction":null,"reaction_users_count":0,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null,"can_vote":false},{"id":235123,"name":"Sam Saffron","username":"sam","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png","created_at":"2016-11-07T20:33:05.207Z","cooked":"\u003caside class=\"quote no-group\" data-username=\"Kevin_Wildenradt\" data-post=\"1\" data-topic=\"52634\"\u003e\n\u003cdiv class=\"title\"\u003e\n\u003cdiv class=\"quote-controls\"\u003e\u003c/div\u003e\n\u003cimg loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/kevin_wildenradt/48/62507_2.png\" class=\"avatar\"\u003e Kevin_Wildenradt:\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp\u003eTLDR; What purpose does post_number serve that could not be easily accomplished with post_id?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/aside\u003e\n\u003cp\u003eThis allows \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/3\" class=\"inline-onebox\"\u003eWhy post_number? - #3 by Kevin_Wildenradt\u003c/a\u003e to continue to work efficiently even if \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/2\" class=\"inline-onebox\"\u003eWhy post_number? - #2 by sam\u003c/a\u003e is deleted.\u003c/p\u003e\n\u003cp\u003eAnd \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/3\" class=\"inline-onebox\"\u003eWhy post_number? - #3 by Kevin_Wildenradt\u003c/a\u003e is arguably much prettier than \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/373873\" class=\"inline-onebox\"\u003eWhy post_number? - #9 by sam\u003c/a\u003e or \u003ca href=\"https://meta.discourse.org/t/why-post-number/373873\"\u003ehttps://meta.discourse.org/t/why-post-number/373873\u003c/a\u003e which does not hint properly on the topic.\u003c/p\u003e","post_number":2,"post_type":1,"posts_count":8,"updated_at":"2016-11-07T20:33:36.902Z","reply_count":1,"reply_to_post_number":null,"quote_count":1,"incoming_link_count":1,"reads":101,"readers_count":100,"score":150.2,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Sam Saffron","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_bg_color":"","flair_color":"111","flair_group_id":47,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":"co-founder","title_is_group":false,"bookmarked":false,"actions_summary":[{"id":2,"count":4}],"moderator":false,"admin":true,"staff":true,"user_id":1,"hidden":false,"trust_level":3,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/2","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":1,"reactions":[{"id":"heart","type":"emoji","count":4}],"current_user_reaction":null,"reaction_users_count":4,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":235228,"name":"Kevin Wildenradt","username":"Kevin_Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png","created_at":"2016-11-08T01:54:25.364Z","cooked":"\u003cp\u003eThanks for getting back to me so quickly Sam \u003cimg src=\"https://emoji.discourse-cdn.com/twitter/smile.png?v=12\" title=\":smile:\" class=\"emoji\" alt=\":smile:\" loading=\"lazy\" width=\"20\" height=\"20\"\u003e\u003c/p\u003e\n\u003caside class=\"quote group-team\" data-username=\"sam\" data-post=\"2\" data-topic=\"52634\"\u003e\n\u003cdiv class=\"title\"\u003e\n\u003cdiv class=\"quote-controls\"\u003e\u003c/div\u003e\n\u003cimg loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/sam/48/102149_2.png\" class=\"avatar\"\u003e sam:\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp\u003eThis allows \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/3\" class=\"inline-onebox\"\u003eWhy post_number? - #3 by Kevin_Wildenradt\u003c/a\u003e to continue to work efficiently even if \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/2\" class=\"inline-onebox\"\u003eWhy post_number? - #2 by sam\u003c/a\u003e is deleted.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/aside\u003e\n\u003cp\u003eHow would post_id not work for this scenario? It would seem that if 2 is deleted, the third post would become the second post, but its post_number does not change accordingly and is now wrong. Post_id would behave the same way in this scenario, except that it would not wrongfully identify what is now the second post in the thread as the third.\u003c/p\u003e\n\u003caside class=\"quote group-team\" data-username=\"sam\" data-post=\"2\" data-topic=\"52634\"\u003e\n\u003cdiv class=\"title\"\u003e\n\u003cdiv class=\"quote-controls\"\u003e\u003c/div\u003e\n\u003cimg loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/sam/48/102149_2.png\" class=\"avatar\"\u003e sam:\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp\u003e\u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/3\" class=\"inline-onebox\"\u003eWhy post_number? - #3 by Kevin_Wildenradt\u003c/a\u003e is arguably much prettier than \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634/373873\" class=\"inline-onebox\"\u003eWhy post_number? - #9 by sam\u003c/a\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/aside\u003e\n\u003cp\u003eAgreed that it is a prettier URL.\u003c/p\u003e","post_number":3,"post_type":1,"posts_count":8,"updated_at":"2016-11-08T01:55:48.633Z","reply_count":1,"reply_to_post_number":2,"quote_count":1,"incoming_link_count":6,"reads":89,"readers_count":88,"score":52.8,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Kevin Wildenradt","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":null,"bookmarked":false,"actions_summary":[],"moderator":false,"admin":false,"staff":false,"user_id":24312,"hidden":false,"trust_level":2,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/3","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":1,"reactions":[],"current_user_reaction":null,"reaction_users_count":0,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":235230,"name":"Mittineague","username":"Mittineague","avatar_template":"/user_avatar/meta.discourse.org/mittineague/{size}/114259_2.png","created_at":"2016-11-08T01:56:33.372Z","cooked":"\u003cp\u003eAnd if post 2 is later undeleted after post 3 takes its place, does it then become post 1 1/2 ?\u003c/p\u003e","post_number":4,"post_type":1,"posts_count":8,"updated_at":"2016-11-08T01:56:33.372Z","reply_count":0,"reply_to_post_number":null,"quote_count":0,"incoming_link_count":0,"reads":88,"readers_count":87,"score":107.6,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Mittineague","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":null,"bookmarked":false,"actions_summary":[{"id":2,"count":2}],"moderator":false,"admin":false,"staff":false,"user_id":8617,"hidden":false,"trust_level":1,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/4","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":0,"reactions":[{"id":"heart","type":"emoji","count":2}],"current_user_reaction":null,"reaction_users_count":2,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":235233,"name":"Kevin Wildenradt","username":"Kevin_Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png","created_at":"2016-11-08T02:08:40.007Z","cooked":"\u003cp\u003e\u003ca class=\"mention\" href=\"/u/mittineague\"\u003e@Mittineague\u003c/a\u003e I do not believe that post_number is ever updated, even in the event of post deletions. If it were updated then deleting a post would result in every link to every post after that post being broken.\u003c/p\u003e\n\u003cp\u003eI have just deleted the post immediately before this, post_number 5. This was post_number 6 before the deletion, and it still is if you look at the JSON representation of this topic \u003ca href=\"https://meta.discourse.org/t/why-post-number/52634.json\" class=\"inline-onebox\"\u003eWhy post_number?\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eI have a running discourse instance without the 24 hour deletion delay, and in my testing there the post_number remains the same after deleting preceding posts.\u003c/p\u003e","post_number":6,"post_type":1,"posts_count":8,"updated_at":"2016-11-08T02:15:39.883Z","reply_count":0,"reply_to_post_number":null,"quote_count":0,"incoming_link_count":0,"reads":86,"readers_count":85,"score":17.2,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Kevin Wildenradt","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":2,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":null,"bookmarked":false,"actions_summary":[],"moderator":false,"admin":false,"staff":false,"user_id":24312,"hidden":false,"trust_level":2,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/6","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":0,"reactions":[],"current_user_reaction":null,"reaction_users_count":0,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":235237,"name":"Sam Saffron","username":"sam","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png","created_at":"2016-11-08T03:09:34.551Z","cooked":"\u003caside class=\"quote no-group\" data-username=\"Kevin_Wildenradt\" data-post=\"3\" data-topic=\"52634\"\u003e\n\u003cdiv class=\"title\"\u003e\n\u003cdiv class=\"quote-controls\"\u003e\u003c/div\u003e\n\u003cimg loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/kevin_wildenradt/48/62507_2.png\" class=\"avatar\"\u003e Kevin_Wildenradt:\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp\u003eHow would post_id not work for this scenario? It would seem that if 2 is deleted, the third post would become the second post, but its post_number does not change accordingly and is now wrong.\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/aside\u003e\n\u003cp\u003eThe post number is correct now, cause external links continue to work. If we ever renumbered links would break which would be terrible.\u003c/p\u003e\n\u003cp\u003e(post number, topic_id) is an alias for (post_id) which is used to keep urls looking just right.\u003c/p\u003e","post_number":7,"post_type":1,"posts_count":8,"updated_at":"2016-11-08T03:09:34.551Z","reply_count":1,"reply_to_post_number":3,"quote_count":1,"incoming_link_count":5,"reads":81,"readers_count":80,"score":151.2,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Sam Saffron","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_bg_color":"","flair_color":"111","flair_group_id":47,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":"co-founder","title_is_group":false,"bookmarked":false,"actions_summary":[{"id":2,"count":3}],"moderator":false,"admin":true,"staff":true,"user_id":1,"hidden":false,"trust_level":3,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/7","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":1,"reactions":[{"id":"heart","type":"emoji","count":3}],"current_user_reaction":null,"reaction_users_count":3,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":236215,"name":"Kevin Wildenradt","username":"Kevin_Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png","created_at":"2016-11-11T22:08:13.062Z","cooked":"\u003cp\u003eThat makes sense, but why is reply_to_post_number used to identify which post a post is a reply to? If post_number only exists to make URL’s look prettier, why is it the identifier that replies depend on? Wouldn’t it be more consistent to make replies depend on post_id, a much more fundamental identifier? You would have to check that a post with that post_id existed in the thread the reply was being posted in, but you already have to do that with post_number.\u003c/p\u003e","post_number":8,"post_type":1,"posts_count":8,"updated_at":"2016-11-11T22:08:13.062Z","reply_count":1,"reply_to_post_number":7,"quote_count":0,"incoming_link_count":0,"reads":68,"readers_count":67,"score":63.6,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Kevin Wildenradt","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":null,"reply_to_user":{"id":1,"username":"sam","name":"Sam Saffron","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png"},"bookmarked":false,"actions_summary":[{"id":2,"count":1}],"moderator":false,"admin":false,"staff":false,"user_id":24312,"hidden":false,"trust_level":2,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/8","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":1,"reactions":[{"id":"heart","type":"emoji","count":1}],"current_user_reaction":null,"reaction_users_count":1,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null},{"id":236222,"name":"Sam Saffron","username":"sam","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png","created_at":"2016-11-11T22:59:58.915Z","cooked":"\u003caside class=\"quote no-group\" data-username=\"Kevin_Wildenradt\" data-post=\"8\" data-topic=\"52634\"\u003e\n\u003cdiv class=\"title\"\u003e\n\u003cdiv class=\"quote-controls\"\u003e\u003c/div\u003e\n\u003cimg loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://d3bpeqsaub0i6y.cloudfront.net/user_avatar/meta.discourse.org/kevin_wildenradt/48/62507_2.png\" class=\"avatar\"\u003e Kevin_Wildenradt:\u003c/div\u003e\n\u003cblockquote\u003e\n\u003cp\u003ewhy is it the identifier that replies depend on? Wouldn’t it be more consistent to make replies depend on post_id, a much more fundamental identifier?\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003c/aside\u003e\n\u003cp\u003eYeah, this is a historic artefact we may get to cleaning it up at some point.\u003c/p\u003e","post_number":9,"post_type":1,"posts_count":8,"updated_at":"2016-11-11T22:59:58.915Z","reply_count":0,"reply_to_post_number":8,"quote_count":1,"incoming_link_count":7,"reads":60,"readers_count":59,"score":152.0,"yours":false,"topic_id":52634,"topic_slug":"why-post-number","display_username":"Sam Saffron","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_bg_color":"","flair_color":"111","flair_group_id":47,"badges_granted":[],"version":1,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"read":true,"user_title":"co-founder","title_is_group":false,"bookmarked":false,"actions_summary":[{"id":2,"count":3}],"moderator":false,"admin":true,"staff":true,"user_id":1,"hidden":false,"trust_level":3,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/why-post-number/52634/9","locale":null,"is_localized":false,"activity_pub_enabled":false,"boosts":[],"can_boost":false,"event":null,"customer_flair_customer":null,"direct_reply_count":0,"reactions":[{"id":"heart","type":"emoji","count":3}],"current_user_reaction":null,"reaction_users_count":3,"current_user_used_main_reaction":false,"can_accept_answer":false,"can_unaccept_answer":false,"accepted_answer":false,"topic_accepted_answer":null}],"stream":[235104,235123,235228,235230,235233,235237,236215,236222]},"timeline_lookup":[[1,3440],[7,3436]],"suggested_topics":[],"tags":[],"tags_descriptions":{},"fancy_title":"Why post_number?","fancy_title_localized":false,"locale":null,"id":52634,"title":"Why post_number?","posts_count":8,"created_at":"2016-11-07T19:33:26.699Z","views":1962,"reply_count":4,"like_count":13,"last_posted_at":"2016-11-11T22:59:58.915Z","visible":true,"closed":false,"archived":false,"has_summary":false,"archetype":"regular","slug":"why-post-number","category_id":7,"word_count":825,"deleted_at":null,"user_id":24312,"featured_link":null,"pinned_globally":false,"pinned_at":null,"pinned_until":null,"image_url":null,"slow_mode_seconds":0,"draft":null,"draft_key":"topic_52634","draft_sequence":null,"unpinned":null,"pinned":false,"current_post_number":1,"highest_post_number":9,"deleted_by":null,"actions_summary":[{"id":4,"count":0,"hidden":false,"can_act":false},{"id":8,"count":0,"hidden":false,"can_act":false},{"id":10,"count":0,"hidden":false,"can_act":false},{"id":7,"count":0,"hidden":false,"can_act":false},{"id":1002,"count":0,"hidden":false,"can_act":false}],"chunk_size":20,"bookmarked":false,"topic_timer":null,"message_bus_last_id":0,"participant_count":3,"show_read_indicator":false,"thumbnails":null,"slow_mode_enabled_until":null,"has_localized_content":false,"activity_pub_enabled":null,"related_topics":[{"fancy_title":"Post number on slider disagrees with post","fancy_title_localized":false,"locale":"en","id":123477,"title":"Post number on slider disagrees with post","slug":"post-number-on-slider-disagrees-with-post","posts_count":13,"reply_count":8,"highest_post_number":14,"image_url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_1024x600.png","created_at":"2019-07-19T23:21:24.109Z","last_posted_at":"2023-01-13T23:15:18.245Z","bumped":true,"bumped_at":"2019-07-20T21:03:24.484Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Kind of a small issue, but I just noticed that the post number on the post doesn’t agree with the post number on the right side scroll slider. In the example below, I’m looking at the last post in the thread. The disagre\u0026hellip;","visible":true,"closed":true,"archived":false,"bookmarked":null,"liked":null,"thumbnails":[{"max_width":null,"max_height":null,"width":1242,"height":728,"url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43.png"},{"max_width":1024,"max_height":1024,"width":1024,"height":600,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_1024x600.png"},{"max_width":800,"max_height":800,"width":800,"height":468,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_800x468.png"},{"max_width":600,"max_height":600,"width":600,"height":351,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_600x351.png"},{"max_width":400,"max_height":400,"width":400,"height":234,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_400x234.png"},{"max_width":300,"max_height":300,"width":300,"height":175,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_300x175.png"},{"max_width":200,"max_height":200,"width":200,"height":117,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/8/4/845d065f1980ff4cb3919ae1d0f93d762c6abc43_2_200x117.png"}],"tags":[],"tags_descriptions":{},"like_count":6,"views":903,"category_id":6,"featured_link":null,"op_like_count":1,"ai_topic_gist":"Discussion concludes that post numbers on sliders and posts disagree due to hidden posts; proposed solutions involve adjusting displayed numbers or including hidden posts in relative count, but no implementation is planned.","has_accepted_answer":false,"posters":[{"extras":null,"description":"Исходный автор","user":{"id":55071,"username":"Loki","name":"Wyze Loki","avatar_template":"https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/{size}.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":15209,"username":"pfaffman","name":"Jay Pfaffman","avatar_template":"/user_avatar/meta.discourse.org/pfaffman/{size}/120154_2.png","flair_name":"support-experts","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/2/e250ec403580530d19e6a9ed42d0d525a51a9dbe.svg","flair_bg_color":"FFFFFF","flair_group_id":142,"trust_level":4}},{"extras":null,"description":"Частый автор","user":{"id":8617,"username":"Mittineague","name":"Mittineague","avatar_template":"/user_avatar/meta.discourse.org/mittineague/{size}/114259_2.png","trust_level":1}},{"extras":null,"description":"Частый автор","user":{"id":32,"username":"codinghorror","name":"Jeff Atwood","avatar_template":"/user_avatar/meta.discourse.org/codinghorror/{size}/110067_2.png","admin":true,"trust_level":2}},{"extras":"latest","description":"Последний автор","user":{"id":13042,"username":"Stephen","name":"Stephen","avatar_template":"/user_avatar/meta.discourse.org/stephen/{size}/95011_2.png","flair_name":"support-experts","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/2/e250ec403580530d19e6a9ed42d0d525a51a9dbe.svg","flair_bg_color":"FFFFFF","flair_group_id":142,"trust_level":4}}]},{"fancy_title":"Whispered replies leak in the post number","fancy_title_localized":false,"locale":"en","id":176160,"title":"Whispered replies leak in the post number","slug":"whispered-replies-leak-in-the-post-number","posts_count":31,"reply_count":25,"highest_post_number":33,"image_url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_1024x311.png","created_at":"2021-01-14T23:06:02.846Z","last_posted_at":"2021-02-25T00:03:34.157Z","bumped":true,"bumped_at":"2021-01-26T00:02:40.727Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Similar to some bugs before, if you look at the post count given in the linking box of a post, it gives the post #.  However, this doesn’t match the numbers displayed in the navigation bar on the right. \nI think this top\u0026hellip;","visible":true,"closed":true,"archived":false,"bookmarked":null,"liked":null,"thumbnails":[{"max_width":null,"max_height":null,"width":2517,"height":766,"url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245.png"},{"max_width":1024,"max_height":1024,"width":1024,"height":311,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_1024x311.png"},{"max_width":800,"max_height":800,"width":800,"height":243,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_800x243.png"},{"max_width":600,"max_height":600,"width":600,"height":182,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_600x182.png"},{"max_width":400,"max_height":400,"width":400,"height":121,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_400x121.png"},{"max_width":300,"max_height":300,"width":300,"height":91,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_300x91.png"},{"max_width":200,"max_height":200,"width":200,"height":60,"url":"https://d11a6trkgmumsb.cloudfront.net/optimized/3X/0/0/003aac14b71c97cf2cbac825429bf749866ce245_2_200x60.png"}],"tags":[{"id":528,"name":"шепот","slug":"whispers"}],"tags_descriptions":{},"like_count":53,"views":1683,"category_id":6,"featured_link":null,"op_like_count":1,"ai_topic_gist":"Discourse users discuss post number inconsistencies, with some advocating for a change to display consistent numbers between the timeline and post linking box, while others argue it's not a critical issue and would require significant coding changes.","has_accepted_answer":true,"posters":[{"extras":null,"description":"Исходный автор","user":{"id":85252,"username":"TallTrees","name":"","avatar_template":"/user_avatar/meta.discourse.org/talltrees/{size}/208620_2.png","trust_level":2}},{"extras":null,"description":"Принятый ответ","user":{"id":32,"username":"codinghorror","name":"Jeff Atwood","avatar_template":"/user_avatar/meta.discourse.org/codinghorror/{size}/110067_2.png","admin":true,"trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":3062,"username":"Sailsman63","name":"Luke S","avatar_template":"https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/{size}.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":62537,"username":"lucasbasquerotto","name":"Lucas Basquerotto","avatar_template":"/user_avatar/meta.discourse.org/lucasbasquerotto/{size}/133376_2.png","trust_level":2}},{"extras":"latest","description":"Последний автор","user":{"id":-1,"username":"system","name":"system","avatar_template":"/user_avatar/meta.discourse.org/system/{size}/443519_2.png","admin":true,"moderator":true,"trust_level":4}}]},{"fancy_title":"From post number to post id","fancy_title_localized":false,"locale":"en","id":193247,"title":"From post number to post id","slug":"from-post-number-to-post-id","posts_count":3,"reply_count":0,"highest_post_number":3,"image_url":null,"created_at":"2021-06-09T07:06:57.447Z","last_posted_at":"2021-07-21T16:43:15.899Z","bumped":true,"bumped_at":"2021-07-21T17:10:03.983Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Hi everybody! \nI’m wondering whether there’s a way through Discourse API to get the post id from a canonical post url such as https://myweb.site/t/\u0026lt;topic_id\u0026gt;/\u0026lt;post_number\u0026gt; where of course TN is the topic id/number and PN\u0026hellip;","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"thumbnails":null,"tags":[{"id":330,"name":"rest-api","slug":"rest-api"}],"tags_descriptions":{"rest-api":"Темы, касающиеся выполнения внешних запросов к Discourse"},"like_count":6,"views":1452,"category_id":7,"featured_link":null,"op_like_count":3,"ai_topic_gist":"Using `/t//posts.json`, the post_number-th post contains the post id, but pagination is needed for more than 20 posts; a workaround uses `{print: true}` and `find` to address pagination and moderation-related issues.","has_accepted_answer":false,"posters":[{"extras":null,"description":"Исходный автор","user":{"id":34393,"username":"marcozambi","name":"Marco","avatar_template":"/user_avatar/meta.discourse.org/marcozambi/{size}/119505_2.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":55585,"username":"Mark_Schmucker","name":"mark78","avatar_template":"/user_avatar/meta.discourse.org/mark_schmucker/{size}/124810_2.png","trust_level":2}},{"extras":"latest","description":"Последний автор","user":{"id":77055,"username":"benkeks","name":"benkeks🍪","avatar_template":"/user_avatar/meta.discourse.org/benkeks/{size}/175218_2.png","trust_level":2}}]},{"fancy_title":"Show post numbers","fancy_title_localized":false,"locale":"en","id":66097,"title":"Show post numbers","slug":"show-post-numbers","posts_count":11,"reply_count":8,"highest_post_number":11,"image_url":null,"created_at":"2017-07-13T02:07:11.124Z","last_posted_at":"2025-01-23T04:52:02.060Z","bumped":true,"bumped_at":"2025-01-23T04:52:02.060Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"Is it possible to show post numbers for each post (Or easy to do via CSS or similar). My use case is running forum mafia, where allowing users to easily refer to a post without the bulk of quoting it would be amazing.","visible":true,"closed":false,"archived":false,"bookmarked":null,"liked":null,"thumbnails":null,"tags":[],"tags_descriptions":{},"like_count":19,"views":1341,"category_id":2,"featured_link":null,"op_like_count":1,"ai_topic_gist":"Post numbers can be shown using a theme component with javascript, with improvements suggested for the initial solution, including using decorateCookedElement and ember's schedule function.","has_accepted_answer":false,"posters":[{"extras":null,"description":"Исходный автор","user":{"id":31151,"username":"ccatlett2000","name":"ConnorJC","avatar_template":"/user_avatar/meta.discourse.org/ccatlett2000/{size}/75202_2.png","trust_level":1}},{"extras":null,"description":"Частый автор","user":{"id":8300,"username":"cpradio","name":"cpradio","avatar_template":"/user_avatar/meta.discourse.org/cpradio/{size}/4970_2.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":7720,"username":"rahim123","name":"","avatar_template":"https://avatars.discourse-cdn.com/v4/letter/r/df705f/{size}.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":35474,"username":"Canapin","name":"Coin-coin le Canapin","avatar_template":"/user_avatar/meta.discourse.org/canapin/{size}/119591_2.png","trust_level":3}},{"extras":"latest","description":"Последний автор","user":{"id":160166,"username":"DummyCode","name":"","avatar_template":"/user_avatar/meta.discourse.org/dummycode/{size}/460183_2.png","trust_level":1}}]},{"fancy_title":"Jump to post does not reflect post deletions","fancy_title_localized":false,"locale":"en","id":119006,"title":"Jump to post does not reflect post deletions","slug":"jump-to-post-does-not-reflect-post-deletions","posts_count":11,"reply_count":2,"highest_post_number":11,"image_url":null,"created_at":"2019-05-29T15:57:00.778Z","last_posted_at":"2019-05-30T16:25:48.257Z","bumped":true,"bumped_at":"2019-05-29T16:25:41.944Z","archetype":"regular","unseen":false,"pinned":false,"unpinned":null,"excerpt":"When using the # hotkey to jump to a post number it goes to that number + 1 instead of the indicated post.","visible":true,"closed":true,"archived":false,"bookmarked":null,"liked":null,"thumbnails":null,"tags":[],"tags_descriptions":{},"like_count":4,"views":929,"category_id":9,"featured_link":null,"op_like_count":0,"ai_topic_gist":"The issue arises when using the # hotkey to jump to a post number, as it counts hidden posts, causing a mismatch between the indicated post number and the actual post displayed.","has_accepted_answer":false,"posters":[{"extras":null,"description":"Исходный автор","user":{"id":38695,"username":"Ellibereth","name":"","avatar_template":"/user_avatar/meta.discourse.org/ellibereth/{size}/202896_2.png","trust_level":2}},{"extras":null,"description":"Частый автор","user":{"id":21029,"username":"pmusaraj","name":"Penar Musaraj","avatar_template":"/user_avatar/meta.discourse.org/pmusaraj/{size}/119489_2.png","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_color":"111","flair_group_id":47,"admin":true,"trust_level":3}},{"extras":null,"description":"Частый автор","user":{"id":3,"username":"supermathie","name":"Michael Brown","avatar_template":"/user_avatar/meta.discourse.org/supermathie/{size}/507518_2.png","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_color":"111","flair_group_id":47,"admin":true,"trust_level":3}},{"extras":"latest","description":"Последний автор","user":{"id":23163,"username":"j.jaffeux","name":"Joffrey Jaffeux","avatar_template":"/user_avatar/meta.discourse.org/j.jaffeux/{size}/60297_2.png","primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_color":"111","flair_group_id":47,"admin":true,"trust_level":2}}]}],"summarizable":true,"has_cached_summary":true,"is_nested_view":null,"valid_reactions":["heart","laughing","cry","exploding_head","clap","confetti_ball","hugs","chefs_kiss","100","+1","rocket","star_struck","discourse","eyes"],"can_vote":false,"vote_count":0,"user_voted":false,"discourse_zendesk_plugin_zendesk_id":null,"discourse_zendesk_plugin_zendesk_url":"https://your-url.zendesk.com/agent/tickets/","details":{"can_edit":false,"notification_level":1,"participants":[{"id":24312,"username":"Kevin_Wildenradt","name":"Kevin Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png","post_count":4,"primary_group_name":null,"flair_name":null,"flair_url":null,"flair_color":null,"flair_bg_color":null,"flair_group_id":null,"trust_level":2},{"id":1,"username":"sam","name":"Sam Saffron","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png","post_count":3,"primary_group_name":"team","flair_name":"team","flair_url":"https://d11a6trkgmumsb.cloudfront.net/original/3X/e/b/ebee30bd98aef20357e4a177a5a1e45b877ce088.svg","flair_color":"111","flair_bg_color":"","flair_group_id":47,"admin":true,"trust_level":3},{"id":8617,"username":"Mittineague","name":"Mittineague","avatar_template":"/user_avatar/meta.discourse.org/mittineague/{size}/114259_2.png","post_count":1,"primary_group_name":null,"flair_name":null,"flair_url":null,"flair_color":null,"flair_bg_color":null,"flair_group_id":null,"trust_level":1}],"created_by":{"id":24312,"username":"Kevin_Wildenradt","name":"Kevin Wildenradt","avatar_template":"/user_avatar/meta.discourse.org/kevin_wildenradt/{size}/62507_2.png"},"last_poster":{"id":1,"username":"sam","name":"Sam Saffron","avatar_template":"/user_avatar/meta.discourse.org/sam/{size}/102149_2.png"}},"bookmarks":[]}