'GET /api/tool_shed_repositories/{encoded_tool_shed_repository_id}/exported_workflows
Display a list of dictionaries containing information about this tool shed repository\'s exported workflows.
:param id: the encoded id of the ToolShedRepository object'

@expose_api
def exported_workflows(self, trans, id, **kwd):

    exported_workflows = []
    repository = repository_util.get_tool_shed_repository_by_id(self.app, id)
    metadata = repository.metadata
    if metadata:
        exported_workflow_tups = metadata.get('workflows', [])
    else:
        exported_workflow_tups = []
    for (index, exported_workflow_tup) in enumerate(exported_workflow_tups):
        exported_workflow_dict = exported_workflow_tup[1]
        annotation = exported_workflow_dict.get('annotation', '')
        format_version = exported_workflow_dict.get('format-version', '')
        workflow_name = exported_workflow_dict.get('name', '')
        display_dict = dict(index=index, annotation=annotation, format_version=format_version, workflow_name=workflow_name)
        exported_workflows.append(display_dict)
    return exported_workflows
