Routers public enum Routers: URLRequestDelegate Undocumented initSessionByUserToken GET /initSession Declaration Swift case initSessionByUserToken(String, String) initSessionByCredentials GET /initSession Declaration Swift case initSessionByCredentials(String, String, String) killSession GET /killSession Declaration Swift case killSession getMyProfiles GET /getMyProfiles Declaration Swift case getMyProfiles getActiveProfile GET /getActiveProfile Declaration Swift case getActiveProfile changeActiveProfile POST /changeActiveProfile Declaration Swift case changeActiveProfile([String: AnyObject]) getMyEntities GET /getMyEntities Declaration Swift case getMyEntities getActiveEntities GET /getActiveEntities Declaration Swift case getActiveEntities changeActiveEntities POST /changeActiveEntities Declaration Swift case changeActiveEntities([String: AnyObject]) getFullSession GET /getFullSession Declaration Swift case getFullSession getGlpiConfig GET /getGlpiConfig Declaration Swift case getGlpiConfig getAllItems GET /:itemtype Declaration Swift case getAllItems(ItemType, QueryString.GetAllItems?) getItem GET /:itemtype/:id Declaration Swift case getItem(ItemType, Int, QueryString.GetAnItem?) getSubItems GET /:itemtype/:id/:sub_itemtype Declaration Swift case getSubItems(ItemType, Int, ItemType, QueryString.GetSubItems?) getMultipleItems GET /getMultipleItems Declaration Swift case getMultipleItems addItems POST /:itemtype Declaration Swift case addItems(ItemType, [String: AnyObject]) updateItems PUT /:itemtype/:id Declaration Swift case updateItems(ItemType, Int?, [String: AnyObject]) deleteItems DELETE /:itemtype/:id Declaration Swift case deleteItems(ItemType, Int?, QueryString.DeleteItems?, [String: AnyObject]) lostPassword PUT /lostPassword Declaration Swift case lostPassword([String: AnyObject]) method get HTTP Method Declaration Swift var method: HTTPMethod path build up and return the URL for each endpoint Declaration Swift var path: String query build up and return the query for each endpoint Declaration Swift var query: [URLQueryItem]? header build up and return the header for each endpoint Declaration Swift var header: [String: String] request() Returns a URL request or throws if an Error was encountered Throws An Error if the underlying URLRequest is nil. Declaration Swift public func request() -> URLRequest Return Value A URL request.