1

I am using katharsis with spring boot. I want to change the 'id' key in json response with my table PK column name, following is the katharsis response

    {
     "type": "table-name",
     "id": "A",
     "attributes": {
     "description": "AAA"
    },
    "relationships": {

     },
     "links": {
       "self": "http://localhost/table-name/A"
     }
    }

I want to change the above "id": "A" with "coulmnName":"A".

hnf1991
  • 97
  • 9

1 Answers1

2

Answer on katharsis github repository

https://github.com/katharsis-project/katharsis-core/issues/203

hnf1991
  • 97
  • 9
  • Hi, Seems the link not existing. Do you have any idea how to do this? I also want remove "self": "http://localhost/table-name/A". Thanks. – Bensson Nov 10 '16 at 05:17