Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Add "metadata" as a possible parameter for invoke request #452

Open
kwallis opened this issue Mar 4, 2013 · 1 comment
Open

Add "metadata" as a possible parameter for invoke request #452

kwallis opened this issue Mar 4, 2013 · 1 comment

Comments

@kwallis
Copy link
Member

kwallis commented Mar 4, 2013

https://developer.blackberry.com/html5/apis/blackberry.invoke.html#.invoke

The request object can have another "metadata" parameter.
We should add an example of how to use, perhaps the facebook invoke example:

{ action :"bb.action.OPEN", target: "com.rim.bb.app.facebook", metadata: JSON.stringify({object_type : 'page' , object_id : '328506290597521'}) }

From Cody:

The metadata attribute is a publicly available attribute in our APIs. The attribute is used in much the same way that “data” is currently, however the whole idea around metadata is that it’s more ‘optional’ for usage. Ie. the content there is mostly supplementary to the content that is provided in either the URI or data attributes. So each client can utilize it slightly different and pass something slightly different, it’s up to targets to understand it and utilize it (if they so choose).

@kwallis
Copy link
Member Author

kwallis commented Mar 4, 2013

cc @jeffheifetz @bryanhiggins

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant