{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Stories"}],"servers":[{"url":"https://app.tease.club"}],"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}},"paths":{"/v1/accounts/{account_id}/stories":{"get":{"summary":"List Active Stories","description":"Available on OnlyFans. A read of what Tease stored for the account; `fresh=true` reads the platform page live first on of. A section whose Read is off in the account's Settings answers `fresh=true` with 409 `read_off` (`section`, `settings_url`, no `retry_after`); `GET /v1/accounts/{account_id}` lists such sections in `reads_off`.","operationId":"GET__v1_accounts__id__stories_v1_accounts__account_id__stories_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":["of"],"tags":["Stories"]}},"/v1/accounts/{account_id}/stories/{story_id}":{"delete":{"summary":"Delete Story","description":"Available on OnlyFans. Answers 202 with a write id; follow it with `GET /v1/writes/{write_id}`. The key needs **Allow changes**.","operationId":"DELETE__v1_accounts__id__stories__story_id__v1_accounts__account_id__stories__story_id__delete","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"platform_write","x-tease-catalog":"account","tags":["Stories"]}},"/v1/accounts/{account_id}/stories/{story_id}/mark-as-watched":{"post":{"summary":"Mark Story as Watched","description":"Available on OnlyFans. Answers 202 with a write id; follow it with `GET /v1/writes/{write_id}`. The key needs **Allow changes**.","operationId":"POST__v1_accounts__id__stories__story_id__mark_as_watched_v1_accounts__account_id__stories__story_id__mark_as_watched_post","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"platform_write","x-tease-catalog":"account","tags":["Stories"]}},"/v1/accounts/{account_id}/stories/{story_id}/stats":{"get":{"summary":"Get Story Stats","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__stories__story_id__stats_v1_accounts__account_id__stories__story_id__stats_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Stories"]}},"/v1/accounts/{account_id}/stories/{story_id}/viewers":{"get":{"summary":"List Story Viewers","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__stories__story_id__viewers_v1_accounts__account_id__stories__story_id__viewers_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Stories"]}},"/v1/accounts/{account_id}/users/{user_id}/stories":{"get":{"summary":"List user stories","description":"Available on OnlyFans. A read of what Tease stored for the account; not read live: `fresh=true` answers 409 `live_read_not_available`.","operationId":"GET__v1_accounts__id__users__user_id__stories_v1_accounts__account_id__users__user_id__stories_get","parameters":[{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cursor"}},{"name":"fresh","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Fresh"}},{"name":"wait","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":30,"minimum":0},{"type":"null"}],"title":"Wait"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-api-key-scope":"read","x-tease-catalog":"account","x-tease-live":[],"tags":["Stories"]}}}}
