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?
Implementing Hypermedia using flask-restless
551 Views Asked by Shantanu Tushar At
1
There are 1 best solutions below
Related Questions in FLASK
- Executing database query gives "TypeError: not all arguments converted during string formatting"
- Flask custom "not found" code
- Python Flask shutdown event handler
- HTML call that triggers daemon subprocess
- Any way to use jinja2 and flask form instead of ajax and jquery or both?
- Deploying flask app on gunicorn, module object has no attribute
- Flask-Restful, oauth, and Salesforce
- Why doesn't my WTForms-JSON form update correctly?
- Apply different stylesheets to different elements of a template
- Flask server to notify webclient when changes occur
- How to let a Reference Field accept multiple Document schemas in MongoEngine?
- Creating 2 dimensional array in Python Flask application Jinja2 Template
- How to do a custom query in Model View on *-to-Many relationship in Flask Admin?
- Syntax error python 2.7
- Load image using $resource in AngularJS
Related Questions in HYPERMEDIA
- Is it possible to do Hypermedia Driven RESTFul service in a microservices world?
- Does HATEOAS increase the number of calls to server?
- Should a RESTful API avoid requiring the client to know the resource hierarchy?
- Optionally disable HATEOAS format in Spring Data Rest
- Links (relations) to REST resources in AngularJS
- REST without hypermedia?
- RESTFul way to reference resource with unique fields
- Sails.JS and Hypermedia HATEOAS Examples?
- REST Hypermedia: Should the actions be filtered based on the user's permissions?
- Understanding the abstract jargons in REST
- Get route by name
- HATEOS with HAL and links to embedded ressources
- Hypermedia API Link Traversal & Practicality
- Implementing hypermedia-driven API with Grape (or Sinatra)
- Implementing Hypermedia using flask-restless
Related Questions in FLASK-RESTLESS
- Flask restless - A search filter for a relationship.property != val in case of one-to-many relationship
- Flask-Restless Marshmallow serializer
- How to run a Flask-restless api filter query on JSONB content
- Flask-restless - How to convert a DELETE request into an UPDATE
- Preprocess function Flask Restless
- Is it possible to extend Flask-restless to add new routes?
- How do I seed a flask sql-alchemy database
- Python Flask SQLalchemy JSON POST Error
- Using axios to GET data from flask-restless API
- How to setup uploading binary objects through flask_restless endpoint?
- Implementing Hypermedia using flask-restless
- unable to trigger flask restless postprocessor
- Customizing GET method using Flask Restless
- Accessing request headers in flask-restless preprocessor
- Flask RESTless delete multiple primary key
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ah just found from https://flask-restless.readthedocs.org/en/latest/api.html one can use include_methods to include the attributes for Hypermedia.