Skip to content

Backend Public Post API

alexbali edited this page Apr 1, 2021 · 2 revisions

Post

/public-posts will get all public-posts

  • Request Method: GET
  • Example Response
{
    "message": [
        {
            "type": "post",
            "title": "Breakfast",
            "id": "73bf46ec-6637-433a-9ea1-f34397ee0601",
            "source": "",
            "origin": "",
            "description": "",
            "contentType": "text/plain",
            "content": "bacon and eggs",
            "author": {
                "type": "author",
                "id": "e59e548b-64bf-4da3-9243-bfcadd7d6db5",
                "displayName": "graeme",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/e59e548b-64bf-4da3-9243-bfcadd7d6db5/",
                "birth_date": null,
                "github": "",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/e59e548b-64bf-4da3-9243-bfcadd7d6db5/posts/73bf46ec-6637-433a-9ea1-f34397ee0601",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-05T17:09:19.031170-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "A plaintext post",
            "id": "1f3c0640-e467-4426-a32b-589c0795c04e",
            "source": "Where I found it.com",
            "origin": "whereitsactuallyfrom.com",
            "description": "The description of the post",
            "contentType": "text/plain",
            "content": "The content of the post",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/1f3c0640-e467-4426-a32b-589c0795c04e",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-10T18:26:45.478419-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "A markdown post",
            "id": "044c189a-060d-4cb9-a5ee-e00b78fa7b85",
            "source": "",
            "origin": "",
            "description": "A markdown post",
            "contentType": "text/markdown",
            "content": "# Title\r\n- a bullet point\r\n![Alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png)",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/044c189a-060d-4cb9-a5ee-e00b78fa7b85",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-10T18:28:54.974066-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "Sharing an activity from Github!",
            "id": "8594db53-c817-4954-b2bd-65af38be038c",
            "source": "http://github.com/CMPUT404W21-Team3/social-distribution/commit/ce3f6ecfc1559783fda361aa52ddc84aa5f25159",
            "origin": "",
            "description": "",
            "contentType": "text/plain",
            "content": "Update README.md\r\nTimestamp: Fri Mar  5 15:57:39 2021\r\nSource:http://github.com/CMPUT404W21-Team3/social-distribution/commit/ce3f6ecfc1559783fda361aa52ddc84aa5f25159",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/8594db53-c817-4954-b2bd-65af38be038c",
            "comments": [
                {
                    "type": "comment",
                    "author": {
                        "type": "author",
                        "id": "f572bfff-53c0-43a4-932a-d7632d4310b8",
                        "displayName": "admin",
                        "bio": "",
                        "location": "",
                        "url": "https://team3-socialdistribution.herokuapp.com/author/f572bfff-53c0-43a4-932a-d7632d4310b8/",
                        "birth_date": null,
                        "github": "",
                        "host": "https://team3-socialdistribution.herokuapp.com/"
                    },
                    "content": "Hello",
                    "timestamp": "2021-03-29T21:07:08.392876-06:00",
                    "id": "58f586c5-5869-442c-91f3-e1daf142b276",
                    "url": "https://team3-socialdistribution.herokuapp.com//author/f572bfff-53c0-43a4-932a-d7632d4310b8/posts/8594db53-c817-4954-b2bd-65af38be038c/comments/58f586c5-5869-442c-91f3-e1daf142b276"
                }
            ],
            "categories": [],
            "timestamp": "2021-03-10T18:30:59.287351-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "",
            "id": "c9c5096f-cfd8-4cbe-a57f-928333c9d631",
            "source": "",
            "origin": "",
            "description": "",
            "contentType": "text/plain",
            "content": "",
            "author": {
                "type": "author",
                "id": "4e427fd9-25d1-44f8-9420-98148a13fc02",
                "displayName": "grape",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/4e427fd9-25d1-44f8-9420-98148a13fc02/",
                "birth_date": null,
                "github": "",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/4e427fd9-25d1-44f8-9420-98148a13fc02/posts/c9c5096f-cfd8-4cbe-a57f-928333c9d631",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-24T18:49:40.590103-06:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "Breakfast---Shared from graeme",
            "id": "fd0acb37-49b1-4a9c-8dca-76b51ce1f770",
            "source": "",
            "origin": "http://localhost:8000/author/e59e548b-64bf-4da3-9243-bfcadd7d6db5/view_post/73bf46ec-6637-433a-9ea1-f34397ee0601",
            "description": "",
            "contentType": "text/plain",
            "content": "bacon and eggs",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/fd0acb37-49b1-4a9c-8dca-76b51ce1f770",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-10T18:29:37.633541-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "Testing",
            "id": "6d6dd33c-63bd-4c32-832e-bc7f33a1ce11",
            "source": "",
            "origin": "",
            "description": "",
            "contentType": "text/plain",
            "content": "Not important",
            "author": {
                "type": "author",
                "id": "7bec4f7a-4178-4605-9adb-46f788dafc4d",
                "displayName": "steve",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/7bec4f7a-4178-4605-9adb-46f788dafc4d/",
                "birth_date": null,
                "github": "",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/7bec4f7a-4178-4605-9adb-46f788dafc4d/posts/6d6dd33c-63bd-4c32-832e-bc7f33a1ce11",
            "comments": [
                {
                    "type": "comment",
                    "author": {
                        "type": "author",
                        "id": "e59e548b-64bf-4da3-9243-bfcadd7d6db5",
                        "displayName": "graeme",
                        "bio": "",
                        "location": "",
                        "url": "https://team3-socialdistribution.herokuapp.com/author/e59e548b-64bf-4da3-9243-bfcadd7d6db5/",
                        "birth_date": null,
                        "github": "",
                        "host": "https://team3-socialdistribution.herokuapp.com/"
                    },
                    "content": "Hi Steve!",
                    "timestamp": "2021-03-29T20:27:07.032281-06:00",
                    "id": "fb6fc7e6-4208-4c98-afbc-29508d26c6e9",
                    "url": "https://team3-socialdistribution.herokuapp.com//author/e59e548b-64bf-4da3-9243-bfcadd7d6db5/posts/6d6dd33c-63bd-4c32-832e-bc7f33a1ce11/comments/fb6fc7e6-4208-4c98-afbc-29508d26c6e9"
                },
                {
                    "type": "comment",
                    "author": {
                        "type": "author",
                        "id": "f07dda70-b03e-4665-a614-36d506c3d7c9",
                        "displayName": "liz",
                        "bio": "",
                        "location": "",
                        "url": "https://team3-socialdistribution.herokuapp.com/author/f07dda70-b03e-4665-a614-36d506c3d7c9/",
                        "birth_date": null,
                        "github": "",
                        "host": "https://team3-socialdistribution.herokuapp.com/"
                    },
                    "content": "Everything you say is important Steve :)",
                    "timestamp": "2021-03-29T20:27:36.013495-06:00",
                    "id": "a69c5571-c4ae-43df-95c8-f15d7725c102",
                    "url": "https://team3-socialdistribution.herokuapp.com//author/f07dda70-b03e-4665-a614-36d506c3d7c9/posts/6d6dd33c-63bd-4c32-832e-bc7f33a1ce11/comments/a69c5571-c4ae-43df-95c8-f15d7725c102"
                }
            ],
            "categories": [],
            "timestamp": "2021-03-10T18:40:06.884651-07:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "Hey-- Shared from team3_Noah",
            "id": "57720f92-da6f-454b-9a56-56ebbbf10990",
            "source": "localhost:8000/some_random_source",
            "origin": "http://citrusnetwork.herokuapp.com",
            "description": "This is a test post",
            "contentType": "text/plain",
            "content": "What's up",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/57720f92-da6f-454b-9a56-56ebbbf10990",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-31T17:45:44.658708-06:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "Test Post for Demo 2",
            "id": "23a4a0a5-9cdb-4372-8f4f-614e80d678fa",
            "source": "",
            "origin": "",
            "description": "",
            "contentType": "text/plain",
            "content": "This is the content",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/23a4a0a5-9cdb-4372-8f4f-614e80d678fa",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-31T18:22:56.806650-06:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "post for demo-- Shared from goatjames",
            "id": "1dd2cb34-ccf4-4bac-bd2c-8cebee4aef26",
            "source": "localhost:8000/some_random_source",
            "origin": "https://citrusnetwork.herokuapp.com",
            "description": "some description",
            "contentType": "text/plain",
            "content": "hazel is the queen of comedy!!!!",
            "author": {
                "type": "author",
                "id": "fa9f853f-c3d3-465d-8db7-f416ae7312b8",
                "displayName": "Noah",
                "bio": "",
                "location": "",
                "url": "https://team3-socialdistribution.herokuapp.com/author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/",
                "birth_date": null,
                "github": "gskeates",
                "host": "https://team3-socialdistribution.herokuapp.com/"
            },
            "url": "https://team3-socialdistribution.herokuapp.com//author/fa9f853f-c3d3-465d-8db7-f416ae7312b8/posts/1dd2cb34-ccf4-4bac-bd2c-8cebee4aef26",
            "comments": [],
            "categories": [],
            "timestamp": "2021-03-31T18:30:35.547848-06:00",
            "visibility": "PUBLIC",
            "unlisted": false,
            "host": "https://team3-socialdistribution.herokuapp.com/"
        },
        {
            "type": "post",
            "title": "image post",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/bc48bc7e877d4eb18a43375b670b03f5/posts/d208cdca-7f43-4c92-85aa-316e38dc4333",
            "authorID": "bc48bc7e877d4eb18a43375b670b03f5",
            "postID": "d208cdca-7f43-4c92-85aa-316e38dc4333",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "a image",
            "contentType": "image/png;base64",
            "content": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUUAAADACAYAAACTfnGCAAAAAXNSR0IArs4c6QAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuNC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KTMInWQAABqhJREFUeAHt1CFORFEURME3CAxrYP97AgWSBEWCgDADuldAcu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IE2gJGsX1/7QkQGAGjOCAiAQJtAaPYvr/2BAiMwC8vkRK+P4pa0wAAAABJRU5ErkJggg==",
            "count": 0,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/bc48bc7e877d4eb18a43375b670b03f5/posts/d208cdca-7f43-4c92-85aa-316e38dc4333/comments",
            "comment_list": [],
            "published": "2021-04-01T01:19:59.877541Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/bc48bc7e877d4eb18a43375b670b03f5",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "lida2_team18",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/bc48bc7e877d4eb18a43375b670b03f5",
                "github": "lida9",
                "authorID": "bc48bc7e877d4eb18a43375b670b03f5"
            }
        },
        {
            "type": "post",
            "title": "post from team18",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/bfc8848eadab475e967a7841863ce01b/posts/5fc6c9b2-5ef9-46d6-ab53-e25f018edd84",
            "authorID": "bfc8848eadab475e967a7841863ce01b",
            "postID": "5fc6c9b2-5ef9-46d6-ab53-e25f018edd84",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "aa",
            "contentType": "text/plain",
            "content": "aa",
            "count": 1,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/bfc8848eadab475e967a7841863ce01b/posts/5fc6c9b2-5ef9-46d6-ab53-e25f018edd84/comments",
            "comment_list": [
                {
                    "id": "https://cmput-404-socialdistribution.herokuapp.com/author/bfc8848eadab475e967a7841863ce01b/posts/5fc6c9b2-5ef9-46d6-ab53-e25f018edd84/comments/826c381c-2a43-4a80-8a9e-bc1355937c91",
                    "type": "comment",
                    "author": {
                        "id": "905f81d7-4930-4801-a66b-d074f2ce8f20",
                        "url": "http://citrusnetwork.herokuapp.com/author/905f81d7-4930-4801-a66b-d074f2ce8f20",
                        "host": "http://citrusnetwork.herokuapp.com/",
                        "type": "author",
                        "github": "",
                        "username": "lida_on_citrus",
                        "displayName": "lida_on_citrus"
                    },
                    "postID": "5fc6c9b2-5ef9-46d6-ab53-e25f018edd84",
                    "comment": "comment",
                    "summary": "lida_on_citrus comments on your post",
                    "commentID": "826c381c-2a43-4a80-8a9e-bc1355937c91",
                    "published": "2021-03-31T23:17:10.937709Z",
                    "contentType": "text/plain",
                    "author_write_article_ID": "bfc8848eadab475e967a7841863ce01b",
                    "author_write_comment_ID": "905f81d7-4930-4801-a66b-d074f2ce8f20"
                }
            ],
            "published": "2021-03-31T23:06:35.717806Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/bfc8848eadab475e967a7841863ce01b",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "lida5_18",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/bfc8848eadab475e967a7841863ce01b",
                "github": "lida9",
                "authorID": "bfc8848eadab475e967a7841863ce01b"
            }
        },
        {
            "type": "post",
            "title": "hi",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae/posts/d3f41b77-d2fd-4016-bc27-40479718f6d3",
            "authorID": "72035ffacfcb44778eff96c45a5b47ae",
            "postID": "d3f41b77-d2fd-4016-bc27-40479718f6d3",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "sad",
            "contentType": "text/plain",
            "content": "asdasdadsasdasdasda",
            "count": 0,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae/posts/d3f41b77-d2fd-4016-bc27-40479718f6d3/comments",
            "comment_list": [],
            "published": "2021-03-31T21:37:24.584535Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "testa",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae",
                "github": "https://github.com/lida9/CMPUT404-project-socialdistribution",
                "authorID": "72035ffacfcb44778eff96c45a5b47ae"
            }
        },
        {
            "type": "post",
            "title": "hi",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae/posts/f68cc67c-9117-4d66-9e42-d7822c97cee1",
            "authorID": "72035ffacfcb44778eff96c45a5b47ae",
            "postID": "f68cc67c-9117-4d66-9e42-d7822c97cee1",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "sad",
            "contentType": "text/plain",
            "content": "asdasdadsasd",
            "count": 0,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae/posts/f68cc67c-9117-4d66-9e42-d7822c97cee1/comments",
            "comment_list": [],
            "published": "2021-03-31T21:37:19.989597Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "testa",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/72035ffacfcb44778eff96c45a5b47ae",
                "github": "https://github.com/lida9/CMPUT404-project-socialdistribution",
                "authorID": "72035ffacfcb44778eff96c45a5b47ae"
            }
        },
        {
            "type": "post",
            "title": "goat post",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025/posts/24038398-b648-4fcc-ac73-aa09576eb898",
            "authorID": "39db10e82da44b3e80286a91ef4eb025",
            "postID": "24038398-b648-4fcc-ac73-aa09576eb898",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "...",
            "contentType": "text/plain",
            "content": "...",
            "count": 3,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025/posts/24038398-b648-4fcc-ac73-aa09576eb898/comments",
            "comment_list": [
                {
                    "id": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025/posts/24038398-b648-4fcc-ac73-aa09576eb898/comments/1e5129f6-8878-4ab8-ba29-307a2a789d5d",
                    "type": "comment",
                    "author": {
                        "id": "905b57a1-e597-4824-86c8-33458b64e9f2",
                        "url": "http://citrusnetwork.herokuapp.com/author/905b57a1-e597-4824-86c8-33458b64e9f2",
                        "host": "http://citrusnetwork.herokuapp.com/",
                        "type": "author",
                        "github": "",
                        "username": "goatjames",
                        "displayName": "goatjames"
                    },
                    "postID": "24038398-b648-4fcc-ac73-aa09576eb898",
                    "comment": "another comment",
                    "summary": "goatjames comments on your post",
                    "commentID": "1e5129f6-8878-4ab8-ba29-307a2a789d5d",
                    "published": "2021-03-31T21:58:21.697948Z",
                    "contentType": "text/plain",
                    "author_write_article_ID": "39db10e82da44b3e80286a91ef4eb025",
                    "author_write_comment_ID": "905b57a1-e597-4824-86c8-33458b64e9f2"
                },
                {
                    "id": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025/posts/24038398-b648-4fcc-ac73-aa09576eb898/comments/847db7e6-7753-4927-87db-b415e89e7ef7",
                    "type": "comment",
                    "author": {
                        "id": "905b57a1-e597-4824-86c8-33458b64e9f2",
                        "url": "http://citrusnetwork.herokuapp.com/author/905b57a1-e597-4824-86c8-33458b64e9f2",
                        "host": "http://citrusnetwork.herokuapp.com/",
                        "type": "author",
                        "github": "",
                        "username": "goatjames",
                        "displayName": "goatjames"
                    },
                    "postID": "24038398-b648-4fcc-ac73-aa09576eb898",
                    "comment": "yo what's good my guy",
                    "summary": "goatjames comments on your post",
                    "commentID": "847db7e6-7753-4927-87db-b415e89e7ef7",
                    "published": "2021-03-31T21:58:09.595537Z",
                    "contentType": "text/plain",
                    "author_write_article_ID": "39db10e82da44b3e80286a91ef4eb025",
                    "author_write_comment_ID": "905b57a1-e597-4824-86c8-33458b64e9f2"
                },
                {
                    "id": "https://cmput-404-socialdistribution.herokuapp.com/author/ba23af335ede483b83141dad8f7ddf11/posts/24038398-b648-4fcc-ac73-aa09576eb898/comments/59ffceb2-87d4-43fc-ae0f-68a0d2007de7",
                    "type": "comment",
                    "author": {
                        "id": "https://cmput-404-socialdistribution.herokuapp.com/author/ba23af335ede483b83141dad8f7ddf11",
                        "url": "https://cmput-404-socialdistribution.herokuapp.com/author/ba23af335ede483b83141dad8f7ddf11",
                        "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                        "type": "author",
                        "github": "abc",
                        "authorID": "ba23af335ede483b83141dad8f7ddf11",
                        "displayName": "abc"
                    },
                    "postID": "24038398-b648-4fcc-ac73-aa09576eb898",
                    "comment": "hello",
                    "summary": "abc comments on your post",
                    "commentID": "59ffceb2-87d4-43fc-ae0f-68a0d2007de7",
                    "published": "2021-03-31T21:27:43.762811Z",
                    "contentType": "text/plain",
                    "author_write_article_ID": "ba23af335ede483b83141dad8f7ddf11",
                    "author_write_comment_ID": "ba23af335ede483b83141dad8f7ddf11"
                }
            ],
            "published": "2021-03-31T21:08:11.645449Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "goat_harden",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/39db10e82da44b3e80286a91ef4eb025",
                "github": "\"",
                "authorID": "39db10e82da44b3e80286a91ef4eb025"
            }
        },
        {
            "type": "post",
            "title": "another harden post",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1/posts/abd84ea2-339a-4d01-980a-ba076d5d274e",
            "authorID": "0097ccedff9341aa9fe32eb91e08e2f1",
            "postID": "abd84ea2-339a-4d01-980a-ba076d5d274e",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "hope you're ready",
            "contentType": "text/plain",
            "content": "what's good",
            "count": 1,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1/posts/abd84ea2-339a-4d01-980a-ba076d5d274e/comments",
            "comment_list": [
                {
                    "id": "https://cmput-404-socialdistribution.herokuapp.com/author/70ed36c0d1fe4b7ea7ebae2ccaa5f617/posts/abd84ea2-339a-4d01-980a-ba076d5d274e/comments/6c1019ae-d6e1-4c94-a931-03a570560153",
                    "type": "comment",
                    "author": {
                        "id": "https://cmput-404-socialdistribution.herokuapp.com/author/70ed36c0d1fe4b7ea7ebae2ccaa5f617",
                        "url": "https://cmput-404-socialdistribution.herokuapp.com/author/70ed36c0d1fe4b7ea7ebae2ccaa5f617",
                        "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                        "type": "author",
                        "github": "https://github.com/leah",
                        "authorID": "70ed36c0d1fe4b7ea7ebae2ccaa5f617",
                        "displayName": "newnew18"
                    },
                    "postID": "abd84ea2-339a-4d01-980a-ba076d5d274e",
                    "comment": "swag",
                    "summary": "newnew18 comments on your post",
                    "commentID": "6c1019ae-d6e1-4c94-a931-03a570560153",
                    "published": "2021-03-31T19:17:36.186754Z",
                    "contentType": "text/plain",
                    "author_write_article_ID": "70ed36c0d1fe4b7ea7ebae2ccaa5f617",
                    "author_write_comment_ID": "70ed36c0d1fe4b7ea7ebae2ccaa5f617"
                }
            ],
            "published": "2021-03-31T19:03:18.808597Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "james_harden",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1",
                "github": "\"\"",
                "authorID": "0097ccedff9341aa9fe32eb91e08e2f1"
            }
        },
        {
            "type": "post",
            "title": "what's good",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1/posts/38bbb677-a54a-4683-a04e-630d2ba3e631",
            "authorID": "0097ccedff9341aa9fe32eb91e08e2f1",
            "postID": "38bbb677-a54a-4683-a04e-630d2ba3e631",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "hello",
            "contentType": "text/plain",
            "content": "100%",
            "count": 0,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1/posts/38bbb677-a54a-4683-a04e-630d2ba3e631/comments",
            "comment_list": [],
            "published": "2021-03-31T19:02:17.014663Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "james_harden",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/0097ccedff9341aa9fe32eb91e08e2f1",
                "github": "\"\"",
                "authorID": "0097ccedff9341aa9fe32eb91e08e2f1"
            }
        },
        {
            "type": "post",
            "title": "test from heroku",
            "id": "https://cmput-404-socialdistribution.herokuapp.com/author/9ccfb0ac665946dbb1245165accc149e/posts/5f31776d-c581-4d8f-af00-733eef23bb74",
            "authorID": "9ccfb0ac665946dbb1245165accc149e",
            "postID": "5f31776d-c581-4d8f-af00-733eef23bb74",
            "source": "http://localhost:3000/",
            "origin": "http://localhost:3000/",
            "description": "aa",
            "contentType": "text/plain",
            "content": "aa",
            "count": 0,
            "comments": "https://cmput-404-socialdistribution.herokuapp.com/author/9ccfb0ac665946dbb1245165accc149e/posts/5f31776d-c581-4d8f-af00-733eef23bb74/comments",
            "comment_list": [],
            "published": "2021-03-31T01:39:00.261871Z",
            "visibility": "PUBLIC",
            "unlisted": false,
            "author": {
                "type": "author",
                "id": "https://cmput-404-socialdistribution.herokuapp.com/author/9ccfb0ac665946dbb1245165accc149e",
                "host": "https://cmput-404-socialdistribution.herokuapp.com/",
                "displayName": "lida1",
                "url": "https://cmput-404-socialdistribution.herokuapp.com/author/9ccfb0ac665946dbb1245165accc149e",
                "github": "lida9",
                "authorID": "9ccfb0ac665946dbb1245165accc149e"
            }
        }
    ]
}

Clone this wiki locally