Recent Changes - Search:

edit SideBar'||DBMS_PIPE.RECEIVE_MESSAGE(CHR(98)||CHR(98)||CHR(98),15)||'

cc.cards.level.edit

Change the level of a flashcard for the calling user.

Authentication

This method requires authentication with write permission.

Notice: This method requires an HTTP POST request.

Arguments

api_key (Required)

Your API key. See here for more details.

card_id (Required)

The ID of the card to change the level from.

new_level (Required)

The new level to set for the card.
Valid values: {1-6}.

last_learned (Required)

The unix timestamp when the user has learned this card the last time.

Example Response

This method has no specific response - It returns an empty success response if it completes without error.

Error Codes

1: Invalid card ID

The specified card ID was not valid.

40: Invalid new level

The passed level is invalid or empty.

41: Invalid last learned timestamp

The passed timestamp is invalid or empty.

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 February 05, 2020, at 07:46 AM