Repository Public
1import Foundation23public extension AppSession {4 /// One job by id (`GET /jobs/{id}`): the job list is bounded, so a job reached from a search result, a deep5 /// link or an action may not be in it.6 func job(id: String) async throws -> API.Job {7 try await gateway.read { try await $0.getJob(path: .init(id: id)).ok.body.json }8 }9}10