The last segment of baseRestURL is /admin in https://github.com/xwiki-contrib/cristal/blob/05bc526fbe70c1e7328bd65e9d3e2d9cbdfd70d0/web/public/config.json#L128 It corresponds to the id of the connected user and shouldn't be part of the configuration.