Bookmarks
A Bookmark object looks like:
Bookmarks::BookmarksController#index
GET /api/v1/users/self/bookmarks
GET /api/v1/users/self/bookmarks
Scope: url:GET|/api/v1/users/self/bookmarks
Returns the paginated list of bookmarks.
Example Request:
Returns a list of Bookmark objects.
Bookmarks::BookmarksController#create
POST /api/v1/users/self/bookmarks
POST /api/v1/users/self/bookmarks
Scope: url:POST|/api/v1/users/self/bookmarks
Creates a bookmark.
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| The name of the bookmark |
|
| The url of the bookmark |
|
| The position of the bookmark. Defaults to the bottom. |
|
| The data associated with the bookmark |
Example Request:
Returns a Bookmark object.
Bookmarks::BookmarksController#show
GET /api/v1/users/self/bookmarks/:id
GET /api/v1/users/self/bookmarks/:id
Scope: url:GET|/api/v1/users/self/bookmarks/:id
Returns the details for a bookmark.
Example Request:
Returns a Bookmark object.
Bookmarks::BookmarksController#update
PUT /api/v1/users/self/bookmarks/:id
PUT /api/v1/users/self/bookmarks/:id
Scope: url:PUT|/api/v1/users/self/bookmarks/:id
Updates a bookmark
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| The name of the bookmark |
|
| The url of the bookmark |
|
| The position of the bookmark. Defaults to the bottom. |
|
| The data associated with the bookmark |
Example Request:
Returns a Folder object.
Bookmarks::BookmarksController#destroy
DELETE /api/v1/users/self/bookmarks/:id
DELETE /api/v1/users/self/bookmarks/:id
Scope: url:DELETE|/api/v1/users/self/bookmarks/:id
Deletes a bookmark
Example Request:
© Instructure, Inc. Generated on Wed Nov 6 14:20:05 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated