Skip to content
Eddie James Carswell II edited this page Mar 21, 2019 · 3 revisions

The ACC API has the following valid actions

Count

Purpose

Provide a count of total and daily closes for a ACC user

Parameters

user

Example

Request: https://accounts.wmflabs.org/api.php?action=count&user=TNT

Result: <user name="TNT" level="User" created="431" today="17"/>


Status

Purpose

To provide an overview of the ACC queues

Parameters

None

Example

Request: https://accounts.wmflabs.org/api.php?action=status

Result: <status open="247" admin="0" checkuser="0" hold="58" proxy="0" bans="205" useradmin="10" user="39" usernew="2"/>


Stats

Purpose

Provides more detailed statistics about an ACC user

Parameters

user OR wikiuser

Example

Request: https://accounts.wmflabs.org/api.php?action=stats&user=TNT

Result: <user username="TNT" status="User" lastactive="2018-01-13 22:16:35" welcome_template="29" onwikiname="There'sNoTime" oauth="true"/>


Help

Purpose

Displays a link to this page

Parameters

None

Example

https://accounts.wmflabs.org/api.php?action=help


Monitor

Purpose

Shows the oldest and newest request in the queue

Parameters

None

Example

Request: https://accounts.wmflabs.org/api.php?action=monitor

Result: <data date="2018-01-13T22:46:27+00:00" oldest="2017-11-19T11:41:10+00:00" newest="2018-01-13T22:06:10+00:00"/>