Home Reference Source
public class | source

UserService

Extends:

BaseService → UserService

Interact with user API service

Method Summary

Public Methods
public

reset(): *

public

search(opts: object): *

Run a query on the search endpoint.

public

updateUsers(users: *): *

Inherited Summary

From class BaseService
public

Preform a DELETE action

public

get(url: string, params: object): object

Preform a GET action

public

post(url: string, data: object, params: object): object

Preform a POST action

public

postUpload(url: string, data: object, params: object): object

Preform a POST action

public

put(url: string, data: object): object

Preform a PUT action

Public Methods

public reset(): * source

Return:

*

Run a query on the search endpoint. See search docs for query info

Params:

NameTypeAttributeDescription
opts object

Query has

Return:

*

public updateUsers(users: *): * source

Params:

NameTypeAttributeDescription
users *

Return:

*