Documentation Index
Fetch the complete documentation index at: https://docs.slideless.ai/llms.txt
Use this file to discover all available pages before exploring further.
You almost never call this directly — the marketplace website fires it when a listing page opens. Call it only when you build a custom marketplace front end on top of the public API.
When to use
Bump the public view count of a marketplace listing — the number of times its page has been opened. The marketplace site invokes this once per listing per browser session: a refresh in the same session does not double-count, so the counter tracks distinct page opens rather than raw hits. The endpoint records a usage signal only — it does not return any listing content. This endpoint is public — no API key required.Endpoint
Auth
None. Do not send anAuthorization header.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
slug | string | yes | The listing whose page was opened. |
Response (200)
| Field | Type | Description |
|---|---|---|
slug | string | The listing slug. |
viewCount | number | The new total after this view. |
Examples
curl
Node.js
sessionStorage flag keyed on the slug.
Errors
| Status | Code | Cause | Fix |
|---|---|---|---|
400 | invalid-argument | Missing slug in the body | Include slug |
404 | not-found | No listing with that slug | Check the slug via listMarketplaceListings |
405 | method-not-allowed | Used GET/PUT/etc. | Use POST |
500 | internal | Backend error | Retry with backoff |
Next
- GET /getMarketplaceListing — read the listing’s current
viewCount. - POST /recordMarketplaceRemix — the sibling endpoint for the remix counter.