https://amaslovs.github.io/posts/web-api-result-as/
Defining Web API result - Aleksandrs Maslovs