summaryrefslogtreecommitdiff
path: root/src/services/vyos-http-api-server
AgeCommit message (Collapse)Author
2023-02-14http-api: T5006: add explicit async to retrieve/configure methodsJohn Estabrook
2023-01-09container: T4880: add REST API endpoint for add/delelete/show imagesJohn Estabrook
2022-11-06graphql: T4803: allow 'Authorization' header in CORS middlewareJohn Estabrook
2022-10-25graphql: T4574: set byte length of shared secret from CLIJohn Estabrook
2022-10-25graphql: T4574: set token expiration time in claimsJohn Estabrook
2022-10-25graphql: T4574: add context to read token in queries/mutationsJohn Estabrook
2022-10-25graphql: T4574: read config and generate schema with/without key authJohn Estabrook
2022-10-21graphql: T4768: change name of api child node from 'gql' to 'graphql'John Estabrook
2022-10-14http-api: T4749: transition to config_dictJohn Estabrook
2022-08-22graphql: T3993: add missing sys.exit()John Estabrook
2022-07-24graphql: T3993: disable introspection unless set in CLIJohn Estabrook
2022-05-26http-api: T4442: Add action resetViacheslav Hletenko
Add action 'reset' (op-mode) for HTTP-API http://localhost/reset curl --unix-socket /run/api.sock -X POST -Fkey=mykey \ -Fdata='{"op": "reset", "path": ["ip", "bgp", "192.0.2.14"]}' \ http://localhost/reset
2022-04-07http api: T4347: return complete and consistent error codesJohn Estabrook
2022-03-27graphql: T3993: add unsettable gql option; this is not exposed by CLIJohn Estabrook
2021-12-15http-api: T4076: allow setting CORS option 'Access-Control-Allow-Origin'John Estabrook
2021-12-13http-api: T4071: allow API to bind to unix domain socketJohn Estabrook
2021-11-15graphql: T3993: move schema generation to bindings.py; clean up for lintingJohn Estabrook
2021-08-06http-api: T2768: example using GraphQL for high-level config operationsJohn Estabrook
2021-08-06Revert "http-api: T2768: example using GraphQL for high-level config operations"John Estabrook
This reverts commit a2b959c50c96698da173b9c4720369a51442cc5c.
2021-08-06http-api: T2768: example using GraphQL for high-level config operationsJohn Estabrook
2021-06-12http-api: T3616: update for strict content-type check in FastAPI 0.65.2John Estabrook
FastAPI 0.65.2 checks content-type request header before assuming JSON, closing a well-known loophole. This requires a modification of the code providing backwards compatibility of multipart forms.
2021-03-26http api: T3412: use FastAPI as web framework; support application/jsonJohn Estabrook
Replace the Flask micro-framework with FastAPI, in order to support extensions to the API and OpenAPI 3.* generation. This change will remain backwards compatible with previous versions. Notably, the multipart forms version of requests remain supported; in addition application/json requests are now natively supported.
2020-10-21http-api: T3007: use ConfigSession config load script, not backend loadJohn Estabrook
2020-07-22http-api: remove unneeded check for VyOSErrorJohn Estabrook
The only calls to config (return_value, return_values, exists) do not throw VyOSError; remove unneeded except.
2020-05-06http api: T2395: add waitress as production WSGI serverJohn Estabrook
2020-05-06http api: T2395: replace bottle with flask as microframeworkJohn Estabrook
2020-05-06http api: use decorator to get command data from requestJohn Estabrook
2020-05-06http api: catch appropriate errorsJohn Estabrook
2020-05-06http api: function names should be consistentJohn Estabrook
2020-04-22http api: T2096: form of show/generate should be consistent with other cmdsJohn Estabrook
2020-04-20http api: T2292: handle SIGTERM from systemd restart; raise SIGINTJohn Estabrook
2020-03-11http api: T2096: Added show and generateMatthias Fetzer
2020-02-14http api: T2040: reload Config in route definitionJohn Estabrook
2019-12-03T1801: move escaping of backslashes into configtreeJohn Estabrook
2019-11-17T1801: escape isolated backslashes before passing to ConfigTree()John Estabrook
2019-11-05T1774: fix error outputJohn Estabrook
2019-10-27T1773, T1774: add a show config operation with JSON and raw options.Daniil Baturin
2019-10-23[HTTP API] Add endpoints for config file and image management.Daniil Baturin
2019-10-23[HTTP API] Use a decorator for functions that require authentication.Daniil Baturin
2019-08-05T1431: add showConfig operation to the HTTP API.Daniil Baturin
2019-06-17[HTTP API] T1431: disallow empty config paths.Daniil Baturin
2019-06-17[HTTP API] T1431: make the value field optional.Daniil Baturin
2019-06-17[HTTP API] T1431: allow sending a single command, and make sure commands are ↵Daniil Baturin
dicts.
2019-06-17[HTTP API] T1431: make the value field optional and add better validation.Daniil Baturin
2019-06-17T1431: release the lock even if discard() caused an exception.Daniil Baturin
It may be better to crash the process in that situation.
2019-06-16T1431: initial implementation of the HTTP API.Daniil Baturin