stars

Use Stars

Deduct stars from the user's account.

Args: amount: The number of stars to deduct (must be positive) current_user: Authenticated user from JWT token

Returns: JSON response with remaining stars after deduction

post/useStars

Request

  • Base URL: https://api.pixleyai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pixleyai.com/useStars
  • Auth: HTTP bearer

Request body

amountinteger required
reasonstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.