Skip to content

Commit

Permalink
Update 05_rest.md Namespace erwähnen (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr-w authored Aug 22, 2024
1 parent 9690d06 commit 584d025
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/05_rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@ $route = new \rex_yform_rest_route(
'query' => \rex_ycom_user::query(),
'get' => [
'fields' => [
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle */
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle, ggf. inkl. Namespace */
'id',
'login',
'email',
'name'
],
'rex_ycom_group' => [ /* Name der Model-Klasse, nicht der Tabelle */
'rex_ycom_group' => [ /* Name der Model-Klasse, nicht der Tabelle, ggf. inkl. Namespace */
'id',
'name'
]
]
],
'post' => [
'fields' => [
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle */
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle, ggf. inkl. Namespace */
'login',
'email',
'ycom_groups'
Expand All @@ -63,7 +63,7 @@ $route = new \rex_yform_rest_route(
],
'delete' => [
'fields' => [
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle */
'rex_ycom_user' => [ /* Name der Model-Klasse, nicht der Tabelle, ggf. inkl. Namespace */
'id',
'login'
]
Expand Down

0 comments on commit 584d025

Please sign in to comment.