Skip to content
  • Jörg Richter's avatar
    Revise REST API (no underscores) (#341) · be7c852f
    Jörg Richter authored
    BREAKING CHANGES
    
    2 general changes:
    - In resource names `-` is used instead of `_`
    - Query parameters are camel case (not underscore), just like the corresponding Java/JS variables;
      no conversion required anymore
    
    Examples of new requests:
    ```
    POST /accesscontrol/user-account
    POST /topicmaps?name=...&topicmapTypeUri=...
    ```
    
    Traversal:
    ```
    ...?assocTypeUri=...&myRoleTypeUri=...&othersRoleTypeUri=...&othersTopicTypeUri=...
    ```
    
    Include assoc children:
    ```
    ...?assocChildren=true
    ```
    
    As long as plugin/script authors make use of the dmx-api JS library no adaptions will be required.
    be7c852f