dev

Grant Daily Credits

Grant daily credits to all active users.

Called by LapisCRON daily to give all users free credits. Sends a Slack notification with the report.

post/api/v1/dev/grant-daily-credits

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/dev/grant-daily-credits
  • Auth: none declared

Headers

x-lapis-dev-tokenstring

Request body

credits_amountinteger

Credits to grant per user

Response

Successful Response

successboolean required
messagestring required
total_usersinteger required
granted_countinteger required
skipped_countinteger required
credits_per_userinteger required
total_credits_distributedinteger required

Changes

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