From 542b41db4220e5bf048b4aaf901f379f78d31cb6 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sat, 22 May 2021 18:12:01 +0200 Subject: [PATCH] chg: [data-structure] make it more generic --- backend/data-structure.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backend/data-structure.md b/backend/data-structure.md index 04622f7..dd2f208 100644 --- a/backend/data-structure.md +++ b/backend/data-structure.md @@ -3,6 +3,19 @@ The data structure is based on a Redis-compatible data store. [kvrocks](https://github.com/bitleak/kvrocks) is the Redis-compatible data store used for CyCAT but any compatible Redis data store can be used. +# UUID k/v + +Each UUID inserted in CyCAT has at least an entry in the backend with the following format: + +- `u:` -> `value type` + +## Value type available + +|value|type| +|-----|-----------------------------------------| +|`1 | Publisher | +| 2 | Project | + # Statistics ## Automatic API statistics