Commit Graph
10 Commits
Author SHA1 Message Date
Sebastian Martinez 0a4d224253 httpd: Change node id in / and add version to /node 2024-01-09 13:59:23 +01:00
cloudhead 4816a4de5f radicle: Rename many more methods using new naming 2023-12-06 10:02:00 +01:00
cloudhead 8319fde08f node: Rename node tracking module 2023-12-06 10:00:45 +01:00
Sebastian Martinez e360c6333d httpd: Add node policies endpoint
New endpoint on `PUT api/v1/node/policies/repos/:rid` and `DELETE api/v1/node/policies/repos/:rid`,
that allows to track and untrack a project.

For tracking a project we also accept `?from=<nid>` to specify
where we should fetch from after tracking a repo.
2023-12-05 16:07:22 +01:00
Sebastian Martinez 80c1bb5b22 httpd: Add endpoint with tracking information
This allows us to check which projects are really tracked by the node
and which aren't and with which scopes and policies.
2023-11-30 12:30:07 +01:00
Rūdolfs Ošiņš cb1e7f361d httpd: Don't panic when node is not running 2023-11-02 17:00:38 +01:00
Sebastian Martinez 0dd85ca24a httpd: Add configuration to /node endpoint
Adds the "config" key containing node configuration.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-11 13:51:38 +02:00
Sebastian Martinez df2251f6ee httpd: Add socketAddress to /node endpoint
This allows us in the web client to show and let user copy the node id
together with the correct port number

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-03 13:30:55 +02:00
xphoniex 59e3afac67 httpd: Update axum from 0.5.x to 0.6.x
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-01-18 14:09:48 +00:00
xphoniex ae2a35abb9 Migrate /v1/, /v1/node routes to heartwood
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2022-11-30 13:06:03 +00:00