{"id":1887991,"name":"jrgong","username":"jrgong","avatar_template":"https://avatars.discourse-cdn.com/v4/letter/j/c57346/{size}.png","created_at":"2025-11-11T19:13:57.670Z","cooked":"\u003cp\u003eIn our use case, we are trying to GET localized posts from closed categories in our forum.\u003c/p\u003e\n\u003cp\u003eIt would be a neat addition for the REST API to support \u003ccode\u003e?tl=en\u003c/code\u003e as a parameter to pull the translated version of the cooked post.\u003c/p\u003e\n\u003cp\u003eCurrently, the tl param only works for anons.\u003c/p\u003e","post_number":1,"post_type":1,"posts_count":10,"updated_at":"2025-11-12T08:36:54.833Z","reply_count":0,"reply_to_post_number":null,"quote_count":0,"incoming_link_count":12,"reads":19,"readers_count":18,"score":123.8,"yours":false,"topic_id":388173,"topic_slug":"support-for-tl-lang-parameters-in-rest-api-for-non-anon-users","display_username":"jrgong","primary_group_name":null,"flair_name":null,"flair_url":null,"flair_bg_color":null,"flair_color":null,"flair_group_id":null,"badges_granted":[],"version":3,"can_edit":false,"can_delete":false,"can_recover":false,"can_see_hidden_post":false,"can_wiki":false,"user_title":"","bookmarked":false,"raw":"In our use case, we are trying to GET localized posts from closed categories in our forum.\n\nIt would be a neat addition for the REST API to support `?tl=en` as a parameter to pull the translated version of the cooked post.\n\nCurrently, the tl param only works for anons.","actions_summary":[{"id":2,"count":2}],"moderator":false,"admin":false,"staff":false,"user_id":60726,"hidden":false,"trust_level":2,"deleted_at":null,"user_deleted":false,"edit_reason":null,"can_view_edit_history":true,"wiki":false,"post_url":"/t/support-for-tl-lang-parameters-in-rest-api-for-non-anon-users/388173/1","locale":"en","is_localized":false,"language":"en","activity_pub_enabled":true,"activity_pub_delivered_at":null,"activity_pub_scheduled_at":null,"activity_pub_published_at":null,"activity_pub_deleted_at":null,"activity_pub_updated_at":null,"activity_pub_visibility":"public","activity_pub_local":true,"activity_pub_url":"https://meta.discourse.org/t/support-for-tl-lang-parameters-in-rest-api-for-non-anon-users/388173/1","activity_pub_domain":null,"activity_pub_object_type":"Note","activity_pub_first_post":true,"activity_pub_object_id":null,"event":null,"calendar_details":[],"customer_flair_customer":null,"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,"can_vote":true}