Skip to content
Snippets Groups Projects

Resolve "Create List My Workflows Page for developers"

12 files
+ 364
37
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -20,13 +20,15 @@ export class WorkflowService {
@@ -20,13 +20,15 @@ export class WorkflowService {
*
*
* Permission "workflow:list" required.
* Permission "workflow:list" required.
* @param nameSubstring Filter workflows by a substring in their name.
* @param nameSubstring Filter workflows by a substring in their name.
* @param versionStatus Which versions of the workflow to include in the response. Permission 'workflow:list_filter required'. Default PUBLISHED and DEPRECATED.
* @param versionStatus Which versions of the workflow to include in the response. Permission 'workflow:list_filter required', unless 'developer_id' is provided and current user is developer, then only permission 'workflow:list' required. Default PUBLISHED and DEPRECATED.
 
* @param developerId Filter for workflow by developer. If current user is the same as developer ID, permission 'workflow:list' required, otherwise 'workflow:list_filter'.
* @returns WorkflowOut Successful Response
* @returns WorkflowOut Successful Response
* @throws ApiError
* @throws ApiError
*/
*/
public static workflowListWorkflows(
public static workflowListWorkflows(
nameSubstring?: string,
nameSubstring?: string,
versionStatus?: Array<Status>,
versionStatus?: Array<Status>,
 
developerId?: string,
): CancelablePromise<Array<WorkflowOut>> {
): CancelablePromise<Array<WorkflowOut>> {
return __request(OpenAPI, {
return __request(OpenAPI, {
method: 'GET',
method: 'GET',
@@ -34,6 +36,7 @@ export class WorkflowService {
@@ -34,6 +36,7 @@ export class WorkflowService {
query: {
query: {
'name_substring': nameSubstring,
'name_substring': nameSubstring,
'version_status': versionStatus,
'version_status': versionStatus,
 
'developer_id': developerId,
},
},
errors: {
errors: {
400: `Error decoding JWT Token`,
400: `Error decoding JWT Token`,
Loading