⧼api-help-title⧽
action=tag
(main | tag)
- ⧼api-help-flag-readrights⧽
- ⧼api-help-flag-writerights⧽
- ⧼api-help-flag-mustbeposted⧽
- ⧼api-help-source⧽
- ⧼api-help-license⧽
- rcid
- ⧼apihelp-tag-param-rcid⧽
- Type: list of integers
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- revid
- ⧼apihelp-tag-param-revid⧽
- Type: list of integers
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- logid
- ⧼apihelp-tag-param-logid⧽
- Type: list of integers
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- add
- ⧼apihelp-tag-param-add⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- remove
- ⧼apihelp-tag-param-remove⧽
- Separate values with "|", or prefix the list with U+001F and separate with U+001F.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- reason
- ⧼apihelp-tag-param-reason⧽
- Default: (empty)
- tags
- ⧼apihelp-tag-param-tags⧽
- Values (separate with U+007C (pipe), or prefix the list with U+001F and separate with U+001F):
- token
- ⧼api-help-param-token⧽
- This parameter is required.
- ⧼apihelp-tag-example-rev⧽
- api.php?action=tag&revid=123&add=vandalism&token=123ABC ⧼api-help-open-in-apisandbox⧽
- ⧼apihelp-tag-example-log⧽
- api.php?action=tag&logid=123&remove=spam&reason=Wrongly+applied&token=123ABC ⧼api-help-open-in-apisandbox⧽