Documentation

Cards

Update card

ProductionStagingUAT
PUThttps://ankiren.com/api/cards/{id}

Parameters

Path Parameters

  • idstringpathRequired

Request Body

Bắt buộc.

  • frontstring
  • backstring
application/json
{
  "front": "string",
  "back": "string"
}

Responses

200 · Card updated

Không có body.

Sample Code

Đổi ngôn ngữ ở ô Language trên thanh Documentation.

cURL
curl -X PUT 'https://ankiren.com/api/cards/{id}' \
  -H 'Authorization: Bearer <token>' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "front": "string",
  "back": "string"
}'