a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[backend/masto-client] Feature detection for our boost scheduling extension

Kopper 19667ef2 bbec3a79

+9
+9
Iceshrimp.Backend/Controllers/Mastodon/Schemas/InstanceInfoV2Response.cs
··· 24 24 [J("contact")] public InstanceContact Contact => new(adminContact); 25 25 [J("registrations")] public InstanceRegistrations Registrations => new(config.Security); 26 26 [J("configuration")] public InstanceConfigurationV2 Configuration => new(config.Instance); 27 + [J("api_versions")] public InstanceApiVersions ApiVersions => new(); 27 28 28 29 [J("usage")] public required InstanceUsage Usage { get; set; } 29 30 ··· 33 34 34 35 [J("thumbnail")] public required InstanceThumbnail Thumbnail { get; set; } 35 36 37 + 36 38 //TODO: add the rest 39 + } 40 + 41 + public class InstanceApiVersions 42 + { 43 + // this is modeled after https://codeberg.org/fediverse-pl/maep/pulls/2, however since the extensions aren't submitted 44 + // there (yet?) we'll use our own namespace for it 45 + [J("net.iceshrimp.scheduled_boosts")] public ushort ScheduledBoosts { get; set; } = 1; 37 46 } 38 47 39 48 public class InstanceConfigurationV2(Config.InstanceSection config)