Sugar Network/API: Difference between revisions
| Line 233: | Line 233: | ||
Sugar activities (with {{Code|activity}} value in the ''Context.type'' property) will be directly executed after making sure that all [[Sugar_Network/Recipe_Specification#Dependencies|software dependencies]] are installed in the system. Non-software contexts will be opened in the proper application according to its ''Context.mime_types''. | Sugar activities (with {{Code|activity}} value in the ''Context.type'' property) will be directly executed after making sure that all [[Sugar_Network/Recipe_Specification#Dependencies|software dependencies]] are installed in the system. Non-software contexts will be opened in the proper application according to its ''Context.mime_types''. | ||
'''GET''' /context/''GUID''?cmd='''launch'''[&args=''ARG''][&activity_id=''ACTIVITY_ID''][&object_id=''OBJECT_ID''][&uri=''URI''][&color=''COLOR'' | '''GET''' /context/''GUID''?cmd='''launch'''[&args=''ARG''][&activity_id=''ACTIVITY_ID''][&object_id=''OBJECT_ID''][&uri=''URI''][&color=''COLOR''] | ||
Arguments make sense only for Sugar activities: | |||
Arguments | |||
* {{Code|ARG}}, command line argument to pass to launched activities, repeat {{Code|ARG}} for each argument; | * {{Code|ARG}}, command line argument to pass to launched activities, repeat {{Code|ARG}} for each argument; | ||