ab_config
Table of Contents
AB Config API
Host: sg01.picalike.copex-kunden.de
Port: 9096
git
Im git zu finden als:
$ git clone ssh://picalike@sg01.picalike.corpex-kunden.de/home/picalike/repositories/web-apis/ab_test.git
Endpunkte
/ab_config/fill [PUT, POST]
in: als args
{"apikey": <str>, "from": <str>, "till": <str>, "status": <bool>, "dist_p": <float>, "name": <str>, "testId": <str>, "description": <str>}
from und till als String im Format: “2015-11-30-10:00:00”.
status (activity status)
dist_p (distribution parameter in real-valued range [0, 1], i.e. 0.856)
testId ist id.
out:
{"status": <str>, "testId": <str>}
/ab_config/get_ab_tests [GET]
in: als args
{"apikey": <str>}
out:
[{“apikey”: <str>, “from”: <str>, “till”: <str>, “status”: <bool>, “dist_p”: <float>, “name”: <str>, “testId”: <str>, “description”: <str>}, …] d.h. als Liste
/ab_config/get_all_ab_tests [GET]
in: no parameters required
out: List of dictionaries of the form as in endpoint output /ab_config/get_ab_tests.
API-interne Endpunkte (Entwickler)
/ab_config/subscribe [PUT]
in: als data/form
{"url": <str>}
out:
<str> ["Done!"]
/ab_config/unsubscribe [PUT]
in: als data/form
{"url": <str>}
out:
<str> ["Done!..."]
/ab_config/all_subscribers [GET]
in:
Nichts
out:
[{[some_id <int>, url <str>]}, ...]
ab_config.txt · Last modified: 2024/04/11 14:23 (external edit)