+1 good point Tharik
And in /analytics/tables/{tableName}/recordcount why is recordcount a
resource at
all? Shouldn't it be returned as an attribute of
/analytics/tables/{tableName}

On Fri, Apr 22, 2016 at 12:57 AM, Sagara Gunathunga <[email protected]> wrote:

>
>
> 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 We need to maintain consistency across the platform.
>
> Thanks !
>
>>
>>
>> [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
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to