Ok, answering myself..
It seems that endpoint /slurm/v0.0.39/jobs works well.
Not sure why, but I'm ok to live with that, so perhaps it will help to someone too.
cheers
josef

(this time via socket)

WORKS OK:

# curl -si --header X-SLURM-USER-NAME:root --header X-SLURM-USER-TOKEN:$SLURM_JWT --unix-socket /var/spool/slurm/restd/rest http://localhost:8080/slurm/v0.0.39/jobs | head
HTTP/1.1 200 OK
Content-Length: 579361
Content-Type: application/json

{
  "meta": {
    "plugin": {
      "type": "openapi\/v0.0.39",
      "name": "Slurm OpenAPI v0.0.39",
      "data_parser": "v0.0.39"
#

CRASHES slurmrestd (and no response):

# curl -si --header X-SLURM-USER-NAME:root --header X-SLURM-USER-TOKEN:$SLURM_JWT --unix-socket /var/spool/slurm/restd/rest http://localhost:8080/slurm/v0.0.41/jobs | head
#