Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Commit

Permalink
docs(methods.jmd): Mention the only statuses that are valid ATM
Browse files Browse the repository at this point in the history
closes #1739
[skip ci]
  • Loading branch information
rnicholus committed Feb 2, 2017
1 parent e372f89 commit ac51eab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
18 changes: 4 additions & 14 deletions docs/api/methods.jmd
Original file line number Diff line number Diff line change
Expand Up @@ -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`

""",
[
Expand Down
2 changes: 1 addition & 1 deletion docs/features/statistics-and-status-updates.jmd
Original file line number Diff line number Diff line change
@@ -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 %}
Expand Down

0 comments on commit ac51eab

Please sign in to comment.