workflowName
parameter is specified, the workflow is returned as an object (not in an array). Otherwise, an array of workflow objects is returned.curl --location --request GET '/rest/api/3/workflow'
[{"default":true,"description":"A classic Jira workflow","lastModifiedDate":"01-01-2011","lastModifiedUser":"admin","lastModifiedUserAccountId":"5b10a2844c20165700ede21g","name":"classic workflow","steps":5}]