From c697d3fd1effc7365c051943bb3012af41398799 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 18 Apr 2023 21:49:54 +0200 Subject: [PATCH] Implemented the GetSeriesEndpoint endpoint. --- Sources/Endpoints/GetSeriesEndpoint.swift | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Sources/Endpoints/GetSeriesEndpoint.swift diff --git a/Sources/Endpoints/GetSeriesEndpoint.swift b/Sources/Endpoints/GetSeriesEndpoint.swift new file mode 100644 index 0000000..f791566 --- /dev/null +++ b/Sources/Endpoints/GetSeriesEndpoint.swift @@ -0,0 +1,16 @@ +import Communications +import Foundation + +struct GetSeriesEndpoint: Endpoint { + + // MARK: Properties + + let scheme: String = .Scheme.https + let host: String = .Host.amiiboApi + let port: Int? + let path: String = .Path.series + let method: HTTPRequestMethod = .get + let headers: [String : String] = [:] + let body: Data? + +}