mitodl / course-catalog

MIT ODL course catalog
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

gist of MITx API response #4

Closed pdpinch closed 5 years ago

pdpinch commented 5 years ago

We need an example of the MITx API response for reference

alizag commented 5 years ago

Here is an example of the response returned by a GET request to https://api.edx.org/catalog/v1/catalogs/34/courses Note: I have consolidated the results list to contain one course object only (originally it returned 20)

{
    "count": 1335,
    "next": "https://prod-edx-discovery.edx.org/api/v1/catalogs/34/courses/?limit=20&offset=20",
    "previous": null,
    "results": [
        {
            "key": "KyotoUx+000x",
            "uuid": "bc071cc9-ba3f-4273-9069-e6c9bfb1da30",
            "title": "Evolution of the Human Sociality: A Quest for the Origin of Our Social Behavior",
            "course_runs": [
                {
                    "key": "course-v1:KyotoUx+000x+3T2018",
                    "uuid": "83d58d8a-5ac7-4f36-918b-964890d83c7e",
                    "title": "Evolution of the Human Sociality: A Quest for the Origin of Our Social Behavior",
                    "image": {
                        "width": null,
                        "description": null,
                        "height": null,
                        "src": "https://prod-discovery.edx-cdn.org/media/course/image/bc071cc9-ba3f-4273-9069-e6c9bfb1da30-fcc4984b3078.small.jpg"
                    },
                    "short_description": "Learn about the origins of human beings and primatology, the scientific study of primates.",
                    "marketing_url": "https://www.edx.org/course/evolution-of-the-human-sociality-a-quest-for-the-origin-of-our-social-behavior?utm_source=pdpinch-mit&utm_medium=affiliate_partner",
                    "seats": [
                        {
                            "type": "verified",
                            "price": "49.00",
                            "currency": "USD",
                            "upgrade_deadline": "2019-09-16T23:59:59Z",
                            "credit_provider": null,
                            "credit_hours": null,
                            "sku": "E16415A",
                            "bulk_sku": "AA6AFAA"
                        },
                        {
                            "type": "audit",
                            "price": "0.00",
                            "currency": "USD",
                            "upgrade_deadline": null,
                            "credit_provider": null,
                            "credit_hours": null,
                            "sku": "554B748",
                            "bulk_sku": null
                        }
                    ],
                    "start": "2018-12-06T06:00:00Z",
                    "end": "2019-09-26T23:59:00Z",
                    "enrollment_start": null,
                    "enrollment_end": null,
                    "pacing_type": "self_paced",
                    "type": "verified",
                    "status": "published",
                    "course": "KyotoUx+000x",
                    "full_description": "<p>Through the process of evolution, animals have developed their biological features and their cultures based on their surrounding environments. How we live our lives today is a direct result of features developed from our primate ancestors as they adapted to new environments.  </p>\n<p>In primatology, it is essential to think about how cultural development and biological natures are inseparable.  </p>\n<p>This course will help you rediscover the process of evolution and will introduce primatological studies conducted by researchers at Kyoto University, Japan. Based on carefully conducted research on primate species, we will explore the origins of human beings and provide you with examples of common similarities between human beings and non-human primates.  </p>\n<p>We will analyze basic features, such as foraging, mating, aggression, and communication from the primatological viewpoint. Furthermore, cultural and social aspects of human society, from the formation of family groups to community activities, will be considered thoroughly, in comparison to those of monkeys and apes.  </p>\n<p>Our goal is to broaden your view of humans to a wider extent and think dynamically about your biology in terms of human evolution. Through acquiring knowledge of basic primatology in this course, you will establish a viewpoint to think and discuss the evolutionary process of human, and human society, in conjunction with those of our close relatives.</p>",
                    "announcement": "2018-11-27T14:52:12Z",
                    "video": {
                        "src": "http://www.youtube.com/watch?v=l4zi7eoU3uQ",
                        "description": null,
                        "image": {
                            "src": "https://www.edx.org/sites/default/files/course/image/featured-card/000x-course_image-378x225a.jpg",
                            "description": null,
                            "height": null,
                            "width": null
                        }
                    },
                    "content_language": "en-us",
                    "license": "",
                    "outcome": "<ul><li>Basic concepts and scientific evidence of primatology</li>\n\t<li>The process of human evolution in conjunction with those of primates.</li>\n\t<li>Ability to discuss the process of human evolution through the history of primate evolution</li>\n</ul>",
                    "transcript_languages": [
                        "en-us"
                    ],
                    "instructors": [],
                    "staff": [
                        {
                            "uuid": "4080e4a6-a477-4f8f-9ef9-be522fc6ea79",
                            "salutation": null,
                            "given_name": "Juichi",
                            "family_name": "Yamagiwa",
                            "bio": "As a world-renowned researcher and expert in the study of primatology, Juichi Yamagiwa served as Professor and Dean of Graduate School and Faculty of Science, followed by inauguration as the President of Kyoto University in 2014. Dr. Yamagiwa’s passion for fieldwork research frequently made him travel to the land of Africa, such as Gabon, DR Congo, where he discovered an abundance of new findings related to gorillas, through his unique viewpoint of evolution. His hobbies include lingala pop music and dance.",
                            "slug": "juichi-yamagiwa",
                            "position": {
                                "title": "President",
                                "organization_name": "Kyoto University",
                                "organization_id": 25,
                                "organization_override": null,
                                "organization_marketing_url": null
                            },
                            "areas_of_expertise": [],
                            "profile_image": {
                                "medium": {
                                    "url": "https://prod-discovery.edx-cdn.org/media/people/profile_images/4080e4a6-a477-4f8f-9ef9-be522fc6ea79-2be36d827fd9.medium.png",
                                    "height": 110,
                                    "width": 110
                                }
                            },
                            "works": [],
                            "urls": {
                                "twitter": null,
                                "blog": null,
                                "facebook": null
                            },
                            "urls_detailed": [],
                            "email": null,
                            "profile_image_url": "https://prod-discovery.edx-cdn.org/media/people/profile_images/4080e4a6-a477-4f8f-9ef9-be522fc6ea79-2be36d827fd9.png",
                            "major_works": ""
                        },
                        {
                            "uuid": "c3b48078-acff-4ced-ba43-8479ab5e7134",
                            "salutation": null,
                            "given_name": "Shun",
                            "family_name": "Hongo",
                            "bio": "Shun Hongo is a primate behavioral ecologist at the Primate Research Institute, Kyoto University. He has worked in a tropical forest in Gabon since 2009 for his research on society and ecology of mandrills and received his Ph. D. from Kyoto University in 2016. He assists in designing and conducting this course as a subject matter expert.",
                            "slug": "shun-hongo",
                            "position": {
                                "title": "Researcher, Primate Research Institute",
                                "organization_name": "Kyoto University",
                                "organization_id": 25,
                                "organization_override": null,
                                "organization_marketing_url": null
                            },
                            "areas_of_expertise": [],
                            "profile_image": {
                                "medium": {
                                    "url": "https://prod-discovery.edx-cdn.org/media/people/profile_images/c3b48078-acff-4ced-ba43-8479ab5e7134-8d79173d7205.medium.png",
                                    "height": 110,
                                    "width": 110
                                }
                            },
                            "works": [],
                            "urls": {
                                "twitter": null,
                                "blog": null,
                                "facebook": null
                            },
                            "urls_detailed": [],
                            "email": null,
                            "profile_image_url": "https://prod-discovery.edx-cdn.org/media/people/profile_images/c3b48078-acff-4ced-ba43-8479ab5e7134-8d79173d7205.png",
                            "major_works": ""
                        }
                    ],
                    "min_effort": 2,
                    "max_effort": 3,
                    "weeks_to_complete": 6,
                    "modified": "2018-12-18T20:36:47.714055Z",
                    "level_type": "Introductory",
                    "availability": "Current",
                    "mobile_available": false,
                    "hidden": false,
                    "reporting_type": "mooc",
                    "eligible_for_financial_aid": true,
                    "first_enrollable_paid_seat_price": 49,
                    "has_ofac_restrictions": false
                }
            ],
            "entitlements": [
                {
                    "mode": "verified",
                    "price": "49.00",
                    "currency": "USD",
                    "sku": "88EE3D4",
                    "expires": null
                }
            ],
            "owners": [
                {
                    "uuid": "697091f9-b97d-4d38-a7c5-621353e7551c",
                    "key": "KyotoUx",
                    "name": "Kyoto University",
                    "certificate_logo_image_url": "https://edxuploads.s3.amazonaws.com/organization_logos/logo-kyotoux.png",
                    "description": "<p>Founded in 1897, Kyoto University is acknowledged as one of the most accomplished research-oriented universities in Asia. The validity of that reputation is testified by the accolades conferred on our alumni researchers, most notably eight Nobel Prize laureates who undertook vital research during their time at the university. In addition to those awards, several other Kyoto University faculty members have received respected accolades, including two Fields Medalists and one recipient of the Gauss Prize.</p>\n<p>Visit the KyotoUx <a href=\"https://www.facebook.com/kyotoux\">Facebook page</a> for more information.</p>",
                    "homepage_url": null,
                    "tags": [
                        "charter"
                    ],
                    "logo_image_url": "https://www.edx.org/sites/default/files/school/image/banner/kyotoux_200x101_0.png",
                    "marketing_url": "https://www.edx.org/school/kyotoux"
                }
            ],
            "image": {
                "width": null,
                "description": null,
                "height": null,
                "src": "https://prod-discovery.edx-cdn.org/media/course/image/bc071cc9-ba3f-4273-9069-e6c9bfb1da30-fcc4984b3078.small.jpg"
            },
            "short_description": "Learn about the origins of human beings and primatology, the scientific study of primates.",
            "full_description": "<p>Through the process of evolution, animals have developed their biological features and their cultures based on their surrounding environments. How we live our lives today is a direct result of features developed from our primate ancestors as they adapted to new environments.  </p>\n<p>In primatology, it is essential to think about how cultural development and biological natures are inseparable.  </p>\n<p>This course will help you rediscover the process of evolution and will introduce primatological studies conducted by researchers at Kyoto University, Japan. Based on carefully conducted research on primate species, we will explore the origins of human beings and provide you with examples of common similarities between human beings and non-human primates.  </p>\n<p>We will analyze basic features, such as foraging, mating, aggression, and communication from the primatological viewpoint. Furthermore, cultural and social aspects of human society, from the formation of family groups to community activities, will be considered thoroughly, in comparison to those of monkeys and apes.  </p>\n<p>Our goal is to broaden your view of humans to a wider extent and think dynamically about your biology in terms of human evolution. Through acquiring knowledge of basic primatology in this course, you will establish a viewpoint to think and discuss the evolutionary process of human, and human society, in conjunction with those of our close relatives.</p>",
            "level_type": "Introductory",
            "subjects": [
                {
                    "name": "History",
                    "subtitle": "Learn about history and more from the best universities and institutions around the world.",
                    "description": "<p>Study world history online with courses covering a variety of subjects from ancient to modern. Topics include ancient Greek history, European art history, religion in history, human evolution and much more. Enroll in Harvard University’s popular ten-part series on the history of China or any of the many free courses offered.  </p>\n<p>Related Topics - <a href=\"/learn/art-history\">Art History</a>| <a href=\"/learn/chinese-history\">Chinese History</a>| <a href=\"/learn/us-history\">U.S. History</a>| <a href=\"/learn/western-civilization\">Western Civilization</a>| <a href=\"/learn/world-history\">World History</a></p>",
                    "banner_image_url": "https://www.edx.org/sites/default/files/history-1440-210.jpg",
                    "card_image_url": "https://www.edx.org/sites/default/files/subject/image/card/history.jpg",
                    "slug": "history",
                    "uuid": "c8579e1c-99f2-4a95-988c-3542909f055e"
                },
                {
                    "name": "Biology & Life Sciences",
                    "subtitle": "Learn about biology and life sciences and more from the best universities and institutions around the world.",
                    "description": "<p>Take free online biology courses in genetics, biotechnology, biochemistry, neurobiology and other disciplines. Courses include <em>Fundamentals of Neuroscience</em> from Harvard University, <em>Molecular Biology</em> from MIT and an <em>Introduction to Bioethics</em> from Georgetown.  </p>\n<p>Related Topics - <a href=\"/learn/animal-behavior\">Animal Behavior</a> | <a href=\"/learn/bioelectricity\">Bioelectricity</a> | <a href=\"/learn/bioinformatics\">Bioinformatics</a> | <a href=\"/learn/biology\">Biology</a> | <a href=\"/learn/biotechnology\">Biotechnology</a> | <a href=\"/learn/cellular-biology\">Cellular Biology</a> | <a href=\"/learn/dna\">DNA</a> | <a href=\"/learn/evolution\">Evolution</a> | <a href=\"/learn/genetics\">Genetics</a> | <a href=\"/learn/health-wellness\">Health & Wellness</a> | <a href=\"/learn/human-anatomy\">Human Anatomy</a> | <a href=\"/learn/life-sciences\">Life Sciences</a> | <a href=\"/learn/medicine\">Medicine</a> | <a href=\"/learn/microbiology\">Microbiology</a> | <a href=\"/learn/molecular-biology\">Molecular Biology</a> | <a href=\"/learn/neuroscience\">Neuroscience</a> | <a href=\"/learn/nursing\">Nursing</a> | <a href=\"/learn/nutrition\">Nutrition</a> | <a href=\"/learn/physiology\">Physiology</a> | <a href=\"/learn/safety\">Safety</a></p>",
                    "banner_image_url": "https://www.edx.org/sites/default/files/plant-stomas-1440x210.jpg",
                    "card_image_url": "https://www.edx.org/sites/default/files/subject/image/card/biology.jpg",
                    "slug": "biology-life-sciences",
                    "uuid": "9d5b5edb-254a-4d54-b430-776f1f00eaf0"
                },
                {
                    "name": "Science",
                    "subtitle": "Learn about science and more from the best universities and institutions around the world.",
                    "description": "<p>Science is one of the most popular subjects on edX and online courses range from beginner to advanced levels. Areas of study include neuroscience, genotyping, DNA methylation, innovations in environmental science, modern astrophysics and more from top universities and institutions worldwide.</p>\n<p>Related Topics - <a href=\"/learn/biology\">Biology</a> | <a href=\"/learn/biotechnology\">Biotechnology</a> | <a href=\"https://www.edx.org/learn/climate-change\">Climate Change</a> | <a href=\"/learn/genetics\">Genetics</a> | <a href=\"/learn/health-wellness\">Health & Wellness</a> | <a href=\"/learn/human-anatomy\">Human Anatomy</a> | <a href=\"https://www.edx.org/learn/healthcare\">Heatlhcare</a> | <a href=\"/learn/life-sciences\">Life Sciences</a> | <a href=\"/learn/medicine\">Medicine</a> | <a href=\"/learn/microbiology\">Microbiology</a> | <a href=\"/learn/molecular-biology\">Molecular Biology</a> | <a href=\"/learn/neuroscience\">Neuroscience</a> | <a href=\"/learn/physiology\">Physiology</a> | <a href=\"/learn/astronomy\">Astronomy</a> | <a href=\"/learn/chemistry\">Chemistry</a> | <a href=\"/learn/earth-sciences\">Earth Sciences</a> | <a href=\"/learn/environmental-science\">Environmental Science</a> | <a href=\"/learn/geology\">Geology</a> | <a href=\"/learn/nature\">Nature</a> | <a href=\"/learn/organic-chemistry\">Organic Chemistry</a> | <a href=\"/learn/physics\">Physics</a> | <a href=\"/learn/social-science\">Social Science</a> | <a href=\"https://www.edx.org/learn/sustainable-development\">Sustainable Development</a></p>",
                    "banner_image_url": "https://www.edx.org/sites/default/files/neuron-1440x210.jpg",
                    "card_image_url": "https://www.edx.org/sites/default/files/subject/image/card/science.jpg",
                    "slug": "science",
                    "uuid": "f830cfeb-bb7e-46ed-859d-e2a9f136499f"
                }
            ],
            "prerequisites": [],
            "prerequisites_raw": "<p>No previous academic knowledge is required.</p>",
            "expected_learning_items": [],
            "video": {
                "src": "http://www.youtube.com/watch?v=l4zi7eoU3uQ",
                "description": null,
                "image": {
                    "src": "https://www.edx.org/sites/default/files/course/image/featured-card/000x-course_image-378x225a.jpg",
                    "description": null,
                    "height": null,
                    "width": null
                }
            },
            "sponsors": [],
            "modified": "2018-12-18T20:35:19.987645Z",
            "marketing_url": "https://www.edx.org/course/?utm_source=pdpinch-mit&utm_medium=affiliate_partner",
            "syllabus_raw": "<p><strong>Week 1: History &amp; Concept of Japanese Primatology</strong></p>\n\n<ul><li>The Dawn of Primatology</li>\n\t<li>The History of Japanese Primatology</li>\n\t<li>\"Culture\" of Non-Human Animals</li>\n\t<li>Studies on Gorillas</li>\n</ul><p><strong>Week 2: What Primatologists Found on Japanese Macaques</strong></p>\n\n<ul><li>Different Models for the Social Evolution in Non-Human Primates</li>\n\t<li>Living in the Northern Limit: Japanese Macaques</li>\n\t<li>Society of Japanese Macaques and Effects of Provisioning</li>\n\t<li>Forests Make Society: A Comparative Study of Japanese Macaques</li>\n\t<li>Social Differences between Kinkazan and Yakushima</li>\n\t<li>New Findings from Yakushima and Conclusion</li>\n</ul><p><strong>Week 3: The Places Where Humans and Primates Evolved</strong></p>\n\n<ul><li>Tropical Rain Forest Where Primates Evolved</li>\n\t<li>Humans Exited from the Forest</li>\n\t<li>Adaptation of Primates in African Tropical Forest</li>\n\t<li>Co-Evolution of Plants and Primates</li>\n\t<li>Evolution of Human Ancestors</li>\n\t<li>How do Gorillas and Chimpanzees Coexist?</li>\n\t<li>My Study on Sympatric Gorillas and Chimpanzees in DR Congo</li>\n</ul><p><strong>Week 4: Food and Sex Shape Primate Sociality</strong></p>\n\n<ul><li>Influences of Food on Primate Society</li>\n\t<li>Inter-Individual Relationships and Food Transfer</li>\n\t<li>The New Discovery of Food Sharing among Adult Gorillas</li>\n\t<li>Human Evolution and Food Sharing</li>\n\t<li>How Does Sex Shape Primate Sociality</li>\n\t<li>Human Sexuality and Evolution of Social Structure</li>\n</ul><p><strong>Week 5: Aggression and Society</strong></p>\n\n<ul><li>Has Human Evolved as an Excellent Hunter?</li>\n\t<li>Aggression and Social Intelligence of Old World Monkeys</li>\n\t<li>Face to Face Communication in Great Apes and Humans</li>\n\t<li>Infanticide in Non-Human Primates</li>\n\t<li>Infanticide Affects Social Behavior</li>\n</ul><p><strong>Week 6: Evolution of Life History Strategy</strong></p>\n\n<ul><li>Primates Are Mammals of Slow Life History and Careful Nurturing</li>\n\t<li>Female Dispersal Versus Female Philopatry</li>\n\t<li>Life History in Human and Great Apes: Similarity and Uniqueness</li>\n\t<li>Human Evolution: From Bipedalism to Family Formation</li>\n\t<li>Synthesis: Evolution of Human Sociality</li>\n</ul>",
            "outcome": "<ul><li>Basic concepts and scientific evidence of primatology</li>\n\t<li>The process of human evolution in conjunction with those of primates.</li>\n\t<li>Ability to discuss the process of human evolution through the history of primate evolution</li>\n</ul>",
            "original_image": {
                "width": null,
                "description": null,
                "height": null,
                "src": "https://prod-discovery.edx-cdn.org/media/course/image/bc071cc9-ba3f-4273-9069-e6c9bfb1da30-fcc4984b3078.jpg"
            },
            "card_image_url": "https://www.edx.org/sites/default/files/course/image/promoted/000x-course_image-378x225a.jpg",
            "canonical_course_run_key": "course-v1:KyotoUx+000x+2T2016",
            "extra_description": null,
            "additional_information": null,
            "faq": null,
            "learner_testimonials": null
        }
    ]
}