[Developers] Freebase API Error response format

Aseem Mohanty aseem at metaweb.com
Mon Mar 31 17:03:47 UTC 2008


Hi David.

The error response standardization effort is one step in the direction 
of standardizing all API response formats. As of right now, there are no 
immediate plans on changing the success response codes. So the answer 
would be, not as yet.

HTH
AM


David Flanagan wrote:
> Tim Kientzle wrote:
>> The preferred method is to check code.startswith("/api/status/ok").   
> 
> Is there really a chance that you will some day return (in the 
> sub-response) a code that starts with, but is not equal to 
> "/api/status/ok"?  It would be simpler if we could just use == instead 
> of startswith!
> 
> 	David
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers


More information about the Developers mailing list