{"openapi":"3.0.1","info":{"title":"AI Photo Search2","description":"AI Photo Search application, built during the Cloud and Big Data course at Columbia University.","version":"1.0.0"},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/YW3733/6998hm2api/1.0.0"},{"url":"https://xk4u0p8z78.execute-api.us-east-1.amazonaws.com/{basePath}","variables":{"basePath":{"default":"/test-stage"}}}],"paths":{"/upload/{bucket}/{filename}":{"put":{"parameters":[{"name":"filename","in":"path","required":true,"schema":{"type":"string"}},{"name":"Content-Type","in":"header","schema":{"type":"string"}},{"name":"x-amz-meta-customLabels","in":"header","schema":{"type":"string"}},{"name":"bucket","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"200 response","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MODEL93c6d1"}}}}}},"options":{"parameters":[{"name":"bucket","in":"path","required":true,"schema":{"type":"string"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"200 response","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}},"Access-Control-Allow-Methods":{"schema":{"type":"string"}},"Access-Control-Allow-Headers":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MODEL93c6d1"}}}}}}},"/search":{"get":{"operationId":"searchPhotos","parameters":[{"name":"q","in":"query","schema":{"type":"string"}}],"responses":{"500":{"description":"500 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"200":{"description":"200 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MODEL93c6d1"}}}},"403":{"description":"403 response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"}}},"MODEL93c6d1":{"type":"object","properties":{}}}}}