Jump to content
Sign in to follow this  
Guest andreif

Data types inconsistency in news API

Recommended Posts

Guest andreif

StoryId is int in NewsDTO object, but BeginGetNewsDetail/GetNewsDetail require it as a string.

Share this post


Link to post
Guest sky.sanders

This is an artifact courtesy of an internal security review. While the value is numeric, that input parameter is treated as a string.

Better get used to it as it is not going to change in this iteration.

Share this post


Link to post
Guest andreif

This is an artifact courtesy of an internal security review. While the value is numeric, that input parameter is treated as a string.

Better get used to it as it is not going to change in this iteration.

No problem.

Share this post


Link to post
Guest mrdavidlaing

This is an artifact courtesy of an internal security review. While the value is numeric, that input parameter is treated as a string.

Better get used to it as it is not going to change in this iteration.

@andreif The API is due some refactoring love towards the middle of March; I’ve raisedhttps://github.com/cityindex/CIAPI.CS/issues/20 with the intention of getting this anomaly addressed.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×