2023-04-10 15:31:22 +00:00
|
|
|
//
|
|
|
|
// GetLocationsEndpoint.swift
|
2023-04-11 23:50:30 +02:00
|
|
|
// Remote
|
2023-04-10 15:31:22 +00:00
|
|
|
//
|
|
|
|
// Created by Javier Cicchelli on 10/04/2023.
|
|
|
|
// Copyright © 2023 Röck+Cöde. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import APICore
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
struct GetLocationsEndpoint: Endpoint {
|
|
|
|
let scheme: String = .Scheme.https
|
|
|
|
let host: String = .Hosts.default
|
|
|
|
let port: Int? = nil
|
|
|
|
let path: String = .Paths.getLocations
|
|
|
|
let method: HTTPRequestMethod = .get
|
|
|
|
let headers: [String: String] = [:]
|
|
|
|
let body: Data? = nil
|
|
|
|
}
|