{"action":"created","comment":{"url":"https://api.github.com/repos/NDLANO/article-api/pulls/comments/97298323","pull_request_review_id":17902225,"id":97298323,"diff_hunk":"@@ -0,0 +1,25 @@\n+/*\n+ * Part of NDLA article_api.\n+ * Copyright (C) 2017 NDLA\n+ *\n+ * See LICENSE\n+ *\n+ */\n+\n+package no.ndla.articleapi.model.api\n+\n+import org.scalatra.swagger.annotations.{ApiModel, ApiModelProperty}\n+\n+import scala.annotation.meta.field\n+\n+@ApiModel(description = \"Information about the article\")\n+case class NewArticle(@(ApiModelProperty@field)(description = \"The title of the article\") title: Seq[ArticleTitle],\n+                      @(ApiModelProperty@field)(description = \"The content of the article\") content: Seq[ArticleContent],\n+                      @(ApiModelProperty@field)(description = \"Searchable tags\") tags: Seq[ArticleTag],\n+                      @(ApiModelProperty@field)(description = \"An introduction\") introduction: Option[Seq[ArticleIntroduction]],\n+                      @(ApiModelProperty@field)(description = \"A meta description\") metaDescription: Option[Seq[ArticleMetaDescription]],\n+                      @(ApiModelProperty@field)(description = \"An ID for the article meta image\") metaImageId: Option[String],\n+                      @(ApiModelProperty@field)(description = \"A visual element for the article\") visualElement: Option[Seq[VisualElement]],","path":"src/main/scala/no/ndla/articleapi/model/api/NewArticle.scala","position":22,"original_position":22,"commit_id":"839c046948ee88c9d033a37848ecfba50bf7cb01","original_commit_id":"839c046948ee88c9d033a37848ecfba50bf7cb01","user":{"login":"narhen","id":1045380,"avatar_url":"https://avatars.githubusercontent.com/u/1045380?v=3","gravatar_id":"","url":"https://api.github.com/users/narhen","html_url":"https://github.com/narhen","followers_url":"https://api.github.com/users/narhen/followers","following_url":"https://api.github.com/users/narhen/following{/other_user}","gists_url":"https://api.github.com/users/narhen/gists{/gist_id}","starred_url":"https://api.github.com/users/narhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narhen/subscriptions","organizations_url":"https://api.github.com/users/narhen/orgs","repos_url":"https://api.github.com/users/narhen/repos","events_url":"https://api.github.com/users/narhen/events{/privacy}","received_events_url":"https://api.github.com/users/narhen/received_events","type":"User","site_admin":false},"body":"Etter det jeg har forstått kan det være et bilde, video, h5p, etc. Kan oppdatere dokumentasjonen til å være tydeligere på _hva_ det er","created_at":"2017-01-23T11:24:48Z","updated_at":"2017-01-23T11:24:48Z","html_url":"https://github.com/NDLANO/article-api/pull/57#discussion_r97298323","pull_request_url":"https://api.github.com/repos/NDLANO/article-api/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/comments/97298323"},"html":{"href":"https://github.com/NDLANO/article-api/pull/57#discussion_r97298323"},"pull_request":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/NDLANO/article-api/pulls/57","id":102627865,"html_url":"https://github.com/NDLANO/article-api/pull/57","diff_url":"https://github.com/NDLANO/article-api/pull/57.diff","patch_url":"https://github.com/NDLANO/article-api/pull/57.patch","issue_url":"https://api.github.com/repos/NDLANO/article-api/issues/57","number":57,"state":"open","locked":false,"title":"Ndlano/issues#166 support for adding articles","user":{"login":"narhen","id":1045380,"avatar_url":"https://avatars.githubusercontent.com/u/1045380?v=3","gravatar_id":"","url":"https://api.github.com/users/narhen","html_url":"https://github.com/narhen","followers_url":"https://api.github.com/users/narhen/followers","following_url":"https://api.github.com/users/narhen/following{/other_user}","gists_url":"https://api.github.com/users/narhen/gists{/gist_id}","starred_url":"https://api.github.com/users/narhen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narhen/subscriptions","organizations_url":"https://api.github.com/users/narhen/orgs","repos_url":"https://api.github.com/users/narhen/repos","events_url":"https://api.github.com/users/narhen/events{/privacy}","received_events_url":"https://api.github.com/users/narhen/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-22T17:13:34Z","updated_at":"2017-01-23T11:24:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56d04466504c2713b080efc940b4b448928a98f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NDLANO/article-api/pulls/57/commits","review_comments_url":"https://api.github.com/repos/NDLANO/article-api/pulls/57/comments","review_comment_url":"https://api.github.com/repos/NDLANO/article-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NDLANO/article-api/issues/57/comments","statuses_url":"https://api.github.com/repos/NDLANO/article-api/statuses/839c046948ee88c9d033a37848ecfba50bf7cb01","head":{"label":"NDLANO:NDLANO/Issues#166-support-for-adding-articles","ref":"NDLANO/Issues#166-support-for-adding-articles","sha":"839c046948ee88c9d033a37848ecfba50bf7cb01","user":{"login":"NDLANO","id":20052513,"avatar_url":"https://avatars.githubusercontent.com/u/20052513?v=3","gravatar_id":"","url":"https://api.github.com/users/NDLANO","html_url":"https://github.com/NDLANO","followers_url":"https://api.github.com/users/NDLANO/followers","following_url":"https://api.github.com/users/NDLANO/following{/other_user}","gists_url":"https://api.github.com/users/NDLANO/gists{/gist_id}","starred_url":"https://api.github.com/users/NDLANO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NDLANO/subscriptions","organizations_url":"https://api.github.com/users/NDLANO/orgs","repos_url":"https://api.github.com/users/NDLANO/repos","events_url":"https://api.github.com/users/NDLANO/events{/privacy}","received_events_url":"https://api.github.com/users/NDLANO/received_events","type":"Organization","site_admin":false},"repo":{"id":66824916,"name":"article-api","full_name":"NDLANO/article-api","owner":{"login":"NDLANO","id":20052513,"avatar_url":"https://avatars.githubusercontent.com/u/20052513?v=3","gravatar_id":"","url":"https://api.github.com/users/NDLANO","html_url":"https://github.com/NDLANO","followers_url":"https://api.github.com/users/NDLANO/followers","following_url":"https://api.github.com/users/NDLANO/following{/other_user}","gists_url":"https://api.github.com/users/NDLANO/gists{/gist_id}","starred_url":"https://api.github.com/users/NDLANO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NDLANO/subscriptions","organizations_url":"https://api.github.com/users/NDLANO/orgs","repos_url":"https://api.github.com/users/NDLANO/repos","events_url":"https://api.github.com/users/NDLANO/events{/privacy}","received_events_url":"https://api.github.com/users/NDLANO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NDLANO/article-api","description":"API for accessing articles from NDLA","fork":false,"url":"https://api.github.com/repos/NDLANO/article-api","forks_url":"https://api.github.com/repos/NDLANO/article-api/forks","keys_url":"https://api.github.com/repos/NDLANO/article-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NDLANO/article-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NDLANO/article-api/teams","hooks_url":"https://api.github.com/repos/NDLANO/article-api/hooks","issue_events_url":"https://api.github.com/repos/NDLANO/article-api/issues/events{/number}","events_url":"https://api.github.com/repos/NDLANO/article-api/events","assignees_url":"https://api.github.com/repos/NDLANO/article-api/assignees{/user}","branches_url":"https://api.github.com/repos/NDLANO/article-api/branches{/branch}","tags_url":"https://api.github.com/repos/NDLANO/article-api/tags","blobs_url":"https://api.github.com/repos/NDLANO/article-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NDLANO/article-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NDLANO/article-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/NDLANO/article-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NDLANO/article-api/statuses/{sha}","languages_url":"https://api.github.com/repos/NDLANO/article-api/languages","stargazers_url":"https://api.github.com/repos/NDLANO/article-api/stargazers","contributors_url":"https://api.github.com/repos/NDLANO/article-api/contributors","subscribers_url":"https://api.github.com/repos/NDLANO/article-api/subscribers","subscription_url":"https://api.github.com/repos/NDLANO/article-api/subscription","commits_url":"https://api.github.com/repos/NDLANO/article-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/NDLANO/article-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/NDLANO/article-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/NDLANO/article-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/NDLANO/article-api/contents/{+path}","compare_url":"https://api.github.com/repos/NDLANO/article-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NDLANO/article-api/merges","archive_url":"https://api.github.com/repos/NDLANO/article-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NDLANO/article-api/downloads","issues_url":"https://api.github.com/repos/NDLANO/article-api/issues{/number}","pulls_url":"https://api.github.com/repos/NDLANO/article-api/pulls{/number}","milestones_url":"https://api.github.com/repos/NDLANO/article-api/milestones{/number}","notifications_url":"https://api.github.com/repos/NDLANO/article-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NDLANO/article-api/labels{/name}","releases_url":"https://api.github.com/repos/NDLANO/article-api/releases{/id}","deployments_url":"https://api.github.com/repos/NDLANO/article-api/deployments","created_at":"2016-08-29T08:17:40Z","updated_at":"2017-01-11T08:51:44Z","pushed_at":"2017-01-23T11:09:53Z","git_url":"git://github.com/NDLANO/article-api.git","ssh_url":"git@github.com:NDLANO/article-api.git","clone_url":"https://github.com/NDLANO/article-api.git","svn_url":"https://github.com/NDLANO/article-api","homepage":null,"size":1008,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"NDLANO:master","ref":"master","sha":"f2a966a522b1e3a9565d13d555ffdde9bd39dd26","user":{"login":"NDLANO","id":20052513,"avatar_url":"https://avatars.githubusercontent.com/u/20052513?v=3","gravatar_id":"","url":"https://api.github.com/users/NDLANO","html_url":"https://github.com/NDLANO","followers_url":"https://api.github.com/users/NDLANO/followers","following_url":"https://api.github.com/users/NDLANO/following{/other_user}","gists_url":"https://api.github.com/users/NDLANO/gists{/gist_id}","starred_url":"https://api.github.com/users/NDLANO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NDLANO/subscriptions","organizations_url":"https://api.github.com/users/NDLANO/orgs","repos_url":"https://api.github.com/users/NDLANO/repos","events_url":"https://api.github.com/users/NDLANO/events{/privacy}","received_events_url":"https://api.github.com/users/NDLANO/received_events","type":"Organization","site_admin":false},"repo":{"id":66824916,"name":"article-api","full_name":"NDLANO/article-api","owner":{"login":"NDLANO","id":20052513,"avatar_url":"https://avatars.githubusercontent.com/u/20052513?v=3","gravatar_id":"","url":"https://api.github.com/users/NDLANO","html_url":"https://github.com/NDLANO","followers_url":"https://api.github.com/users/NDLANO/followers","following_url":"https://api.github.com/users/NDLANO/following{/other_user}","gists_url":"https://api.github.com/users/NDLANO/gists{/gist_id}","starred_url":"https://api.github.com/users/NDLANO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NDLANO/subscriptions","organizations_url":"https://api.github.com/users/NDLANO/orgs","repos_url":"https://api.github.com/users/NDLANO/repos","events_url":"https://api.github.com/users/NDLANO/events{/privacy}","received_events_url":"https://api.github.com/users/NDLANO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NDLANO/article-api","description":"API for accessing articles from NDLA","fork":false,"url":"https://api.github.com/repos/NDLANO/article-api","forks_url":"https://api.github.com/repos/NDLANO/article-api/forks","keys_url":"https://api.github.com/repos/NDLANO/article-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NDLANO/article-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NDLANO/article-api/teams","hooks_url":"https://api.github.com/repos/NDLANO/article-api/hooks","issue_events_url":"https://api.github.com/repos/NDLANO/article-api/issues/events{/number}","events_url":"https://api.github.com/repos/NDLANO/article-api/events","assignees_url":"https://api.github.com/repos/NDLANO/article-api/assignees{/user}","branches_url":"https://api.github.com/repos/NDLANO/article-api/branches{/branch}","tags_url":"https://api.github.com/repos/NDLANO/article-api/tags","blobs_url":"https://api.github.com/repos/NDLANO/article-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NDLANO/article-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NDLANO/article-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/NDLANO/article-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NDLANO/article-api/statuses/{sha}","languages_url":"https://api.github.com/repos/NDLANO/article-api/languages","stargazers_url":"https://api.github.com/repos/NDLANO/article-api/stargazers","contributors_url":"https://api.github.com/repos/NDLANO/article-api/contributors","subscribers_url":"https://api.github.com/repos/NDLANO/article-api/subscribers","subscription_url":"https://api.github.com/repos/NDLANO/article-api/subscription","commits_url":"https://api.github.com/repos/NDLANO/article-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/NDLANO/article-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/NDLANO/article-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/NDLANO/article-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/NDLANO/article-api/contents/{+path}","compare_url":"https://api.github.com/repos/NDLANO/article-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NDLANO/article-api/merges","archive_url":"https://api.github.com/repos/NDLANO/article-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NDLANO/article-api/downloads","issues_url":"https://api.github.com/repos/NDLANO/article-api/issues{/number}","pulls_url":"https://api.github.com/repos/NDLANO/article-api/pulls{/number}","milestones_url":"https://api.github.com/repos/NDLANO/article-api/milestones{/number}","notifications_url":"https://api.github.com/repos/NDLANO/article-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NDLANO/article-api/labels{/name}","releases_url":"https://api.github.com/repos/NDLANO/article-api/releases{/id}","deployments_url":"https://api.github.com/repos/NDLANO/article-api/deployments","created_at":"2016-08-29T08:17:40Z","updated_at":"2017-01-11T08:51:44Z","pushed_at":"2017-01-23T11:09:53Z","git_url":"git://github.com/NDLANO/article-api.git","ssh_url":"git@github.com:NDLANO/article-api.git","clone_url":"https://github.com/NDLANO/article-api.git","svn_url":"https://github.com/NDLANO/article-api","homepage":null,"size":1008,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/57"},"html":{"href":"https://github.com/NDLANO/article-api/pull/57"},"issue":{"href":"https://api.github.com/repos/NDLANO/article-api/issues/57"},"comments":{"href":"https://api.github.com/repos/NDLANO/article-api/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NDLANO/article-api/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/NDLANO/article-api/statuses/839c046948ee88c9d033a37848ecfba50bf7cb01"}}}}
{"actor":{"display_login":"narhen"}}