Skip to content

Conversation

@cniccolo
Copy link

@cniccolo cniccolo commented Jul 6, 2020

No description provided.

public override async Task<bool> ParseResponseAsync(System.Net.Http.HttpResponseMessage msg)
{
string content = await msg.Content.ReadAsStringAsync();
return content == "\"success\"";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restarting a dead project here: the response returned from seafile is a JSON object with a single "success" boolean property.

https://download.seafile.com/published/web-api/v2.1/share-links.md#user-content-Delete%20Share%20Link
{"success":true}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing. The library is not really dead in the actual sense as I am using it daily in production. However, all the features which are needed there have been implemented already and I lack time to continue development for other parts of the API.
So, any help is much appreciated :)
I will check your review and hopefully this merge request can finally find its way into the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants