{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/2","repository_url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin","labels_url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/2/comments","events_url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/2/events","html_url":"https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/2","id":188794992,"number":2,"title":"[FIX JENKINS-38584] - rest API for returning available steps","user":{"login":"kzantow","id":3009477,"avatar_url":"https://avatars.githubusercontent.com/u/3009477?v=3","gravatar_id":"","url":"https://api.github.com/users/kzantow","html_url":"https://github.com/kzantow","followers_url":"https://api.github.com/users/kzantow/followers","following_url":"https://api.github.com/users/kzantow/following{/other_user}","gists_url":"https://api.github.com/users/kzantow/gists{/gist_id}","starred_url":"https://api.github.com/users/kzantow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kzantow/subscriptions","organizations_url":"https://api.github.com/users/kzantow/orgs","repos_url":"https://api.github.com/users/kzantow/repos","events_url":"https://api.github.com/users/kzantow/events{/privacy}","received_events_url":"https://api.github.com/users/kzantow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-11T16:17:29Z","updated_at":"2016-11-15T05:45:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/pulls/2","html_url":"https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/2","diff_url":"https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/2.diff","patch_url":"https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/2.patch"},"body":"This API returns most of the available metadata for creating pipeline steps.\r\n\r\nFormat is like this:\r\n\r\n```json\r\n[\r\n  {\r\n    \"_class\" : \"io.blueocean.rest.pipeline.editor.PipelineStepMetadataService$BasicPipelineStepMetadata\",\r\n    \"descriptorUrl\" : \"/jenkins/descriptorByName/org.jenkinsci.plugins.workflow.support.steps.ExecutorStep\",\r\n    \"displayName\" : \"Allocate node\",\r\n    \"functionName\" : \"node\",\r\n    \"isBlockContainer\" : true,\r\n    \"properties\" : [\r\n      {\r\n        \"_class\" : \"io.blueocean.rest.pipeline.editor.PipelineStepMetadataService$BasicPipelineStepPropertyMetadata\",\r\n        \"descriptorUrl\" : null,\r\n        \"isRequired\" : false,\r\n        \"name\" : \"label\",\r\n        \"type\" : \"java.lang.String\"\r\n      }\r\n    ],\r\n    \"providedContext\" : [\r\n      \"hudson.model.Executor\",\r\n      \"hudson.model.Computer\",\r\n      \"hudson.FilePath\",\r\n      \"hudson.EnvVars\",\r\n      \"hudson.model.Node\",\r\n      \"hudson.Launcher\"\r\n    ],\r\n    \"requiredContext\" : [\r\n      \"hudson.model.TaskListener\",\r\n      \"org.jenkinsci.plugins.workflow.graph.FlowNode\",\r\n      \"hudson.model.Run\",\r\n      \"org.jenkinsci.plugins.workflow.flow.FlowExecution\"\r\n    ],\r\n    \"snippetizerUrl\" : \"/jenkins/pipeline-syntax/generateSnippet?$class=org.jenkinsci.plugins.workflow.support.steps.ExecutorStep\",\r\n    \"type\" : \"org.jenkinsci.plugins.workflow.support.steps.ExecutorStep\"\r\n  },\r\n  {\r\n```\r\n\r\n@reviewbybees esp. @vivek "},"comment":{"url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/comments/260553148","html_url":"https://github.com/jenkinsci/blueocean-pipeline-editor-plugin/pull/2#issuecomment-260553148","issue_url":"https://api.github.com/repos/jenkinsci/blueocean-pipeline-editor-plugin/issues/2","id":260553148,"user":{"login":"i386","id":50156,"avatar_url":"https://avatars.githubusercontent.com/u/50156?v=3","gravatar_id":"","url":"https://api.github.com/users/i386","html_url":"https://github.com/i386","followers_url":"https://api.github.com/users/i386/followers","following_url":"https://api.github.com/users/i386/following{/other_user}","gists_url":"https://api.github.com/users/i386/gists{/gist_id}","starred_url":"https://api.github.com/users/i386/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i386/subscriptions","organizations_url":"https://api.github.com/users/i386/orgs","repos_url":"https://api.github.com/users/i386/repos","events_url":"https://api.github.com/users/i386/events{/privacy}","received_events_url":"https://api.github.com/users/i386/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T05:45:58Z","updated_at":"2016-11-15T05:45:58Z","body":"We should absolutely have CI on this project 😝"}}
{"actor":{"display_login":"i386"}}