LTI ContextControls
LTI ContextControls API
// Represent availability of an LTI registration in a specific context
{
// the Canvas ID of the Lti::ContextControl object
"id": 2,
// the Canvas ID of the Course that owns this. one of this or account_id will
// always be present
"course_id": 2,
// the Canvas ID of the Account that owns this. one of this or course_id will
// always be present
"account_id": 2,
// the Canvas ID of the ContextExternalTool that owns this, representing an LTI
// deployment
"deployment_id": 2,
// The state of this tool in this context. `true` means the tool is available in
// this context and in all contexts below it.
"available": true,
// A representation of the account hierarchy for the context that owns this
// object. Used for checking availability during LTI operations.
"path": "a1.a2.c3.",
// For UI display. Names of the accounts in the context's hierarchy. Excludes
// the root, and the current account if context is an account.
"display_path": ["Sub Account", "Other Account"],
// For UI display. The name of the context this object is associated with
"context_name": "My Course",
// For UI display. The depth of ContextControls for this particular deployment
// account chain, which can be different from the number of accounts in the
// chain.
"depth": 2,
// For UI display. The number of courses in this account and all nested
// subaccounts. 0 when context is a Course.
"course_count": 402,
// For UI display. The number of controls for accounts below this one, including
// all nested subaccounts. 0 when context is a Course.
"child_control_count": 42,
// For UI display. The number of subaccounts for this account. Includes all
// nested subaccounts. 0 when context is a Course.
"subaccount_count": 42,
// The state of the object
"workflow_state": "active",
// Timestamp of the object's creation
"created_at": "2024-01-01T00:00:00Z",
// Timestamp of the object's last update
"updated_at": "2024-01-01T00:00:00Z",
// The user that created this object. Not always present.
"created_by": {"type":"User"},
// The user that last updated this object. Not always present.
"updated_by": {"type":"User"}
}Parameter
Type
Description
Parameter
Type
Description
Parameter
Type
Description
Last updated
Was this helpful?