cloudhead
f87dfba9cd
Rename `Id` to `RepoId`
...
Rename the type to make it clearer and consistent with `NodeId`.
2024-01-22 15:51:44 +01:00
Sebastian Martinez
14b90ffbf9
httpd: Change node id in `/` and add version to `/node`
2024-01-09 13:59:23 +01:00
cloudhead
6ca7da2768
radicle: Rename many more methods using new naming
2023-12-06 10:02:00 +01:00
cloudhead
1b026ae0ee
node: Rename node `tracking` module
2023-12-06 10:00:45 +01:00
Sebastian Martinez
3e07808ee5
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
9ae7fd702e
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ņš
342b05f88d
httpd: Don't panic when node is not running
2023-11-02 17:00:38 +01:00
Sebastian Martinez
9a1a216f70
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
f418b5268c
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
7ec903d712
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
acd7aeb9c9
Migrate `/v1/`, `/v1/node` routes to heartwood
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2022-11-30 13:06:03 +00:00