Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Api
  • User Administration

User Administration · Changes

Page history
Update User Administration authored Dec 13, 2021 by Andrea Pavlovic's avatar Andrea Pavlovic
Hide whitespace changes
Inline Side-by-side
API/User-Administration.md
View page @ 87a779ab
...@@ -11,7 +11,7 @@ POST /data/system/client/query ...@@ -11,7 +11,7 @@ POST /data/system/client/query
If available in the universe (i.e. the logged in user has permission to create users): If available in the universe (i.e. the logged in user has permission to create users):
POST /data/system/client/transitions/create POST /data/system/client/transitions/create
``` ```json
{ {
"first_name":"Test First", "first_name":"Test First",
"last_name":"Test Last", "last_name":"Test Last",
...@@ -28,7 +28,7 @@ POST /data/system/client/transitions/create ...@@ -28,7 +28,7 @@ POST /data/system/client/transitions/create
The language ("2") in the example is german, this ID may be queried in The language ("2") in the example is german, this ID may be queried in
POST /data/system/language/query POST /data/system/language/query
``` ```json
{ {
"iso_code" : "de" "iso_code" : "de"
} }
...@@ -40,7 +40,7 @@ Every use may at least edit their own entry in system.client: ...@@ -40,7 +40,7 @@ Every use may at least edit their own entry in system.client:
POST /data/system/client/5/transitions/edit POST /data/system/client/5/transitions/edit
``` ```json
{ {
"email":"new@email.com" "email":"new@email.com"
} }
...@@ -54,7 +54,7 @@ See [Changing-Passwords](/API/Changing-Passwords) ...@@ -54,7 +54,7 @@ See [Changing-Passwords](/API/Changing-Passwords)
POST /data/system/client/query POST /data/system/client/query
``` ```json
{ {
"conds" : {"agenda.name" : "admin"}, "conds" : {"agenda.name" : "admin"},
"attrs" : {"join":{"system__assignment__assigned_client" : "agenda"}} "attrs" : {"join":{"system__assignment__assigned_client" : "agenda"}}
...@@ -64,7 +64,7 @@ or ...@@ -64,7 +64,7 @@ or
POST /data/system/assignment/query POST /data/system/assignment/query
``` ```json
{ {
"conds" : {"agenda.name" : "admin"}, "conds" : {"agenda.name" : "admin"},
"attrs" : {"join":"agenda"} "attrs" : {"join":"agenda"}
...@@ -73,7 +73,7 @@ POST /data/system/assignment/query ...@@ -73,7 +73,7 @@ POST /data/system/assignment/query
or or
``` ```json
{ {
"conds" : {"agenda.name" : "admin"}, "conds" : {"agenda.name" : "admin"},
"attrs" : {"join":"agenda", "prefetch" : "assigned_client"} "attrs" : {"join":"agenda", "prefetch" : "assigned_client"}
...@@ -85,7 +85,7 @@ or ...@@ -85,7 +85,7 @@ or
In this example, the assignment is bound on core.unit, the agenda is called "site_admin". In this example, the assignment is bound on core.unit, the agenda is called "site_admin".
POST /data/assignment/core_unit/query POST /data/assignment/core_unit/query
``` ```json
{ {
"conds" : {"agenda.name" : "site_admin"}, "conds" : {"agenda.name" : "site_admin"},
"attrs" : {"join" : "agenda"} "attrs" : {"join" : "agenda"}
......
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages