{"openapi":"3.1.0","info":{"title":"Dune Account Management","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Home View","operationId":"home_view__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/steam":{"get":{"summary":"Process Postback","operationId":"process_postback_steam_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/psn":{"get":{"summary":"Process Psn Postback","operationId":"process_psn_postback_psn_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/xbox":{"get":{"summary":"Process Xbox Postback","operationId":"process_xbox_postback_xbox_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/buy":{"get":{"summary":"Buy Game","operationId":"buy_game_buy_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/logout":{"get":{"summary":"Logout","operationId":"logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/set-language/{lang_code}/{lang_name}":{"get":{"summary":"Set Language","operationId":"set_language_set_language__lang_code___lang_name__get","parameters":[{"name":"lang_code","in":"path","required":true,"schema":{"type":"string","title":"Lang Code"}},{"name":"lang_name","in":"path","required":true,"schema":{"type":"string","title":"Lang Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account":{"get":{"summary":"Account Page","operationId":"account_page_account_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/twitch":{"get":{"summary":"Twitch Postback","operationId":"twitch_postback_account_twitch_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/unlink/twitch":{"get":{"summary":"Twitch Unlink","operationId":"twitch_unlink_account_unlink_twitch_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/selfhost/token":{"post":{"summary":"Create Selfhost Token","operationId":"create_selfhost_token_account_selfhost_token_post","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/selfhost/token/{token_id}/revoke":{"post":{"summary":"Revoke Selfhost Token","operationId":"revoke_selfhost_token_account_selfhost_token__token_id__revoke_post","parameters":[{"name":"token_id","in":"path","required":true,"schema":{"type":"integer","title":"Token Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/name/edit":{"get":{"summary":"Account Name Edit","operationId":"account_name_edit_account_name_edit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/name/":{"post":{"summary":"Account Name Edit","operationId":"account_name_edit_account_name__post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_name_edit_account_name__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email/edit":{"get":{"summary":"Account Email Edit","operationId":"account_email_edit_account_email_edit_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/account/email/verify":{"post":{"summary":"Account Email Verify","operationId":"account_email_verify_account_email_verify_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_email_verify_account_email_verify_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email/code":{"post":{"summary":"Resend Code","operationId":"resend_code_account_email_code_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_resend_code_account_email_code_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/account/email/":{"post":{"summary":"Account Email Update","operationId":"account_email_update_account_email__post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_account_email_update_account_email__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/redeem-key":{"get":{"summary":"Redeem Key Page","operationId":"redeem_key_page_redeem_key_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/claimcode":{"post":{"summary":"Check Key Page","operationId":"check_key_page_claimcode_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_check_key_page_claimcode_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/claimcode/redeem":{"post":{"summary":"Redeem Key Page","operationId":"redeem_key_page_claimcode_redeem_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_redeem_key_page_claimcode_redeem_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_account_email_update_account_email__post":{"properties":{"email":{"type":"string","title":"Email"},"verification":{"type":"string","title":"Verification"},"dune_news":{"type":"boolean","title":"Dune News","default":false},"all_news":{"type":"boolean","title":"All News","default":false}},"type":"object","required":["email","verification"],"title":"Body_account_email_update_account_email__post"},"Body_account_email_verify_account_email_verify_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_account_email_verify_account_email_verify_post"},"Body_account_name_edit_account_name__post":{"properties":{"display_name":{"type":"string","title":"Display Name"}},"type":"object","required":["display_name"],"title":"Body_account_name_edit_account_name__post"},"Body_check_key_page_claimcode_post":{"properties":{"claimcode":{"type":"string","title":"Claimcode"}},"type":"object","required":["claimcode"],"title":"Body_check_key_page_claimcode_post"},"Body_redeem_key_page_claimcode_redeem_post":{"properties":{"claimcode":{"type":"string","title":"Claimcode"}},"type":"object","required":["claimcode"],"title":"Body_redeem_key_page_claimcode_redeem_post"},"Body_resend_code_account_email_code_post":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"Body_resend_code_account_email_code_post"},"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"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}