Users
DEPRECATED (use GET /resources?onlyImported=true instead) List all of the resources the current user has imported.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/0123456789/imports?cursor=abcdefg"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
An identifier from a prior result to continue retrieving results
List of imported resources
Bad Request
List all of the updates to resources the current user has imported.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/0123456789/updates?cursor=abcdefg"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
An identifier from a prior result to continue retrieving results
List of updates to resources available
Bad Request
Get the update information for a resource the current user has imported, if available.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/0123456789/updates/c8d82b560d094c8e82ca0e4e59145e06"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
A resource's unique id
Update information for the resource
Bad Request
Ignore this update for particular courses that previously had imported the resource.
Example:
curl -X POST -H "X-Session-ID: 0123456789" -H "Content-Type:application/json" -d '{"courseIds":["123","456"]}' "https://lor.instructure.com/api/users/0123456789/updates/9145e06/ignore"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
A resource's unique id
A list of ids for courses to ignore for this update
No Content
Bad Request
No content
List all of the resources the current user has marked as Favorite.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/0123456789/favorites"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
List of favorite resources
List of favorite resources
Adds a resource to the current user's favorites list.
Example:
curl -X POST -H "X-Session-ID: 0123456789" -H "Content-Type: application/json" --data @data.json "https://lor.instructure.com/api/users/1234/favorites"
data.json:
{
"resourceId": "ajk123"
}
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
The resourceId to mark as favorite
List of all favorite resources of the current user
Bad Request
Returns the Canvas profile URL for the specified user.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/abcdef/profile"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The ID of the user you want to see in Canvas
Ok
Bad Request
No content
Remove a resource from the current user's favorites list.
Example:
curl -X DELETE -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users/1234/favorites/56789"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The current session user id
The resourceId to unflag from user favorites
No-Content
Bad Request
No content
Search through a list of all of the users in your account. Only admins and group managers may access this.
Example:
curl -H "X-Session-ID: 0123456789" "https://lor.instructure.com/api/users?q=aaron"
Session authentication. The session ID can be provided in any of the following ways: [Cookie: 'session'] [Header: 'x-session-id'] [Query parameter: 'session-id'] [Query parameter: first value of 'state'] [Body property: 'sessionId']
The text to search for in the name or e-mail of the users. The results will be empty until the minimum length of 3 characters is satisfied.
An identifier from a prior query to continue retrieving results for.
An array of all of the users found matching the search
Bad Request
Last updated
Was this helpful?