{"openapi":"3.1.0","info":{"title":"POPS Service","version":"1.0.0"},"paths":{"/followers/v1/{playerId}":{"post":{"tags":["Followers"],"summary":"Follow player page","parameters":[{"in":"path","name":"playerId","schema":{"type":"string"},"required":true,"description":"Your account id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["playerIdToFollow"],"properties":{"playerIdToFollow":{"type":"string"}}}}}},"responses":{"204":{"description":"Success"}},"description":"**Permission Required**: [`pops:follow:{playerId} UPDATE`](https://egs.jaren.wtf/#resource=pops:follow:{playerId}&action=4)","security":[{"bearer":["pops:follow:{playerId} UPDATE"]}]},"delete":{"tags":["Followers"],"summary":"Unfollow player page","parameters":[{"in":"path","name":"playerId","schema":{"type":"string"},"required":true,"description":"Your account id"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["playerIdToUnfollow"],"properties":{"playerIdToUnfollow":{"type":"string"}}}}}},"responses":{"204":{"description":"Success"}},"description":"**Permission Required**: [`pops:follow:{playerId} DELETE`](https://egs.jaren.wtf/#resource=pops:follow:{playerId}&action=8)","security":[{"bearer":["pops:follow:{playerId} DELETE"]}]}},"/page/v1":{"post":{"tags":["Page"],"summary":"Bulk lookup pages","parameters":[{"in":"query","name":"playerId","schema":{"type":"string"},"required":true,"description":"Your account id"},{"in":"query","name":"locale","schema":{"type":"string"},"description":"IETF language tag"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["playerIds"],"properties":{"playerIds":{"type":"array","items":{"type":"string","examples":["8b0a23cb43af46cb972806f4025a9cba","epic"]}}}}}}},"responses":{"200":{"description":"The player pages","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"type":"object","required":["playerId","displayName","isFollowed","images"],"properties":{"playerId":{"type":"string"},"displayName":{"type":"string"},"isFollowed":{"type":"boolean"},"images":{"type":"object","required":["avatar","banner"],"properties":{"avatar":{"type":"string","format":"uri"},"banner":{"type":["string","null"],"format":"uri"}}}}}}}}}}}},"description":"**Permission Required**: [`pops:playerpage:{playerId} READ`](https://egs.jaren.wtf/#resource=pops:playerpage:{playerId}&action=2)","security":[{"bearer":["pops:playerpage:{playerId} READ"]}]}},"/page/v1/{targetId}":{"get":{"tags":["Page"],"summary":"Query player page","parameters":[{"in":"path","name":"targetId","schema":{"type":"string"},"required":true,"description":"The player id to query"},{"in":"query","name":"playerId","schema":{"type":"string"},"required":true,"description":"Your account id"},{"in":"query","name":"locale","schema":{"type":"string"},"description":"IETF language tag"}],"responses":{"200":{"description":"The player page","content":{"application/json":{"schema":{"type":"object","required":["isFollowed","displayName","surfaceName","bio","followerCount","images","social"],"properties":{"isFollowed":{"type":"boolean"},"displayName":{"type":"string"},"surfaceName":{"type":"string","examples":["CreativeDiscoverySurface_CreatorPage"]},"bio":{"type":["string","null"]},"followerCount":{"type":"integer"},"images":{"type":"object","required":["avatar","banner"],"properties":{"avatar":{"type":"string","format":"uri"},"banner":{"type":"string","format":"uri"}}},"social":{"type":"object","properties":{"youtube":{"type":"string"},"tikTok":{"type":"string"},"twitter":{"type":"string"},"discord":{"type":"string"},"instagram":{"type":"string"}}}}}}}}},"description":"**Permission Required**: [`pops:playerpage:{playerId} READ`](https://egs.jaren.wtf/#resource=pops:playerpage:{playerId}&action=2)","security":[{"bearer":["pops:playerpage:{playerId} READ"]}]}},"/page/v1/{targetId}/check":{"get":{"tags":["Page"],"summary":"Check if player has a page","parameters":[{"in":"path","name":"targetId","schema":{"type":"string"},"required":true,"description":"The player id to query"}],"responses":{"200":{"description":"If the player has a page","content":{"application/json":{"schema":{"type":"object","required":["hasPage"],"properties":{"hasPage":{"type":"boolean"}}}}}}},"description":"**Permission Required**: [`pops:playerpage READ`](https://egs.jaren.wtf/#resource=pops:playerpage&action=2)","security":[{"bearer":["pops:playerpage READ"]}]}}},"components":{"schemas":{},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://pops-api-live-public.ogs.live.on.epicgames.com"}]}