{"action":"created","issue":{"url":"https://api.github.com/repos/freme-project/basic-services/issues/77","repository_url":"https://api.github.com/repos/freme-project/basic-services","labels_url":"https://api.github.com/repos/freme-project/basic-services/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/freme-project/basic-services/issues/77/comments","events_url":"https://api.github.com/repos/freme-project/basic-services/issues/77/events","html_url":"https://github.com/freme-project/basic-services/issues/77","id":170106830,"number":77,"title":"[Pipelines] Allow parametrization","user":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freme-project/basic-services/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"ArneBinder","id":3375489,"avatar_url":"https://avatars.githubusercontent.com/u/3375489?v=3","gravatar_id":"","url":"https://api.github.com/users/ArneBinder","html_url":"https://github.com/ArneBinder","followers_url":"https://api.github.com/users/ArneBinder/followers","following_url":"https://api.github.com/users/ArneBinder/following{/other_user}","gists_url":"https://api.github.com/users/ArneBinder/gists{/gist_id}","starred_url":"https://api.github.com/users/ArneBinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArneBinder/subscriptions","organizations_url":"https://api.github.com/users/ArneBinder/orgs","repos_url":"https://api.github.com/users/ArneBinder/repos","events_url":"https://api.github.com/users/ArneBinder/events{/privacy}","received_events_url":"https://api.github.com/users/ArneBinder/received_events","type":"User","site_admin":false},"assignees":[{"login":"ArneBinder","id":3375489,"avatar_url":"https://avatars.githubusercontent.com/u/3375489?v=3","gravatar_id":"","url":"https://api.github.com/users/ArneBinder","html_url":"https://github.com/ArneBinder","followers_url":"https://api.github.com/users/ArneBinder/followers","following_url":"https://api.github.com/users/ArneBinder/following{/other_user}","gists_url":"https://api.github.com/users/ArneBinder/gists{/gist_id}","starred_url":"https://api.github.com/users/ArneBinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArneBinder/subscriptions","organizations_url":"https://api.github.com/users/ArneBinder/orgs","repos_url":"https://api.github.com/users/ArneBinder/repos","events_url":"https://api.github.com/users/ArneBinder/events{/privacy}","received_events_url":"https://api.github.com/users/ArneBinder/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-09T08:15:26Z","updated_at":"2016-08-18T10:06:37Z","closed_at":null,"body":"Please allow query string parameters in the pipelines. An example is this pipeline:\r\n```\r\n[\r\n{\r\n  \"method\": \"POST\",\r\n  \"endpoint\": \"http://dev.digitale-kuratierung.de/api/e-nlp/namedEntityRecognition\",\r\n  \"parameters\": {\r\n     \"models\": \"$models$\", \r\n     \"language\": \"$language$\",\r\n     \"analysis\": \"ner\",\r\n     \"mode\": \"all\"\r\n  },\r\n  \"headers\": {\r\n    \"content-type\": \"text/plain\",\r\n    \"accept\": \"text/turtle\"\r\n  },\r\n  \"body\": \"The summer of 2016 is not very hot in Berlin. Wolfgang Rossi, weather reporter of the German Tagesschau, added that the summer of 1983 was much better.\"\r\n}\r\n]\r\n```\r\n\r\nA user can then perform an API request like this:\r\n\r\n```\r\nhttp://api.freme-project.eu/current/pipelining/chain?language=en&models=ModelEN\r\n```\r\n\r\nThe system will then insert the parameters in the pipeline. Some more properties of the system:\r\n\r\n* When a pipeline contains parameters which are not set via the query string then the endpoint should return status code 400 - bad request with a proper error message.\r\n* This function should be available for both pipeline endpoints."},"comment":{"url":"https://api.github.com/repos/freme-project/basic-services/issues/comments/240680669","html_url":"https://github.com/freme-project/basic-services/issues/77#issuecomment-240680669","issue_url":"https://api.github.com/repos/freme-project/basic-services/issues/77","id":240680669,"user":{"login":"ArneBinder","id":3375489,"avatar_url":"https://avatars.githubusercontent.com/u/3375489?v=3","gravatar_id":"","url":"https://api.github.com/users/ArneBinder","html_url":"https://github.com/ArneBinder","followers_url":"https://api.github.com/users/ArneBinder/followers","following_url":"https://api.github.com/users/ArneBinder/following{/other_user}","gists_url":"https://api.github.com/users/ArneBinder/gists{/gist_id}","starred_url":"https://api.github.com/users/ArneBinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArneBinder/subscriptions","organizations_url":"https://api.github.com/users/ArneBinder/orgs","repos_url":"https://api.github.com/users/ArneBinder/repos","events_url":"https://api.github.com/users/ArneBinder/events{/privacy}","received_events_url":"https://api.github.com/users/ArneBinder/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T10:06:37Z","updated_at":"2016-08-18T10:06:37Z","body":"Should be fixed. "}}
{"actor":{"display_login":"ArneBinder"}}