{"openapi":"3.1.0","info":{"title":"AccountPolicy Service","version":"1.0.0"},"paths":{"/v1/public/account-policy/{accountId}":{"get":{"tags":["Account Policy - Public"],"summary":"Check if an account has the specified policies","parameters":[{"in":"path","name":"accountId","schema":{"$ref":"#/components/schemas/AccountID"},"required":true,"description":"An account id"},{"in":"query","name":"policy","style":"form","explode":false,"schema":{"type":"array","items":{"type":"string","examples":["g-01ffc173dcc1","g-4d92b458","g-34ebd542","g-1e96983324b9","g-a81a33a3b9a7","g-t79q16m0g9a7"]}},"required":true,"description":"Policy ids.\n\n- EGPI_COLLECTION_ALLOWED = g-01ffc173dcc1\n- DATA_SHARING_POSSIBLY_PERMITTED = g-4d92b458\n- ASSUMED_OVER_18 = g-34ebd542\n- ASSUMED_OVER_AODC = g-1e96983324b9\n- KNOWN_OVER_13 = g-a81a33a3b9a7\n- KNOWN_OVER_18 = g-t79q16m0g9a7\n"}],"responses":{"200":{"description":"Account policy status","content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"$ref":"#/components/schemas/AccountID"},"policies":{"type":"object","additionalProperties":{"type":"boolean"}}}}}}}},"description":"**Permission Required**: [`accounts:policy:public READ`](https://egs.jaren.wtf/#resource=accounts:policy:public&action=2)","security":[{"bearer":["accounts:policy:public READ"]}]}}},"components":{"schemas":{"AccountID":{"type":"string","pattern":"^[0-9a-f]{12}4[0-9a-f]{3}[89ab][0-9a-f]{15}$","examples":["8b0a23cb43af46cb972806f4025a9cba"],"description":"This represents a unique id for an epic games account"}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}},"servers":[{"url":"https://account-policy-service-public-prod.faef.live.use1a.on.epicgames.com/api"}]}