ClientAppData
public struct ClientAppData : Content, Sendable
Describes a client app that users may want to download. Includes the links to get it on each platform it’s available on.
Returned by: GET /api/v3/admin/clients, GET /api/v3/admin/clients/:client_app_id
-
Declaration
Swift
var clientAppID: UUID -
Declaration
Swift
var name: String -
Declaration
Swift
var description: String -
Filename of the app’s icon. Get it from
/api/v3/image/full/IDor/api/v3/image/thumb/ID. May be nil.Declaration
Swift
var image: String? -
Declaration
Swift
var developer: String -
Clients should sort apps by this field.
Declaration
Swift
var sortName: String -
One entry for each platform the app is available on. A
urlthat begins with “/” refers to this server.Declaration
Swift
var links: [ClientAppLink] -
The platforms the app is available on, derived from
links.Declaration
Swift
var platforms: [ClientAppPlatform] -
If this app is one of the known Swiftarr clients, which one. Not intended to be shown to users.
Declaration
Swift
var swiftarrClient: SwiftarrClientApp? -
Declaration
Swift
init(_ app: ClientApp) throws
View on GitHub