/tipster/preview/{id}
Ownership is checked against a row read without an author filter, so a preview belonging to someone else is a 403 rather than a 404 here — unlike GET and DELETE, which scope the lookup.
Ownership is checked against a row read without an author filter, so a preview belonging to someone else is a 403 rather than a 404 here — unlike GET and DELETE, which scope the lookup. That asymmetry is the original's.
Publishing stamps published_at once. Re-publishing an already-published preview leaves the original date, so the first publication is what is dated.
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/v2/tipster/preview/string" \ -H "Content-Type: application/json" \ -d '{ "description": "string", "status": "string", "tags": [ "string" ], "tips": [ { "bettingTips": "string", "content": "string", "fixture": { "awayTeam": { "id": null, "name": "string", "slug": "string" }, "homeTeam": { "id": null, "name": "string", "slug": "string" }, "id": null, "slug": "string", "startTimestamp": null, "tournament": { "name": "string", "slug": "string" } } } ], "title": "string" }'{ "$schema": "https://example.com/schemas/TipsterPreviewUpdateOKBody.json", "preview": null}