Implemented the GetLastUpdatedEndpoint endpoint.

This commit is contained in:
Javier Cicchelli 2023-04-18 21:50:34 +02:00
parent 6b3ea5419a
commit dee2c5b4ce

View File

@ -0,0 +1,16 @@
import Communications
import Foundation
struct GetLastUpdatedEndpoint: Endpoint {
// MARK: Properties
let scheme: String = .Scheme.https
let host: String = .Host.amiiboApi
let port: Int?
let path: String = .Path.lastUpdated
let method: HTTPRequestMethod = .get
let headers: [String : String] = [:]
let body: Data?
}