Improve group and project level package api

As per discussion in !18860 (merged):

To use the current api in the new vue component for package list we need to improve the current functionality

Both projects and groups api:

  • Add sorting on all the exposed parameters
    1. name
    2. version
    3. type
    4. created date
    5. project path ( for group )
  • Add created date
  • Add _path dictionary that contains
    1. details_path
    2. destroy_path

On groups api

  • add project id
  • add project path / namespace ( group + subgroups + project name )
Edited by Nicolò Maria Mezzopera