{"action":"created","comment":{"url":"https://api.github.com/repos/opencast/opencast/pulls/comments/198059981","pull_request_review_id":131918374,"id":198059981,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODA1OTk4MQ==","diff_hunk":"@@ -151,14 +159,47 @@ __Example__\n \n Creates an event by sending metadata, access control list, processing instructions and files in a [multipart request](http://www.w3.org/Protocols/rfc1341/7_2_Multipart.html).\n \n-Multipart Form Parameters  |Type                             | Description\n+Multipart Form Parameters  | Type                            | Description\n :--------------------------|:--------------------------------|:-----------\n `acl`                      | [`acl`](types.md#acl)           | A collection of roles with their possible action\n `metadata`                 | [`catalogs`](types.md#catalogs) | Event metadata as Form param\n `presenter`                | [`file`](types.md#file)         | Presenter movie track\n `presentation`             | [`file`](types.md#file)         | Presentation movie track\n `audio`                    | [`file`](types.md#file)         | Audio track\n `processing`               | [`string`](types.md#basic)      | Processing instructions task configuration\n+`scheduling`               | [`string`](types.md#basic)      | Scheduling information (version 1.1.0 and higher)\n+\n+__Scheduling__\n+\n+Field      | Required | Type                                 | Description\n+:----------|:---------|:-------------------------------------|:-----------\n+`agent_id` | Yes      | [`string`](types.md#basic)           | The technical identifier of the capture agent\n+`start`    | Yes      | [`datetime`](types.md#date-and-time) | The date and time when the recording shall start\n+`end`      | Yes\\*    | [`datetime`](types.md#date-and-time) | The date and time when the recording shall end\n+`duration` | Yes\\*    | [`integer`](types.md#basic)          | The duration of the recording in milliseconds\n+`rrule`    | No       | [`string`](types.md#string)          | The optional recurrence rule used to create multiple scheduled events","path":"docs/guides/developer/docs/api/events-api.md","position":64,"original_position":64,"commit_id":"80e8d97ae5590625e0fd1e4ffef341b32b03ca50","original_commit_id":"80e8d97ae5590625e0fd1e4ffef341b32b03ca50","user":{"login":"staubesv","id":1590263,"node_id":"MDQ6VXNlcjE1OTAyNjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1590263?v=4","gravatar_id":"","url":"https://api.github.com/users/staubesv","html_url":"https://github.com/staubesv","followers_url":"https://api.github.com/users/staubesv/followers","following_url":"https://api.github.com/users/staubesv/following{/other_user}","gists_url":"https://api.github.com/users/staubesv/gists{/gist_id}","starred_url":"https://api.github.com/users/staubesv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staubesv/subscriptions","organizations_url":"https://api.github.com/users/staubesv/orgs","repos_url":"https://api.github.com/users/staubesv/repos","events_url":"https://api.github.com/users/staubesv/events{/privacy}","received_events_url":"https://api.github.com/users/staubesv/received_events","type":"User","site_admin":false},"body":"There is a reason that you don't find a link to the rrule docs: I have really no idea whether this works correctly. But if the specification links the rrule docs, that would become part of the specification.\r\n\r\nI suggest to not link it as nobody ever tested whether it really would work correctly. Let's focus on the minimum here which is known to work.","created_at":"2018-06-26T08:43:32Z","updated_at":"2018-06-26T08:43:32Z","html_url":"https://github.com/opencast/opencast/pull/155#discussion_r198059981","pull_request_url":"https://api.github.com/repos/opencast/opencast/pulls/155","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opencast/opencast/pulls/comments/198059981"},"html":{"href":"https://github.com/opencast/opencast/pull/155#discussion_r198059981"},"pull_request":{"href":"https://api.github.com/repos/opencast/opencast/pulls/155"}},"in_reply_to_id":197868236},"pull_request":{"url":"https://api.github.com/repos/opencast/opencast/pulls/155","id":177006471,"node_id":"MDExOlB1bGxSZXF1ZXN0MTc3MDA2NDcx","html_url":"https://github.com/opencast/opencast/pull/155","diff_url":"https://github.com/opencast/opencast/pull/155.diff","patch_url":"https://github.com/opencast/opencast/pull/155.patch","issue_url":"https://api.github.com/repos/opencast/opencast/issues/155","number":155,"state":"open","locked":false,"title":"MH-12647 MH-12756 extend external api","user":{"login":"krinnewitz","id":1727976,"node_id":"MDQ6VXNlcjE3Mjc5NzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1727976?v=4","gravatar_id":"","url":"https://api.github.com/users/krinnewitz","html_url":"https://github.com/krinnewitz","followers_url":"https://api.github.com/users/krinnewitz/followers","following_url":"https://api.github.com/users/krinnewitz/following{/other_user}","gists_url":"https://api.github.com/users/krinnewitz/gists{/gist_id}","starred_url":"https://api.github.com/users/krinnewitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krinnewitz/subscriptions","organizations_url":"https://api.github.com/users/krinnewitz/orgs","repos_url":"https://api.github.com/users/krinnewitz/repos","events_url":"https://api.github.com/users/krinnewitz/events{/privacy}","received_events_url":"https://api.github.com/users/krinnewitz/received_events","type":"User","site_admin":false},"body":"This pull request consists of two commits, both extending the external API:\r\n\r\n# MH-12647 Add Scheduling Capabilities to External API\r\n\r\nThis patch adds the possibility to schedule events through the external\r\nAPI's events endpoint. Scheduling can be done by specifying schedule\r\ninformation when creating an event. Additionally, existing scheduled\r\nevents can be re-scheduled by updating the scheduling information with\r\nnew details. The following properties can be used:\r\n\r\n- start date\r\n- end date\r\n- rrule (when creating new events)\r\n- agent id\r\n- agent inputs\r\n\r\nAvailable capture agents can be retrieved from the new /agents endpoint\r\nwhich is also added by this commit.\r\n\r\nSee the documentation for more details about scheduling events or\r\nquerying capture agents.\r\n\r\nThis also increases the external API version to v1.1.0 since new fields\r\nwere added.\r\n\r\n# MH-12756 Add Fields to External API\r\n\r\nThis patch adds missing fields to series and the events endpoints\r\nstarting API Version 1.1.0.\r\nAPI Version 1.0.0 will not provide these fields.\r\n\r\nGET api/events\r\nand GET /api/events/{event_id}\r\n- language\r\n- rightsholder\r\n- license\r\n- is_part_of\r\n- duration\r\n- source\r\n\r\nGET /api/series\r\nand GET /api/series/{series_id}\r\n- language\r\n- rightsholder\r\n- license\r\n---\r\nThe motivation to have just one PR for both tickets is to avoid conflicts due to the need to increase the API version to 1.1.0 for both patches.\r\n\r\nThis work is sponsored by SWITCH.\r\n","created_at":"2018-03-23T08:56:56Z","updated_at":"2018-06-26T08:43:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ce7ad25535db644ead086b5c4c260b2b60f88c8","assignee":{"login":"gregorydlogan","id":5639561,"node_id":"MDQ6VXNlcjU2Mzk1NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5639561?v=4","gravatar_id":"","url":"https://api.github.com/users/gregorydlogan","html_url":"https://github.com/gregorydlogan","followers_url":"https://api.github.com/users/gregorydlogan/followers","following_url":"https://api.github.com/users/gregorydlogan/following{/other_user}","gists_url":"https://api.github.com/users/gregorydlogan/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorydlogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorydlogan/subscriptions","organizations_url":"https://api.github.com/users/gregorydlogan/orgs","repos_url":"https://api.github.com/users/gregorydlogan/repos","events_url":"https://api.github.com/users/gregorydlogan/events{/privacy}","received_events_url":"https://api.github.com/users/gregorydlogan/received_events","type":"User","site_admin":false},"assignees":[{"login":"gregorydlogan","id":5639561,"node_id":"MDQ6VXNlcjU2Mzk1NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/5639561?v=4","gravatar_id":"","url":"https://api.github.com/users/gregorydlogan","html_url":"https://github.com/gregorydlogan","followers_url":"https://api.github.com/users/gregorydlogan/followers","following_url":"https://api.github.com/users/gregorydlogan/following{/other_user}","gists_url":"https://api.github.com/users/gregorydlogan/gists{/gist_id}","starred_url":"https://api.github.com/users/gregorydlogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregorydlogan/subscriptions","organizations_url":"https://api.github.com/users/gregorydlogan/orgs","repos_url":"https://api.github.com/users/gregorydlogan/repos","events_url":"https://api.github.com/users/gregorydlogan/events{/privacy}","received_events_url":"https://api.github.com/users/gregorydlogan/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":843360799,"node_id":"MDU6TGFiZWw4NDMzNjA3OTk=","url":"https://api.github.com/repos/opencast/opencast/labels/feature","name":"feature","color":"bfd657","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/opencast/opencast/pulls/155/commits","review_comments_url":"https://api.github.com/repos/opencast/opencast/pulls/155/comments","review_comment_url":"https://api.github.com/repos/opencast/opencast/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencast/opencast/issues/155/comments","statuses_url":"https://api.github.com/repos/opencast/opencast/statuses/80e8d97ae5590625e0fd1e4ffef341b32b03ca50","head":{"label":"plapadoo:f/MH-12647-MH-12756-extend-external-api","ref":"f/MH-12647-MH-12756-extend-external-api","sha":"80e8d97ae5590625e0fd1e4ffef341b32b03ca50","user":{"login":"plapadoo","id":24492500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDkyNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/24492500?v=4","gravatar_id":"","url":"https://api.github.com/users/plapadoo","html_url":"https://github.com/plapadoo","followers_url":"https://api.github.com/users/plapadoo/followers","following_url":"https://api.github.com/users/plapadoo/following{/other_user}","gists_url":"https://api.github.com/users/plapadoo/gists{/gist_id}","starred_url":"https://api.github.com/users/plapadoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plapadoo/subscriptions","organizations_url":"https://api.github.com/users/plapadoo/orgs","repos_url":"https://api.github.com/users/plapadoo/repos","events_url":"https://api.github.com/users/plapadoo/events{/privacy}","received_events_url":"https://api.github.com/users/plapadoo/received_events","type":"Organization","site_admin":false},"repo":{"id":117100538,"node_id":"MDEwOlJlcG9zaXRvcnkxMTcxMDA1Mzg=","name":"opencast","full_name":"plapadoo/opencast","owner":{"login":"plapadoo","id":24492500,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NDkyNTAw","avatar_url":"https://avatars2.githubusercontent.com/u/24492500?v=4","gravatar_id":"","url":"https://api.github.com/users/plapadoo","html_url":"https://github.com/plapadoo","followers_url":"https://api.github.com/users/plapadoo/followers","following_url":"https://api.github.com/users/plapadoo/following{/other_user}","gists_url":"https://api.github.com/users/plapadoo/gists{/gist_id}","starred_url":"https://api.github.com/users/plapadoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plapadoo/subscriptions","organizations_url":"https://api.github.com/users/plapadoo/orgs","repos_url":"https://api.github.com/users/plapadoo/repos","events_url":"https://api.github.com/users/plapadoo/events{/privacy}","received_events_url":"https://api.github.com/users/plapadoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plapadoo/opencast","description":"The free and open source solution for automated video capture and distribution at scale.","fork":true,"url":"https://api.github.com/repos/plapadoo/opencast","forks_url":"https://api.github.com/repos/plapadoo/opencast/forks","keys_url":"https://api.github.com/repos/plapadoo/opencast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plapadoo/opencast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plapadoo/opencast/teams","hooks_url":"https://api.github.com/repos/plapadoo/opencast/hooks","issue_events_url":"https://api.github.com/repos/plapadoo/opencast/issues/events{/number}","events_url":"https://api.github.com/repos/plapadoo/opencast/events","assignees_url":"https://api.github.com/repos/plapadoo/opencast/assignees{/user}","branches_url":"https://api.github.com/repos/plapadoo/opencast/branches{/branch}","tags_url":"https://api.github.com/repos/plapadoo/opencast/tags","blobs_url":"https://api.github.com/repos/plapadoo/opencast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plapadoo/opencast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plapadoo/opencast/git/refs{/sha}","trees_url":"https://api.github.com/repos/plapadoo/opencast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plapadoo/opencast/statuses/{sha}","languages_url":"https://api.github.com/repos/plapadoo/opencast/languages","stargazers_url":"https://api.github.com/repos/plapadoo/opencast/stargazers","contributors_url":"https://api.github.com/repos/plapadoo/opencast/contributors","subscribers_url":"https://api.github.com/repos/plapadoo/opencast/subscribers","subscription_url":"https://api.github.com/repos/plapadoo/opencast/subscription","commits_url":"https://api.github.com/repos/plapadoo/opencast/commits{/sha}","git_commits_url":"https://api.github.com/repos/plapadoo/opencast/git/commits{/sha}","comments_url":"https://api.github.com/repos/plapadoo/opencast/comments{/number}","issue_comment_url":"https://api.github.com/repos/plapadoo/opencast/issues/comments{/number}","contents_url":"https://api.github.com/repos/plapadoo/opencast/contents/{+path}","compare_url":"https://api.github.com/repos/plapadoo/opencast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plapadoo/opencast/merges","archive_url":"https://api.github.com/repos/plapadoo/opencast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plapadoo/opencast/downloads","issues_url":"https://api.github.com/repos/plapadoo/opencast/issues{/number}","pulls_url":"https://api.github.com/repos/plapadoo/opencast/pulls{/number}","milestones_url":"https://api.github.com/repos/plapadoo/opencast/milestones{/number}","notifications_url":"https://api.github.com/repos/plapadoo/opencast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plapadoo/opencast/labels{/name}","releases_url":"https://api.github.com/repos/plapadoo/opencast/releases{/id}","deployments_url":"https://api.github.com/repos/plapadoo/opencast/deployments","created_at":"2018-01-11T12:57:48Z","updated_at":"2018-01-11T13:04:14Z","pushed_at":"2018-06-26T06:27:09Z","git_url":"git://github.com/plapadoo/opencast.git","ssh_url":"git@github.com:plapadoo/opencast.git","clone_url":"https://github.com/plapadoo/opencast.git","svn_url":"https://github.com/plapadoo/opencast","homepage":"http://opencast.org","size":136520,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencast:develop","ref":"develop","sha":"c026ba0264e4a43b28ea7a5408a2fb42a01a66e5","user":{"login":"opencast","id":5639632,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mzk2MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5639632?v=4","gravatar_id":"","url":"https://api.github.com/users/opencast","html_url":"https://github.com/opencast","followers_url":"https://api.github.com/users/opencast/followers","following_url":"https://api.github.com/users/opencast/following{/other_user}","gists_url":"https://api.github.com/users/opencast/gists{/gist_id}","starred_url":"https://api.github.com/users/opencast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencast/subscriptions","organizations_url":"https://api.github.com/users/opencast/orgs","repos_url":"https://api.github.com/users/opencast/repos","events_url":"https://api.github.com/users/opencast/events{/privacy}","received_events_url":"https://api.github.com/users/opencast/received_events","type":"Organization","site_admin":false},"repo":{"id":115198687,"node_id":"MDEwOlJlcG9zaXRvcnkxMTUxOTg2ODc=","name":"opencast","full_name":"opencast/opencast","owner":{"login":"opencast","id":5639632,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2Mzk2MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/5639632?v=4","gravatar_id":"","url":"https://api.github.com/users/opencast","html_url":"https://github.com/opencast","followers_url":"https://api.github.com/users/opencast/followers","following_url":"https://api.github.com/users/opencast/following{/other_user}","gists_url":"https://api.github.com/users/opencast/gists{/gist_id}","starred_url":"https://api.github.com/users/opencast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencast/subscriptions","organizations_url":"https://api.github.com/users/opencast/orgs","repos_url":"https://api.github.com/users/opencast/repos","events_url":"https://api.github.com/users/opencast/events{/privacy}","received_events_url":"https://api.github.com/users/opencast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencast/opencast","description":"The free and open source solution for automated video capture and distribution at scale.","fork":false,"url":"https://api.github.com/repos/opencast/opencast","forks_url":"https://api.github.com/repos/opencast/opencast/forks","keys_url":"https://api.github.com/repos/opencast/opencast/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencast/opencast/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencast/opencast/teams","hooks_url":"https://api.github.com/repos/opencast/opencast/hooks","issue_events_url":"https://api.github.com/repos/opencast/opencast/issues/events{/number}","events_url":"https://api.github.com/repos/opencast/opencast/events","assignees_url":"https://api.github.com/repos/opencast/opencast/assignees{/user}","branches_url":"https://api.github.com/repos/opencast/opencast/branches{/branch}","tags_url":"https://api.github.com/repos/opencast/opencast/tags","blobs_url":"https://api.github.com/repos/opencast/opencast/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencast/opencast/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencast/opencast/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencast/opencast/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencast/opencast/statuses/{sha}","languages_url":"https://api.github.com/repos/opencast/opencast/languages","stargazers_url":"https://api.github.com/repos/opencast/opencast/stargazers","contributors_url":"https://api.github.com/repos/opencast/opencast/contributors","subscribers_url":"https://api.github.com/repos/opencast/opencast/subscribers","subscription_url":"https://api.github.com/repos/opencast/opencast/subscription","commits_url":"https://api.github.com/repos/opencast/opencast/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencast/opencast/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencast/opencast/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencast/opencast/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencast/opencast/contents/{+path}","compare_url":"https://api.github.com/repos/opencast/opencast/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencast/opencast/merges","archive_url":"https://api.github.com/repos/opencast/opencast/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencast/opencast/downloads","issues_url":"https://api.github.com/repos/opencast/opencast/issues{/number}","pulls_url":"https://api.github.com/repos/opencast/opencast/pulls{/number}","milestones_url":"https://api.github.com/repos/opencast/opencast/milestones{/number}","notifications_url":"https://api.github.com/repos/opencast/opencast/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencast/opencast/labels{/name}","releases_url":"https://api.github.com/repos/opencast/opencast/releases{/id}","deployments_url":"https://api.github.com/repos/opencast/opencast/deployments","created_at":"2017-12-23T13:54:35Z","updated_at":"2018-06-25T21:27:58Z","pushed_at":"2018-06-26T06:27:10Z","git_url":"git://github.com/opencast/opencast.git","ssh_url":"git@github.com:opencast/opencast.git","clone_url":"https://github.com/opencast/opencast.git","svn_url":"https://github.com/opencast/opencast","homepage":"http://opencast.org","size":137038,"stargazers_count":30,"watchers_count":30,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":42,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"ecl-2.0","name":"Educational Community License v2.0","spdx_id":"ECL-2.0","url":"https://api.github.com/licenses/ecl-2.0","node_id":"MDc6TGljZW5zZTMw"},"forks":42,"open_issues":28,"watchers":30,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/opencast/opencast/pulls/155"},"html":{"href":"https://github.com/opencast/opencast/pull/155"},"issue":{"href":"https://api.github.com/repos/opencast/opencast/issues/155"},"comments":{"href":"https://api.github.com/repos/opencast/opencast/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/opencast/opencast/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/opencast/opencast/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencast/opencast/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/opencast/opencast/statuses/80e8d97ae5590625e0fd1e4ffef341b32b03ca50"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"staubesv"}}