summaryrefslogtreecommitdiff
path: root/share/misc/entities_example.json
blob: c93f76f3a519001064cd69f9e6aa943a515c3fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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": []
  }
]