Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • when should the initial settings entry of a user be created? After When settings are updated / saved for the first time?
  • Use PUT or PATCH for updating entries? (settings may grow over time, eg. dashboard, networkmap, ...) Should the entire settings object be send or only a partial one?
  • If we use PUT, do we need POST?
  • Should settings be queryable by section? ( eg. dashboard, networkmap, ...)

...

Extension of data-provider

OperationExpected result
GETĀ /userdata/{username}Gets the settings of a specified user
POST /userdata/{username}Creates a settings entry for a specified user
PUT /userdata/{username}Creates/Updates settings entry of a user
DELETEĀ /userdata/{username}Deletes settings entry of a user

Example settings data of a user

...