{"action":"created","comment":{"url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/comments/232959136","pull_request_review_id":174266892,"id":232959136,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjk1OTEzNg==","diff_hunk":"@@ -0,0 +1,298 @@\n+import { connect } from 'react-redux';\n+import React, { Component } from 'react';\n+import IdleTimer from 'react-idle-timer';\n+import PropTypes from 'prop-types';\n+import { Row, Col, Input } from 'react-materialize';\n+import { WithContext as ReactTags } from 'react-tag-input';\n+import 'medium-editor/dist/css/medium-editor.css';\n+import 'medium-editor/dist/css/themes/default.css';\n+\n+import './CreateArticle.scss';\n+import '../../styles/style.scss';\n+import { getAllTags } from '../../requests/TagRequests';\n+import { getAllCategory } from '../../requests/CategoryRequests';\n+import ArticleForm from '../../components/ArticleForm/ArticleForm';\n+import { TagObjectToString, convertIdToString } from '../../util/TagsHelper';\n+import { createArticle, updateArticle, publishArticle } from '../../requests/ArticleRequests';\n+\n+\n+/**\n+ * @class CreateArticle\n+ * @extends {Component}\n+ */\n+class CreateArticle extends Component {\n+  /**\n+   * @description - This method runs first in the class\n+   * @returns {object} articles\n+   * @memberof Articles\n+   */\n+  constructor() {\n+    super();\n+\n+    this.state = {\n+      idleTimer: null,\n+      title: '',\n+      description: '',\n+      body: '',\n+      category: '',\n+      image: null,\n+      hasChanges: false,\n+      alertVisible: false,\n+      isCreated: false,\n+      tags: []\n+    };\n+\n+    this.onInputChange = this.onInputChange.bind(this);\n+    this.getAlertMessage = this.getAlertMessage.bind(this);\n+    this.handleEditorChange = this.handleEditorChange.bind(this);\n+    this.save = this.save.bind(this);\n+    this.update = this.update.bind(this);\n+    this.create = this.create.bind(this);\n+    this.onPublishArticle = this.onPublishArticle.bind(this);\n+    this.handleDelete = this.handleDelete.bind(this);\n+    this.handleAddition = this.handleAddition.bind(this);\n+    this.handleDrag = this.handleDrag.bind(this);\n+  }\n+\n+  /**\n+    * @description - This method get runs before the component mount\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  componentDidMount() {\n+    this.props.getAllCategory();\n+    this.props.getAllTags();\n+  }\n+\n+  /**\n+    * @description - This method sets the title and description input values\n+    * @param {object} e\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  onInputChange(e) {\n+    this.setState({ [e.target.id]: e.target.value, hasChanges: true, alertVisible: true });\n+  }\n+\n+  /**\n+    * @description - This method sets the body input values\n+    * @param {objecj}  text\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  handleEditorChange(text) {\n+    this.setState({ body: text, hasChanges: true, alertVisible: true });\n+  }\n+\n+  /**\n+    * @description - This method show if the article has been save or not.\n+    * @returns {string} - return saved or not\n+    * @memberof Article\n+    */\n+  getAlertMessage() {\n+    if (this.state.hasChanges) {\n+      return 'Saving...';\n+    }\n+    return 'Saved';\n+  }\n+\n+  /**\n+    * @description - This method set the article status to published.\n+    * @returns {string} - return saved or not\n+    * @memberof Article\n+    */\n+  onPublishArticle() {\n+    const status = 'published';\n+    const { slug } = this.props.article;\n+    const tags = TagObjectToString(this.state.tags);\n+    this.props.publishArticle({ slug, status, tags });\n+  }\n+\n+  /**\n+    * @description - This method create the article if changes has been made\n+    * @returns {string} - return saved or not\n+    * @memberof Article\n+    */\n+  create() {\n+    const {\n+      hasChanges, title, description, body, category, image, tags\n+    } = this.state;\n+\n+    const categoryId = Number(category);\n+\n+    const newTags = TagObjectToString(tags);\n+\n+    if (hasChanges) {\n+      this.setState({ hasChanges: false, alertVisible: true, isCreated: true });\n+\n+      this.props.createArticle({\n+        title, description, body, newTags, categoryId\n+      });\n+    }\n+  }\n+\n+  /**\n+    * @description - This method create or update the article if changes has been made\n+    * @returns {string} - return created or updated article\n+    * @memberof Article\n+    */\n+  save() {\n+    if (this.state.isCreated && !this.props.error) {\n+      this.update();\n+    } else {\n+      this.create();\n+    }\n+  }\n+\n+  /**\n+    * @description - This method update the article if changes has been made\n+    * @returns {string} - return created or updated article\n+    * @memberof Article\n+    */\n+  update() {\n+    const {\n+      hasChanges, title, description, body, category, tags\n+    } = this.state;\n+\n+    const categoryId = Number(category);\n+    const newTags = TagObjectToString(tags);\n+    const articleSlug = this.props.article.slug;\n+\n+    if (hasChanges) {\n+      this.setState({ hasChanges: false, alertVisible: true });\n+      this.props.updateArticle(\n+        {\n+          title, description, body, articleSlug, newTags, categoryId\n+        }\n+      );\n+    }\n+  }\n+\n+  /**\n+    * @description - This method delete the Tag input values\n+    * @param {objecj}  tagToDelete\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  handleDelete(tagToDelete) {\n+    const { tags } = this.state;\n+    this.setState({\n+      tags: tags.filter((tag, index) => index !== tagToDelete),\n+      hasChanges: true,\n+      alertVisible: true\n+    });\n+  }\n+\n+  /**\n+    * @description - This method sets the Tag input values\n+    * @param {string}  tag\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  handleAddition(tag) {\n+    this.setState(state => ({ tags: [...state.tags, tag], hasChanges: true, alertVisible: true }));\n+  }\n+\n+  /**\n+    * @description - This method renders the category options value\n+    * @returns {object} - return object of category options\n+    * @memberof Article\n+    */\n+  renderSelectOptions() {\n+    return this.props.categories.map(\n+      category => <option key={category.id} value={category.id}>{category.category}</option>\n+    );\n+  }\n+\n+  /**\n+    * @description - This method is use to drag the tag input values\n+    * @param {string} tag\n+    * @param {string} currentPosition\n+    *  @param {string} newPosition\n+    * @returns {object} void\n+    * @memberof Article\n+    */\n+  handleDrag(tag, currentPosition, newPosition) {\n+    const tags = [...this.state.tags];\n+    const newTags = tags.slice();\n+\n+    newTags.splice(currentPosition, 1);\n+    newTags.splice(newPosition, 0, tag);\n+    this.setState({ tags: newTags });\n+  }\n+\n+  /**\n+   * @description - This method renders the jsx for this component\n+   * @returns {jsx} - jsx\n+   * @memberof CreateArticle\n+   */\n+  render() {","path":"src/containers/createArticle/CreateArticle.js","position":256,"original_position":229,"commit_id":"78167ac554f333d7a03e3d51fcef007c3ba89ba2","original_commit_id":"8872155cd29e5332b52046ac4a59202e014ae987","user":{"login":"onwuvic","id":17351527,"node_id":"MDQ6VXNlcjE3MzUxNTI3","avatar_url":"https://avatars2.githubusercontent.com/u/17351527?v=4","gravatar_id":"","url":"https://api.github.com/users/onwuvic","html_url":"https://github.com/onwuvic","followers_url":"https://api.github.com/users/onwuvic/followers","following_url":"https://api.github.com/users/onwuvic/following{/other_user}","gists_url":"https://api.github.com/users/onwuvic/gists{/gist_id}","starred_url":"https://api.github.com/users/onwuvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onwuvic/subscriptions","organizations_url":"https://api.github.com/users/onwuvic/orgs","repos_url":"https://api.github.com/users/onwuvic/repos","events_url":"https://api.github.com/users/onwuvic/events{/privacy}","received_events_url":"https://api.github.com/users/onwuvic/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-11-13T09:36:59Z","updated_at":"2018-11-13T09:36:59Z","html_url":"https://github.com/andela/phlox-ah-frontend/pull/12#discussion_r232959136","pull_request_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/comments/232959136"},"html":{"href":"https://github.com/andela/phlox-ah-frontend/pull/12#discussion_r232959136"},"pull_request":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12"}},"in_reply_to_id":232603408},"pull_request":{"url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12","id":229623079,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjIzMDc5","html_url":"https://github.com/andela/phlox-ah-frontend/pull/12","diff_url":"https://github.com/andela/phlox-ah-frontend/pull/12.diff","patch_url":"https://github.com/andela/phlox-ah-frontend/pull/12.patch","issue_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/12","number":12,"state":"open","locked":false,"title":"#160451459 create article functionality","user":{"login":"onwuvic","id":17351527,"node_id":"MDQ6VXNlcjE3MzUxNTI3","avatar_url":"https://avatars2.githubusercontent.com/u/17351527?v=4","gravatar_id":"","url":"https://api.github.com/users/onwuvic","html_url":"https://github.com/onwuvic","followers_url":"https://api.github.com/users/onwuvic/followers","following_url":"https://api.github.com/users/onwuvic/following{/other_user}","gists_url":"https://api.github.com/users/onwuvic/gists{/gist_id}","starred_url":"https://api.github.com/users/onwuvic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onwuvic/subscriptions","organizations_url":"https://api.github.com/users/onwuvic/orgs","repos_url":"https://api.github.com/users/onwuvic/repos","events_url":"https://api.github.com/users/onwuvic/events{/privacy}","received_events_url":"https://api.github.com/users/onwuvic/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis pull request creates functionality to create an article in the frontend\r\n\r\n#### Description of Task to be completed?\r\n- Create JSX view form to create the article\r\n- Create an action to create an article\r\n- Create a reducer to create an article\r\n- Write a test for the create article component\r\n\r\n#### How should this be manually tested?\r\n- Start the app\r\n- Navigate to /api/v1/new-story\r\n- create your article\r\n\r\n#### Any background context you want to provide?\r\nN/A\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#160451459","created_at":"2018-11-09T08:41:48Z","updated_at":"2018-11-13T09:36:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d02d7c0dff8f053f63050decd9df1ae847a8b46","assignee":null,"assignees":[],"requested_reviewers":[{"login":"udochukwu","id":13887995,"node_id":"MDQ6VXNlcjEzODg3OTk1","avatar_url":"https://avatars0.githubusercontent.com/u/13887995?v=4","gravatar_id":"","url":"https://api.github.com/users/udochukwu","html_url":"https://github.com/udochukwu","followers_url":"https://api.github.com/users/udochukwu/followers","following_url":"https://api.github.com/users/udochukwu/following{/other_user}","gists_url":"https://api.github.com/users/udochukwu/gists{/gist_id}","starred_url":"https://api.github.com/users/udochukwu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/udochukwu/subscriptions","organizations_url":"https://api.github.com/users/udochukwu/orgs","repos_url":"https://api.github.com/users/udochukwu/repos","events_url":"https://api.github.com/users/udochukwu/events{/privacy}","received_events_url":"https://api.github.com/users/udochukwu/received_events","type":"User","site_admin":false},{"login":"slimsolz","id":22683661,"node_id":"MDQ6VXNlcjIyNjgzNjYx","avatar_url":"https://avatars1.githubusercontent.com/u/22683661?v=4","gravatar_id":"","url":"https://api.github.com/users/slimsolz","html_url":"https://github.com/slimsolz","followers_url":"https://api.github.com/users/slimsolz/followers","following_url":"https://api.github.com/users/slimsolz/following{/other_user}","gists_url":"https://api.github.com/users/slimsolz/gists{/gist_id}","starred_url":"https://api.github.com/users/slimsolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimsolz/subscriptions","organizations_url":"https://api.github.com/users/slimsolz/orgs","repos_url":"https://api.github.com/users/slimsolz/repos","events_url":"https://api.github.com/users/slimsolz/events{/privacy}","received_events_url":"https://api.github.com/users/slimsolz/received_events","type":"User","site_admin":false},{"login":"oladimillion","id":23438586,"node_id":"MDQ6VXNlcjIzNDM4NTg2","avatar_url":"https://avatars2.githubusercontent.com/u/23438586?v=4","gravatar_id":"","url":"https://api.github.com/users/oladimillion","html_url":"https://github.com/oladimillion","followers_url":"https://api.github.com/users/oladimillion/followers","following_url":"https://api.github.com/users/oladimillion/following{/other_user}","gists_url":"https://api.github.com/users/oladimillion/gists{/gist_id}","starred_url":"https://api.github.com/users/oladimillion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oladimillion/subscriptions","organizations_url":"https://api.github.com/users/oladimillion/orgs","repos_url":"https://api.github.com/users/oladimillion/repos","events_url":"https://api.github.com/users/oladimillion/events{/privacy}","received_events_url":"https://api.github.com/users/oladimillion/received_events","type":"User","site_admin":false},{"login":"kampkelly","id":23643904,"node_id":"MDQ6VXNlcjIzNjQzOTA0","avatar_url":"https://avatars1.githubusercontent.com/u/23643904?v=4","gravatar_id":"","url":"https://api.github.com/users/kampkelly","html_url":"https://github.com/kampkelly","followers_url":"https://api.github.com/users/kampkelly/followers","following_url":"https://api.github.com/users/kampkelly/following{/other_user}","gists_url":"https://api.github.com/users/kampkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/kampkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kampkelly/subscriptions","organizations_url":"https://api.github.com/users/kampkelly/orgs","repos_url":"https://api.github.com/users/kampkelly/repos","events_url":"https://api.github.com/users/kampkelly/events{/privacy}","received_events_url":"https://api.github.com/users/kampkelly/received_events","type":"User","site_admin":false},{"login":"samdiano","id":27571135,"node_id":"MDQ6VXNlcjI3NTcxMTM1","avatar_url":"https://avatars1.githubusercontent.com/u/27571135?v=4","gravatar_id":"","url":"https://api.github.com/users/samdiano","html_url":"https://github.com/samdiano","followers_url":"https://api.github.com/users/samdiano/followers","following_url":"https://api.github.com/users/samdiano/following{/other_user}","gists_url":"https://api.github.com/users/samdiano/gists{/gist_id}","starred_url":"https://api.github.com/users/samdiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdiano/subscriptions","organizations_url":"https://api.github.com/users/samdiano/orgs","repos_url":"https://api.github.com/users/samdiano/repos","events_url":"https://api.github.com/users/samdiano/events{/privacy}","received_events_url":"https://api.github.com/users/samdiano/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12/commits","review_comments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12/comments","review_comment_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/12/comments","statuses_url":"https://api.github.com/repos/andela/phlox-ah-frontend/statuses/78167ac554f333d7a03e3d51fcef007c3ba89ba2","head":{"label":"andela:feature/160451459/article-crud","ref":"feature/160451459/article-crud","sha":"78167ac554f333d7a03e3d51fcef007c3ba89ba2","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":154703702,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MDM3MDI=","name":"phlox-ah-frontend","full_name":"andela/phlox-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/phlox-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/phlox-ah-frontend","forks_url":"https://api.github.com/repos/andela/phlox-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/phlox-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/phlox-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/phlox-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/phlox-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/phlox-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/phlox-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/phlox-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/phlox-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/phlox-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/phlox-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/phlox-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/phlox-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/phlox-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/phlox-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/phlox-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/phlox-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/phlox-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/phlox-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/phlox-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/phlox-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/phlox-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/phlox-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/phlox-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/phlox-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/deployments","created_at":"2018-10-25T16:31:25Z","updated_at":"2018-11-13T07:35:43Z","pushed_at":"2018-11-13T09:35:28Z","git_url":"git://github.com/andela/phlox-ah-frontend.git","ssh_url":"git@github.com:andela/phlox-ah-frontend.git","clone_url":"https://github.com/andela/phlox-ah-frontend.git","svn_url":"https://github.com/andela/phlox-ah-frontend","homepage":null,"size":631,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"67680354c0de558373fa663ab9dd92c441fe8128","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":154703702,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MDM3MDI=","name":"phlox-ah-frontend","full_name":"andela/phlox-ah-frontend","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/phlox-ah-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/andela/phlox-ah-frontend","forks_url":"https://api.github.com/repos/andela/phlox-ah-frontend/forks","keys_url":"https://api.github.com/repos/andela/phlox-ah-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/phlox-ah-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/phlox-ah-frontend/teams","hooks_url":"https://api.github.com/repos/andela/phlox-ah-frontend/hooks","issue_events_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/andela/phlox-ah-frontend/events","assignees_url":"https://api.github.com/repos/andela/phlox-ah-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/andela/phlox-ah-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/andela/phlox-ah-frontend/tags","blobs_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/phlox-ah-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/phlox-ah-frontend/languages","stargazers_url":"https://api.github.com/repos/andela/phlox-ah-frontend/stargazers","contributors_url":"https://api.github.com/repos/andela/phlox-ah-frontend/contributors","subscribers_url":"https://api.github.com/repos/andela/phlox-ah-frontend/subscribers","subscription_url":"https://api.github.com/repos/andela/phlox-ah-frontend/subscription","commits_url":"https://api.github.com/repos/andela/phlox-ah-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/phlox-ah-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/phlox-ah-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/andela/phlox-ah-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/phlox-ah-frontend/merges","archive_url":"https://api.github.com/repos/andela/phlox-ah-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/phlox-ah-frontend/downloads","issues_url":"https://api.github.com/repos/andela/phlox-ah-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/phlox-ah-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/phlox-ah-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/phlox-ah-frontend/labels{/name}","releases_url":"https://api.github.com/repos/andela/phlox-ah-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/andela/phlox-ah-frontend/deployments","created_at":"2018-10-25T16:31:25Z","updated_at":"2018-11-13T07:35:43Z","pushed_at":"2018-11-13T09:35:28Z","git_url":"git://github.com/andela/phlox-ah-frontend.git","ssh_url":"git@github.com:andela/phlox-ah-frontend.git","clone_url":"https://github.com/andela/phlox-ah-frontend.git","svn_url":"https://github.com/andela/phlox-ah-frontend","homepage":null,"size":631,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12"},"html":{"href":"https://github.com/andela/phlox-ah-frontend/pull/12"},"issue":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/12"},"comments":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/andela/phlox-ah-frontend/statuses/78167ac554f333d7a03e3d51fcef007c3ba89ba2"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"onwuvic"}}