class SearchIngest::Api
- SearchIngest::Api
- ActionController::Base
- Reference
- Object
Defined in:
api.crConstant Summary
-
Log =
::Log.for(self)
-
PARSER_LIST =
["application/json"]
-
RESPONDER_LIST =
["application/json"]
Class Method Summary
-
.base_route
Helper for obtaining base route
- .failed_healthcheck=(failed_healthcheck : Bool)
- .failed_healthcheck? : Bool
- .healthcheck? : Bool
-
.reindex(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
Helper methods for performing redirect_to calls
- .table_manager : TableManager
Instance Method Summary
-
#backfill : Nil
Backfill all tables
-
#bad_media_type(error) : ContentError
covers no acceptable response format and not an acceptable post format
-
#base_route(*args, **options)
Helper for obtaining base route
-
#base_route(*args, **options, &)
Helper for obtaining base route
-
#index : Nil
health check
-
#invalid_param(error) : ParameterError
handles paramater missing or a bad paramater value / format
- #not_ready_error(_error) : Nil
-
#ready : Nil
has the service finished loading
-
#reindex(backfill : Bool = true) : Nil
Reindex all tables, backfills by default
-
#version : PlaceOS::Model::Version
return the version and build details of the service
Class Method Detail
def self.reindex(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
#
Helper methods for performing redirect_to calls
Instance Method Detail
def bad_media_type(error) : ContentError
#
covers no acceptable response format and not an acceptable post format
def invalid_param(error) : ParameterError
#
handles paramater missing or a bad paramater value / format