{"openapi":"3.1.0","info":{"title":"Tease API","version":"1"},"tags":[{"name":"Fans"}],"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}/fans":{"get":{"summary":"List fans","description":"The account's fans, newest first (fans without `first_seen_at` last), one keyset page per call; `fresh` reads live first. `subscription_state` is the platform's flag and the term's end. `first_seen_at` is `null`, with `first_seen_at_reason` `not_seen_on_subscriber_list`, for a fan known only from a payment or a chat: the platform's subscriber list never gave his first time. `/statistics` `new_fans` leaves such fans out. `last_seen_at` is the fan's last sight in chat (the platform's lastSeen or his own message), `null` without one: never when our walk of the subscriber list saw him.","operationId":"list_fans_v1_accounts__account_id__fans_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","tags":["Fans"]}},"/v1/accounts/{account_id}/fans/{fan_id}":{"get":{"summary":"Read a fan","description":"One fan with tags, team notes, lists, acquisition source and entry; an unknown fan is 404. `first_seen_at` is `null`, with `first_seen_at_reason` `not_seen_on_subscriber_list`, for a fan known only from a payment or a chat: the platform's subscriber list never gave his first time. `/statistics` `new_fans` leaves such fans out. `last_seen_at` is the fan's last sight in chat (the platform's lastSeen or his own message), `null` without one: never when our walk of the subscriber list saw him.","operationId":"get_fan_v1_accounts__account_id__fans__fan_id__get","parameters":[{"name":"fan_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Fan Id"}},{"name":"account_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"title":"Account Id"}}],"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","tags":["Fans"]}}}}
