{"openapi":"3.1.0","info":{"title":"Great Plains Planes API","version":"0.1.0"},"paths":{"/subscribe":{"post":{"summary":"Subscribe","operationId":"subscribe_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/confirm/{token}":{"get":{"summary":"Confirm","operationId":"confirm_confirm__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/unsubscribe/{token}":{"get":{"summary":"Unsubscribe Confirm","description":"Show a confirmation page — DO NOT deactivate on GET.\nEmail clients pre-fetch all links in messages for malware scanning; a one-click\nGET unsubscribe fires accidentally for every subscriber whose client does this.","operationId":"unsubscribe_confirm_unsubscribe__token__get","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Unsubscribe","description":"Actually deactivate — only reachable by an intentional button click.","operationId":"unsubscribe_unsubscribe__token__post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sns-webhook":{"post":{"summary":"Sns Webhook","operationId":"sns_webhook_sns_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/r":{"get":{"summary":"Track Redirect","operationId":"track_redirect_r_get","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}},{"name":"s","in":"query","required":false,"schema":{"type":"string","default":"","title":"S"}},{"name":"d","in":"query","required":false,"schema":{"type":"string","default":"","title":"D"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/waitlist":{"post":{"summary":"Waitlist","operationId":"waitlist_waitlist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skyprint-request":{"post":{"summary":"Skyprint Request","operationId":"skyprint_request_skyprint_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SkyprintOrderRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/skyprint-webhook":{"post":{"summary":"Skyprint Webhook","description":"Stripe → us. On a completed checkout, flip the order to 'paid' and ping Sam.\nThe Checkout Session carries metadata.request_id (set when the pay link is created),\nso we know which row to update.","operationId":"skyprint_webhook_skyprint_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"SignupRequest":{"properties":{"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"zip":{"type":"string","title":"Zip"}},"type":"object","required":["name","email","zip"],"title":"SignupRequest"},"SkyprintOrderRequest":{"properties":{"email":{"type":"string","title":"Email"},"date":{"type":"string","title":"Date"},"occasion":{"type":"string","title":"Occasion","default":""},"print_name":{"type":"string","title":"Print Name","default":""},"moment_time":{"type":"string","title":"Moment Time","default":""},"address":{"type":"string","title":"Address","default":""},"product":{"type":"string","title":"Product","default":""}},"type":"object","required":["email","date"],"title":"SkyprintOrderRequest"},"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"},"WaitlistRequest":{"properties":{"email":{"type":"string","title":"Email"},"zip":{"type":"string","title":"Zip","default":""}},"type":"object","required":["email"],"title":"WaitlistRequest"}}}}