Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Missing Models #8

Open
mockuniverse opened this issue May 23, 2018 · 0 comments
Open

Missing Models #8

mockuniverse opened this issue May 23, 2018 · 0 comments

Comments

@mockuniverse
Copy link

mockuniverse commented May 23, 2018

We're making API calls to get a list of articles. Article structure is defined in the REST call documentation but why doesn't the C# API (or other language APIs) provide data models that we can simply deserialize with NewtonSoft (same library UserVoice uses)?

var articles = JsonConvert.Deserialize<List<UserVoiceArticle>>(json);

The alternative is to have 10,000,000 (if you guys are successful) developers re-implement these classes based on the REST documentation. JSON is schema-free which is fine, but UserVoice is definitely aware of its response payload structures and should provide those models in each of its SDKs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant