-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use field masks from flask_restx marshal to do "partial object fetchi…
…ng" using X-Fields header instead of custom query params, hopefully a bit more standard and more flexible Example use curl -H "X-Fields: available_variables{interfaces},hostname" to only retreive hostname and variables regarding interfaces
- Loading branch information
1 parent
b0fd8b2
commit fe3be7e
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters