From b6e481d63eec15191f2717957682c13ee8a68308 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 26 Mar 2025 16:59:39 +0100 Subject: [feature] Allow user to choose "gallery" style layout for web view of profile (#3917) * [feature] Allow user to choose "gallery" style web layout * find a bug and squish it up and all day long you'll have good luck * just a sec * [performance] reindex public timeline + tinker with query a bit * fiddling * should be good now * last bit of finagling, i'm done now i prommy * panic normally --- docs/api/swagger.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docs/api') diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index ce415784a..1a96b0f65 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -179,6 +179,13 @@ definitions: description: The default posting content type for new statuses. type: string x-go-name: StatusContentType + web_layout: + description: |- + Layout to use for the web view of the account. + "microblog": default, classic microblog layout. + "gallery": gallery layout with media only. + type: string + x-go-name: WebLayout web_visibility: description: |- Visibility level(s) of posts to show for this account via the web api. @@ -4902,6 +4909,13 @@ paths: in: formData name: web_visibility type: string + - description: |- + Layout to use for the web view of the account. + "microblog": default, classic microblog layout. + "gallery": gallery layout with media only. + in: formData + name: web_layout + type: string - description: Name of 1st profile field to be added to this account's profile. (The index may be any string; add more indexes to send more fields.) in: formData name: fields_attributes[0][name] -- cgit v1.2.3