From ac51eab497a43b38bc334bcbea51bbd2c69f2bf8 Mon Sep 17 00:00:00 2001 From: Ray Nicholus Date: Wed, 1 Feb 2017 21:03:06 -0600 Subject: [PATCH] docs(methods.jmd): Mention the only statuses that are valid ATM closes #1739 [skip ci] --- docs/api/methods.jmd | 18 ++++-------------- .../features/statistics-and-status-updates.jmd | 2 +- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/docs/api/methods.jmd b/docs/api/methods.jmd index dedd9cdfa..0fd7b789b 100644 --- a/docs/api/methods.jmd +++ b/docs/api/methods.jmd @@ -551,20 +551,10 @@ A `resizeInfo` object, which will be passed to your (optional) `customResizer` f {{ api_method("setStatus", "setStatus (id, newStatus])", """ Modify the status of an file. -The status values correspond to those found in the `qq.status` object. For reference: - -* `SUBMITTED` -* `QUEUED` -* `UPLOADING` -* `UPLOAD_RETRYING` -* `UPLOAD_FAILED` -* `UPLOAD_SUCCESSFUL` -* `CANCELED` -* `REJECTED` -* `DELETED` -* `DELETING` -* `DELETE_FAILED` -* `PAUSED` +The status values correspond to those found in the `qq.status` object. Currently, the following status values may be set via this method: + +* `qq.status.DELETED` +* `qq.status.DELETE_FAILED` """, [ diff --git a/docs/features/statistics-and-status-updates.jmd b/docs/features/statistics-and-status-updates.jmd index ec3ef98e1..6c632d7df 100644 --- a/docs/features/statistics-and-status-updates.jmd +++ b/docs/features/statistics-and-status-updates.jmd @@ -1,7 +1,7 @@ {% extends "_templates/base.html" %} {% set page_title = "Statistics and Status Updates" %} {% block sidebar %} -{{ api_links(methods=['getUploads'], events=['statusChange']) }} +{{ api_links(methods=['getUploads', 'setStatus'], events=['statusChange']) }} {% endblock %} {% block content %} {% markdown %}