latestOpenAPI 3.0.02026-08-0819201.1 MB
411f9f98c01e
scheduled executions
Starts the process of retrieving component's select model for the specified component.
You need to have workspaces.flow.edit permission to access this resource. The retrieval of select model is an asynchronous process because it is accomplished by sending a request to an external API.
post/components/{component_id}/versions/{git_revision}/select-model
Path parameters
component_idstring required
Component identifier
git_revisionstring required
Revision of the component’s build. For latest version use latest.
Request body
Example request
{
"data": {
"attributes": {
"module": "createPetWithPromiseUsingDynamicMetadata",
"method": "getStatusModel"
},
"relationships": {
"workspace": {
"data": {
"id": "5b4f337bff4304610483ba67"
}
},
"credential": {
"data": {
"id": "5b4f337bff4304610483ba67"
}
},
"agent": {
"data": {
"id": "5b4f337bff4304610483ba67"
}
}
}
}
}Response
Accepted
Example response
{
"data": {
"id": "5b4f337bff4304610483ba67",
"links": {
"self": "/v2/exec/result/5b4f337bff4304610483ba67"
},
"attributes": {
"status": "Pending request, waiting other process"
}
}
}