galaxyproject / galaxy Public
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
API Documentation: Workflow invocation #7593
Comments
|
The second one is a general purpose endpoint that does all "create-y" things, like import from archive, create from history, import from toolshed repo and run depending on the keywords. This is the one used by the UI for running workflows. The first one is newer but takes the same arguments and runs through the same code to build the workflow config, but queues workflows differently (doesn't wait for some things to happen ...) and doesn't return any outputs, just the invocation(s). So for external API usage use /invocations. The docs are a little more extensive on bioblend: |
|
Thanks!
What is the format of the inputs record for simple input params?
…On Sat, Aug 3, 2019, 1:48 AM Marius van den Beek, ***@***.***> wrote:
The second one is a general purpose endpoint that does all "create-y"
things, like import from archive, create from history, import from toolshed
repo and run depending on the keywords. This is the one used by the UI for
running workflows.
The first one is newer but takes the same arguments and runs through the
same code to build the workflow config, but queues workflows differently
(doesn't wait for some things to happen ...) and doesn't return any
outputs, just the invocation(s). So for external API usage use /invocations.
The docs are a little more extensive on bioblend:
https://bioblend.readthedocs.io/en/latest/api_docs/galaxy/all.html#bioblend.galaxy.workflows.WorkflowClient.invoke_workflow
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7593?email_source=notifications&email_token=AANP25EG32E7U7MOEQUTR53QCVA43A5CNFSM4HA5ZKEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PKGYA#issuecomment-517907296>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AANP25GRRHCG76IHHLWPOVDQCVA43ANCNFSM4HA5ZKEA>
.
|
|
Same as for dataset inputs, they're all regular input parameters. So in this case in can run the workflow (if you use the uuid) in bioblend with That'd be the same as POSTing to You can also specify the inputs by name, though that's not exposed in bioblend. and you can POST that like If you want to specify the params by name make sure the inputs really have specified labels. |
|
Thanks! |
|
@martenson can you please reopen this issue, it is unresolved. |
|
@innovate-invent I believe I addressed your concern in #8541. The rest of the issue seems like a support discussion so I'd like to have it elsewhere. Either gitter or https://help.galaxyproject.org work. |
|
The issue is that the domain of the parameters for this api endpoint isn't clear. #8541 doesn't address this. |
|
@innovate-invent please create a new issue with sample workflow, invocation, expected results, and received results to help us debug it |
|
I think you misunderstand, there is no bug. I am requesting documentation of the workflow invocation endpoint, its parameters, and their domains. |
|
@innovate-invent I invite you to read the code and/or test the execution and then update the documentation if you deem it beneficial. But I think we cannot have an open issue for every tiny bit of documentation missing. |
|
That is a contradiction to what I was told repeatedly by the Galaxy team. |
The documentation is incomplete/ambiguous for invoking a workflow.
Can someone clarify:
POST /api/workflows/{encoded_workflow_id}/invocations
vs.
POST /api/workflows with workflow_id
There is also the issue that the documentation only describes the 'legacy' method of workflow invocation. There is an undocumented 'inputs' parameter being referenced in the code.
@jmchilton the git blame says you would be best to answer this
The text was updated successfully, but these errors were encountered: