Hi Tharik,

We implemented this API in the last year and at that time REST API
guidelines were not available. We are planing to fix those according to the
REST API guidance in a next major release.

Regards,
Gihan

On Fri, Apr 22, 2016 at 10:15 AM, Tharik Kanaka <[email protected]> wrote:

> Hi All,
>
> I have noticed multiple naming conventions have been followed by Analytics
> REST API [1].
>
> /analytics/tables/{tableName}/indexData
> /analytics/drillDownScoreCount
>
> /analytics/tables/{tableName}/keyed_records
> /analytics/search_count
>
> /analytics/tables/{tableName}/recordcount
> /analytics/rangecount
>
> According to [Architecture] REST API Guidelines, no underscore should be
> used and camel case or other programming language related naming should be
> avoided. Also multiple words should be separated by dashes. In that case
> above scenarios of Analytics REST API should use dashes to separate
> multiple words.
>
>
> [1] https://docs.wso2.com/display/DAS301/Analytics+REST+API+Guide
>
> Regards,
>
> --
>
> *Tharik Kanaka*
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: [email protected] | Web: www.wso2.com
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to