Implement Selfoss API 5.0.0 #71
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Selfoss 2.19 will have a new api version (https://github.com/fossar/selfoss/pull/1360).
As far as I can see, the application should work seamlessly with most of these changes but we should add a couple of tests to make sure that everything works correctly.
Changes are:
Get /login
is deprecated andPOST /login
will have to be used; this is already planned in #53 and should be backward compatible with all api versions. This is a breaking change.POST /source/delete/:id
is deprecated in favour ofDELETE /source/:id
, the latter is what is already being used in the applicationGET /logout
is deprecated in favour of the newDELETE /api/session/current
this function is not currently in use by the application but should be implemented to close #53 taking into account the different handling according to api version.POST /source/update
andPOST /source/:id/update
now return a 403 error upon failed authentication; this should already be correctly handled by the application.I checked it now,
DELETE /source/:id
andGET /update
work correctly with the current implementation.The three first points are done.
The last one will be in #99.