mc3-handcar-api
  • Overview
    • What is Handcar?
    • Known issues/Issues under consideration for implementation in future releases
    • Other Related Documentation
    • Model Diagram
    • Model Description
    • Implementation Details
  • What is the base URL for Handcar?
    • Production Tier
    • Demo/Test Tier
  • Objective Banks
    • Basic Lookup
    • Looking up objects within a bank
    • Configuration Data
  • Objectives
    • Basic Objective Lookup Examples
    • Looking up objectives in a hierarchy
    • Looking up requisite and dependent objectives
  • Activities
    • Basic Lookup
    • Looking up related objects
  • Assets
    • Basic Lookup
  • Cross Bank Support
    • Example #1 Finding an objective by id without specifying its bank
    • Example #2 Finding an activity by id without specifying its bank
    • Example #3 Finding an asset by id without specifying its bank
  • Extension Records
    • What is an extension record?
    • Example #1 Fetch a Particular Objective Bank’s Extension Record
    • Example #2 Fetch a Particular Objective’s Extension Record
    • Example #3 Fetch a Particular Activity’s Extension Record
    • Example #4 Fetch a Particular Asset’s Extension Record
    • Example #5 Fetch a Particular Asset Content’s Extension Record
  • Administration – Creating and Updating Objects in Handcar
    • A Word about Types
    • How can I get my own objective bank in the production tier on MC3?
    • Creating a “Sandbox” Objective Bank in MC3-DEMO
    • You can create and update 3 kinds (types) of Objectives
    • Creating and Updating Activities
    • Creating and Updating Assets
  • Administration – Deleting objects
    • Delete Objective Bank
    • Delete Objective
    • Delete Activity
    • Delete Asset
    • Delete Asset Content
    • Delete a Relationship Family
    • Delete a Relationship
  • Two Authentication Mechanisms
    • Which authentication mechanism should I use?
    • Ok, my app can authenticate to handcar but how can I get Touchstone to authenticate users to my app?
    • Authenticating to Handcar via Touchstone
    • Authenticating to Handcar using Agent Keys
  • Authorization
    • The MC3$GUEST account
    • MIT Roles
    • Qualifiers
    • What if a user has no authorizations?
    • Authorization Hints
  • The Relationship Service
    • Introduction
    • Basic Lookup
  • Documentation TODOs
 
mc3-handcar-api
  • Docs »
  • Activities
  • Edit on GitHub

Activities¶

Basic Lookup¶

Example #1 Fetch all the activities in the bank¶

https://mc3-demo.mit.edu/handcar/services/learning/objectivebanks/mc3-objectivebank%3A1%40MIT-OEIT/activities

Example #2 Fetch all the activities for an objective¶

https://mc3-demo.mit.edu/handcar/services/learning/objectivebanks/mc3-objectivebank%3A1%40MIT-OEIT/objectives/mc3-objective%3A235%40MIT-OEIT/activities

Example #3 Fetch a particular activity by ID¶

https://mc3-demo.mit.edu/handcar/services/learning/objectivebanks/mc3-objectivebank%3A1%40MIT-OEIT/activities/mc3-activity%3A222%40MIT-OEIT

Example #4 Fetch a Particular Activity Without Specifying the Bank¶

https://mc3-demo.mit.edu/handcar/services/learning/activities/mc3-activity%3A222%40MIT-OEIT

Example #5 Bulk Fetch Activities by specifying multiple IDs¶

http://mc3-demo.mit.edu/handcar/services/learning/objectivebanks/objectivebank%3A1%40MIT-OEIT/activities/bulk?id=activity%3A1%40MIT-OEIT&id=activity%3A2%40MIT-OEIT&id=activity%3A3%40MIT-OEIT

Looking up related objects¶

Example #1 Fetch a Particular Activity’s Asset IDs¶

You don’t have to, the asset ids are stored as data fields on the Activity object!

Example #2 Fetch a Particular Activity’s Assets¶

https://mc3-demo.mit.edu/handcar/services/learning/objectivebanks/mc3-objectivebank%3A1%40MIT-OEIT/activities/mc3-activity%3A222%40MIT-OEIT/assets

Next Previous

© Copyright 2013, MIT.

Sphinx theme provided by Read the Docs