<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/services/vyos-http-api-server, branch 1.3.8</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/marekm72/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.8</id>
<link rel='self' href='https://git.amelek.net/marekm72/vyos-1x.git/atom?h=1.3.8'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/'/>
<updated>2023-08-24T16:15:11+00:00</updated>
<entry>
<title>http-api: T5006: add explicit async to retrieve operation</title>
<updated>2023-08-24T16:15:11+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-24T16:15:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=9f332dc34c933eb1f309fb43923d602c8ec9958d'/>
<id>urn:sha1:9f332dc34c933eb1f309fb43923d602c8ec9958d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>http-api: T5175: check value of attribute for FastAPI&gt;=0.91.0</title>
<updated>2023-04-24T00:33:58+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-04-23T20:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=b8920d636aec513ef2313a22f625a557365787bf'/>
<id>urn:sha1:b8920d636aec513ef2313a22f625a557365787bf</id>
<content type='text'>
FastAPI v0.92.0 (starlette v0.24.0) sets default attribute
Request._form; check for value == None instead of existence when
overriding Request class.

(cherry picked from commit cac55a066e1f7d7d4c0eec5ada76570a326b5ac9)
</content>
</entry>
<entry>
<title>http-api: T4442: Add action reset</title>
<updated>2022-05-26T09:09:37+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2022-05-26T09:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0'/>
<id>urn:sha1:d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>graphql: T3993: add unsettable gql option; this is not exposed by CLI</title>
<updated>2022-03-27T08:40:48+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-03-27T06:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=3665d9f8dc9435b70084a5c185fb8bd27023fa4c'/>
<id>urn:sha1:3665d9f8dc9435b70084a5c185fb8bd27023fa4c</id>
<content type='text'>
(cherry picked from commit 9d3acc2b55f2d1c563f1941e59c98c159211dc58)
</content>
</entry>
<entry>
<title>http-api: T4076: allow setting CORS option 'Access-Control-Allow-Origin'</title>
<updated>2021-12-16T18:12:54+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-12-16T14:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=e671c4b33157836e73a3efc91e691215bc5b144b'/>
<id>urn:sha1:e671c4b33157836e73a3efc91e691215bc5b144b</id>
<content type='text'>
(cherry picked from commit 55f8ede2d09a9ad095f9ec5c2a729f8c5fb6aafa)
</content>
</entry>
<entry>
<title>http-api: T4071: allow API to bind to unix domain socket</title>
<updated>2021-12-14T15:53:35+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-12-10T20:41:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=1b0007a01fd541b5f31ed94518e786a998bd6f43'/>
<id>urn:sha1:1b0007a01fd541b5f31ed94518e786a998bd6f43</id>
<content type='text'>
(cherry picked from commit 0e3c35e6517f5cfebb4206c735a2ea976a7fd383)
</content>
</entry>
<entry>
<title>graphql: T3993: move schema generation to bindings.py; clean up for linting</title>
<updated>2021-11-15T21:36:24+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-11-13T19:04:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=8e8d3d8e6dfec86c210a1b5874e839ad8adaef4b'/>
<id>urn:sha1:8e8d3d8e6dfec86c210a1b5874e839ad8adaef4b</id>
<content type='text'>
(cherry picked from commit 9e2694b24b06d928240522322c9a6d60c7a7d290)
</content>
</entry>
<entry>
<title>http-api: T2768: example using GraphQL for high-level config operations</title>
<updated>2021-11-07T21:21:50+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-08-05T16:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=f87f6c249535453b8bd3718dc7cdc84dcbbdbe13'/>
<id>urn:sha1:f87f6c249535453b8bd3718dc7cdc84dcbbdbe13</id>
<content type='text'>
(cherry picked from commit b168b4cc7da456f14714d917cdc7a1c6b8df9af5)
</content>
</entry>
<entry>
<title>http-api: T3616: update for strict content-type check in FastAPI 0.65.2</title>
<updated>2021-11-07T21:21:50+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-06-12T16:43:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=8b8c2b36f85072def2bbb59040305e19b187a399'/>
<id>urn:sha1:8b8c2b36f85072def2bbb59040305e19b187a399</id>
<content type='text'>
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.

(cherry picked from commit 3a9041e2d4d4a48ba7c01439e69c5f86a4a850c2)
</content>
</entry>
<entry>
<title>http api: T3412: use FastAPI as web framework; support application/json</title>
<updated>2021-11-07T21:21:50+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-03-26T16:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/marekm72/vyos-1x.git/commit/?id=37c3ebc8aba14ba7605fbbb9c4013cbd2513400d'/>
<id>urn:sha1:37c3ebc8aba14ba7605fbbb9c4013cbd2513400d</id>
<content type='text'>
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.

(cherry picked from commit 0125fff200efe3259aa25953e7505f69679261f8)
</content>
</entry>
</feed>
