Recent Changes - Search:

QfmqPMYB'; waitfor delay '0:0:15' --

cc.cardsets.getCardIDs

Returns the card IDs for a set.

Authentication

This method requires authentication with read permission.

Arguments

api_key (Required)

Your API key. See here for more details.

set_id (Required)

The ID of the set to get card IDs from.

filter (Optional)

The filter to select specific card IDs. By default 'all'. Combine multiple values with comma.
Valid values: {all, leitner, level1, level2, level3, level4, level5, level6, tag:name_of_tag}.

Example Response

<cards>
<card id="12d45f7" level="1" position="1" last_learned="1301319939" last_edited="1313075726">
<card id="9876c43" level="5" position="2" last_learned="0" last_edited="0">
<card id="71fz4a8" level="3" position="3" last_learned="1301303268" last_edited="0">
</cards>

Notice: last_learned and last_edited are unix timestamps.

Error Codes

1: Invalid set ID

The specified set ID was not valid.

41: Set has no cards

The specified set contains no cards / no cards for this filter.

98: Login failed / Invalid auth token

The auth token passed were invalid or expired.

99: Insufficient permissions

The authenticated method call did not have the required permissions.

100: Invalid API Key

The API key passed was not valid.

101: Invalid signature

The signature is missing or was not valid.

110: Format "xxx" not found

The requested response format was not found.

120: Method "xxx" not found

The requested method was not found.

130: HTTPS required

The API Key passed requires HTTPS.
Edit - History - Print - Recent Changes - Search
Page last modified on December 05, 2020, at 09:37 PM