MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=granthaannotations
(main | granthaannotations)
- This module requires read rights.
- Source: GranthaAnnotations
- License: GPL-2.0-or-later
Read the current user's annotations (notes and bookmarks).
Specific parameters:
Other general parameters are available.
- page
Page name to fetch annotations for. Omit to fetch every annotation for this user, across all pages.
- type
Restrict to one annotation type.
- One of the following values: bookmark, note
- limit
How many annotations to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 100
- continue
Offset to continue from, as returned by a previous request.
- Type: integer
- Default: 0
Examples:
- Get this user's annotations on one page.
- api.php?action=granthaannotations&page=Brahmasutra&format=json&formatversion=2 [open in sandbox]
- Get this user's most recent annotations across all pages.
- api.php?action=granthaannotations&limit=50&format=json&formatversion=2 [open in sandbox]