package
1.1.1
Repository: https://github.com/rtlnl/phoenix.git
Documentation: pkg.go.dev

# Functions

Batch will upload in batch a set to the database.
BatchStatus returns the current status of the batch upload.
CreateContainer creates a new container for the given publication point and campaign.
CreateModel create a new model in the database where to upload the data.
CreateStreaming creates a new record in the selected campaign.
DeleteRecommendation handles a deletion for a single recommendation item in the list given a signalId and modelName.
DeleteStreaming deletes a single record in the selected campaign.
EmptyContainer truncate the container's data.
EmptyModel truncate the content of a model but leave the model in the database.
GetAllContainers returns all the containers in the database.
GetAllModels returns all the models in the database.
GetContainer returns an already existing container.
GetDataPreview returns a preview of the dataset.
GetModel returns the model's information from the given parameters in input.
Healthz will ping the api to make sure that it's alive.
LinkModel attaches the specified models in input to an existing container.
LongVersion returns the current version of the APIs.
ManagementModelRequestStructureValidation validates structure and content.
ManagementModelRequestValidation validates that there are no errors in the ManagementModelRequest interface.
NewInternalAPI creates the o object.
UpdateStreaming updates a single record in the selected campaign.
ValidationConcatenationErrorMsg customized error message for the validation.

# Structs

BatchBulkResponse is the object that represents the payload of the response when uploading from S3.
BatchRequest is the object that represents the payload of the request for the batch endpoints Conditions: Data takes precedence in case also DataLocation is specified.
BatchResponse is the object that represents the payload of the response for the batch endpoints.
BatchStatusResponse is the response payload for getting the status of the bulk upload from S3.
BatchStatusResponseError is the response paylod when the batch upload failed.
HealthzResponse is the object that represents the response for the healthz endpoint.
Internal is the struct that will retain the server for ingesting the event from the trackers.
ManagementContainerRequest handles the request from the client.
ManagementContainerResponse handles the response object to the client.
ManagementContainersResponse handles the response when there are multiple containers.
ManagementDataPreviewResponse handles the data preview response.
ManagementModelRequest is the object that represents the payload of the request for the /management/model endpoints.
ManagementModelResponse is the object that represents the payload of the response for the /management/model endpoints.
ManagementModelsResponse handles the response when multiple models.
RecommendationRequest is the object that represents the payload for the requestin the recommendation streaming endpoint.
StreamingRequest is the object that represents the payload for the request in the streaming endpoints.
StreamingResponse is the object that represents the payload for the response in the streaming endpoints.
VersionResponse is the object that represents the payload of the root endpoint.