Listings V2

Refresh a listing to bump it to the top of search results

Updates the listing's updated_at timestamp to make it appear at the top of search results when sorted by date. Enforces a cooldown period between refreshes to prevent abuse. Validates ownership before allowing refresh.

Requirements:

  • 49.1: POST /api/v2/listings/:id/refresh endpoint
  • 49.2: Update listing updated_at timestamp
  • 49.3: Enforce cooldown period between refreshes
  • 49.4: Validate ownership before allowing refresh
  • 49.5: Log refresh actions to Audit_Trail
post/listings/{id}/refresh

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/listings/{id}/refresh
  • Auth: loggedin (a scheme the document does not define)

Path parameters

idstring required

Listing UUID

Response

Success message with next refresh time

next_refresh_atstring required
messagestring required

Changes

    • ○

      the endpoint scheme security loggedin was added to the API

    • ○

      the endpoint scheme security jwt was removed from the API