Implementing Hypermedia using flask-restless

521 Views Asked by At

I already have a REST API implemented using flask and the flask-restless extension. To make navigation easier, I wanted to implement Hypermedia-style links. I can write a postprocessor to insert the links manually but it feels hacky. Is there a cleaner way or maybe something supported by flask-restless?

1

There are 1 best solutions below

0
On

Ah just found from https://flask-restless.readthedocs.org/en/latest/api.html one can use include_methods to include the attributes for Hypermedia.