[WG-UMA] Resource Registration - as implemented by SMART

Eve Maler eve at xmlgrrl.com
Thu May 19 14:54:35 EDT 2011


Thanks! Can you describe what the host does with the returned policy URI? Is this used to allow a user to make "immersive" sharing assignments from the host alone? How does the host subsequently inform the AM about that?

	Eve

On 19 May 2011, at 9:51 AM, Maciej Machulak wrote:

> REQUEST:
> 
> PUT /host/222/resource/112210f47de98100
> Content-Type: application/json
> 
> {
>        "resource_set":
>            {
>            "_id": "112210f47de98100"
>            "name": "Steve the puppy!",
>            "icon_uri": "http://www.example.com/icons/flower",
>            "x-resource_uri": "http://www.example.com/user/1/data/122",
>            "actions":
>                        ["http://photoz.example.com/dev/actions/view",
>                        "http://photoz.example.com/dev/actions/all"]
>        }
> }
> 
> 
> RESPONSE:
> 
> 
> HTTP/1.1 201 Created
> Content-Type: application/json
> Location: http://www.smartam.net/host/222/resource/112210f47de98100
> 
> {
> 	"x-policy_uri":"http://www.smartam.net/host/222/resource/333/policy"
> }
> _______________________________________________
> WG-UMA mailing list
> WG-UMA at kantarainitiative.org
> http://kantarainitiative.org/mailman/listinfo/wg-uma


Eve Maler                                  http://www.xmlgrrl.com/blog
+1 425 345 6756                         http://www.twitter.com/xmlgrrl



More information about the WG-UMA mailing list