summaryrefslogtreecommitdiff
path: root/share/misc
diff options
context:
space:
mode:
Diffstat (limited to 'share/misc')
-rw-r--r--share/misc/entities_example.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/share/misc/entities_example.json b/share/misc/entities_example.json
new file mode 100644
index 00000000..c93f76f3
--- /dev/null
+++ b/share/misc/entities_example.json
@@ -0,0 +1,58 @@
+[
+ {
+ "uid": {"type": "Project", "id": "123"},
+ "attrs": {
+ "name": "GitLab",
+ "path": "gitlab",
+ "full_path": "gitlab-org/gitlab",
+ "visibility": "public",
+ "archived": false,
+ "members": ["User::\"1\"", "User::\"2\"", "User::\"3\""]
+ },
+ "parents": [{"type": "Group", "id": "456"}]
+ },
+ {
+ "uid": {"type": "Group", "id": "456"},
+ "attrs": {
+ "name": "GitLab.org",
+ "path": "gitlab-org",
+ "full_path": "gitlab-org",
+ "visibility": "private",
+ "members": ["User::\"1\"", "User::\"2\""]
+ },
+ "parents": []
+ },
+ {
+ "uid": {"type": "User", "id": "1"},
+ "attrs": {
+ "username": "alice",
+ "access_level": 40,
+ "admin": false,
+ "blocked": false,
+ "external": false
+ },
+ "parents": []
+ },
+ {
+ "uid": {"type": "User", "id": "2"},
+ "attrs": {
+ "username": "bob",
+ "access_level": 30,
+ "admin": false,
+ "blocked": false,
+ "external": false
+ },
+ "parents": []
+ },
+ {
+ "uid": {"type": "User", "id": "3"},
+ "attrs": {
+ "username": "charlie",
+ "access_level": 20,
+ "admin": false,
+ "blocked": false,
+ "external": false
+ },
+ "parents": []
+ }
+] \ No newline at end of file