Sari la conținut

Licitații

Evenimentele de licitație: adresă, stare, monedă, obiectiv și ecranul de pe proiector (stage). Ecranul se schimbă prin acțiunea set_stage.

Modul: Licitații (auction).

  • GET /api/v1/auction_events - Listare cu filtre, sortare și paginare (scope auction:read)
  • GET /api/v1/auction_events/{id} - O înregistrare după id (scope auction:read)
  • POST /api/v1/auction_events - Creează o înregistrare (scope auction:write)
  • PATCH /api/v1/auction_events/{id} - Modifică câmpurile trimise (scope auction:write)
  • DELETE /api/v1/auction_events/{id} - Șterge sau dezactivează (scope auction:write)
  • POST /api/v1/auction_events/{id}/set_stage - Ce arată proiectorul: ecranul de început, lotul curent, sponsorii, momentul de donații sau mulțumirile. (scope auction:write)
  • id (string, uuid; citire): Identificator unic (UUID).
  • slug (string; scriere)
  • name (string; scriere, obligatoriu)
  • status (string; scriere)
  • starts_at (string, date; scriere)
  • venue (string; scriere)
  • currency (string; scriere): Moneda (cod ISO, ex. RON).
  • goal (number; scriere)
  • raised_offset (number; scriere)
  • phone_bidding (boolean; scriere)
  • site_url (string; scriere)
  • stage (string; citire)
  • current_lot_id (string, uuid; citire)
  • paddle_levels (array; scriere)
  • created_at (string, date-time; citire): Data creării (ISO 8601).
  • updated_at (string, date-time; citire): Data ultimei modificări (ISO 8601).
  • payment_account_id (string; scriere)
  • sms_device_id (string; scriere)
  • smtp_id (string; scriere)
  • screen_title (string; scriere)
  • screen_text (string; scriere)
  • show_levels (boolean; scriere)
  • donors_mode (string; scriere)
  • donors_count (number; scriere)
  • site_id (string, uuid; citire)
  • auction_events.created
  • auction_events.updated
  • auction_events.deleted