Table of Contents

Top-APIs

This service is used by customers such as Madeleine. Other customers have also announced to be interested in this functionality.

Ii is therefore critical that the service is running and functional.

High level Description

The service is comprised of four endpoints:

<HTML><ol></HTML>

V3 billing data is sent to this endpoint

returns the top viewed articles for a category

returns for a product what other products were also viewed in a session

returns products for a category sorted by interest scores<HTML></ol></HTML>

Top Sellers

Calculates which products were sold most often over the past 28 days. The data how often a product is sold is derived from the information submitted through the checkout.php API.

integration into a newsletter

in order to integrate the top sellers in a newsletter we need to return the data as images. For this reason the following API exists:

https://api.picalike.com/api/top_seller_mail.jpg can also be called as https://api.picalike.com/api/top_seller_mail.php for the itemLink (see below)

the following parameters can be set for the top_seller_mail.jpg:

<HTML><ol></HTML>

<HTML><ol></HTML>

<HTML><ol></HTML>

example:

https://api.picalike.com/api/top_seller_mail.jpg?key=cGljc2ltaWxhcjozMzI2&limit=10&requestType=itemImage&vid=-1&recoIndex=1

<HTML><ol></HTML>

the data directly

https://api.picalike.com/top_sellers.php?key=cGljc2ltaWxhcjoyMDUz&limit=10

Operations

die folgenden Container sollten auf frontend05-hpc laufen:

Deploy this service

Start this service

:!: Für Corpex: Die bash Skripte räumen den Dienst einmal weg und ziehen ihn neu auf.

:!: Für Alle: Da die Skripte ein source ./config.sh am Anfang haben, muss man sich im jeweiligen unterverzeichnis befinden, um diese auszuführen

Auf frontend05-hpc sind unter /home/picalike/docker_bin folgende verzeichnisse und relevante skripte. :

Use this service

Repair this service

Super Special Knowledge

Experiments / Results / Knowledge Base

You performed a test? share it.

Dependencies

Incident Log

Incidents should be collected in a global list for now: incidents (uses “component: top-apis” to identify this component)

Authors