-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /intents and /contexts endpoints to the AppD API #719
Comments
@nkolba it'd be interesting to hear what you use these endpoints for and the functionality they have in electron-fdc3 |
@kriswest Thanks for the invitation, Qiana will join. |
@RandallDang-Citi the electron-fdc3 client doesn't currently use these endpoints. Definitely many good potential uses though (such as creating a richer search experience). |
@kriswest We are looking into this to be able to dynamically show to the user the locally available intents/apps on a fdc3 object. |
@pierreneu at present the best way to do that is to use the If you need to do this without a real context then you'd have to pass in a dummy context of the right type - in most cases, I imagine implementations will only use the type field to determine the options - although it's worth making sure the object is valid (i.e. contains required fields). This is where the proposed endpoints would come in handy as you could retrieve a list of context types supported - although as a Desktop Agent could be connected to multiple app directories, and there is no way to get at that list, we might want to consider adding a function to the Desktop Agent API to pass-through a consolidated list (of either the intents and contexts from all appDs, or at least the list of AppD URLs in use + any apps configured another way)... There was some resistance to another proposal in the past (#311) that would have made similar information available (a list of applications, although as proposed it didn't have the list of supported intents and contexts for each, only the |
Notes from #802:
|
Enhancement Request
When working with an app directory it would be useful to be able to request the list intents and contexts used by apps listed in the app directory. This information is already retrievable, to a certain extent, from the individual records, however, doing so requires interesting all the records and collecting up the information.
Adding intent and context endpoints to the API would allow:
AppIntent
interface incorrectly describes an intent #312Proposed endpoints:
The detail endpoints for an individual intent and context types could:
A number of AppD implementations already provide these endpoints, including electron-fdc3 and the AppD browser demoed to the group by Citi.
It has also been proposed in the past that it is necessary to provide tools to govern internal/proprietary intents and contexts and that this has been implemented in the past through an extension to an app directory implementation. These would be natural extension to the proposed details endpoints.
The text was updated successfully, but these errors were encountered: