Closed bbrandt closed 7 years ago
Thanks Ben! Unfortunately this is a bug in the Seq API - the link template for "Create" should include the runOnExisting
parameter, but it does not. I've just pushed a fix for this to the Seq 3.0 branch and should have a prerelease build including it in a week or two.
Since the API client is correct here, I'm inclined to leave this as-is and rely on the server fix to rectify things; you can work around it with the code below in place of the Add()
call:
await connection.Client.PostAsync<AppInstanceEntity, AppInstanceEntity>(app, "Create", app);
Let me know what you think. Thanks again for the report!
Regards, Nick
It seems that the C# Seq.Api.dll code thinks the Add/Create/Self should have a parameter of
runOnExisting
, but the Seq server Resources API says thatrunOnExisting
is on the Items link, not the Self link.My code:
public async Task LoadResourceGroupAsync(string name) for "AppInstances"