[ 
https://issues.apache.org/jira/browse/DTACLOUD-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Fojtik resolved DTACLOUD-339.
------------------------------------

    Resolution: Fixed
      Assignee: Michal Fojtik

commit 13fa83417d1112409c3155f5d314d5df42773b73
Author: Michal Fojtik <[email protected]>
Date:   Mon Oct 8 16:21:55 2012 +0200

    Core: Expand API features in entrypoint
    
    * Added :rel attribute to describe what operation given feature extend
    * Added list of params, so clients can discover them

                
> RFE: Indicate the operation for certain feature in /api
> -------------------------------------------------------
>
>                 Key: DTACLOUD-339
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-339
>             Project: DeltaCloud
>          Issue Type: New Feature
>            Reporter: Michal Fojtik
>            Assignee: Michal Fojtik
>
> Currently, when client get list of feature in /api he got something like:
> <link href="http://localhost:3001/api/instances"; rel="instances">
> <feature name="metrics"></feature>
> <feature name="realm_filter"></feature>
> <feature name="user_name"></feature>
> <feature name="user_data"></feature>
> <feature name="authentication_key"></feature>
> </link>
> Unfortunately this does not tell client for what operations does this feature 
> apply. Like the 'realm_filter' apply for the :index operation but the 
> ':user_data' is valid for the create operation.
> I suggest to add something like:
> <link href="http://localhost:3001/api/instances"; rel="instances">
>   <feature name="metrics" rel="create"></feature>
>   <feature name="realm_filter" rel="index"></feature>
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to