{"openapi":"3.0.1","info":{"title":"CRS API","version":"v0"},"servers":[{"url":"https://dev-apigw.optum.com/","description":"OI API Gateway Url"}],"paths":{"/metadata/v1/{contentId}":{"get":{"security":[{"bearerAuth":[]}],"tags":["azure-blob-storage-controller"],"operationId":"getMetadata","parameters":[{"name":"contentId","in":"path","required":true,"description":"multiple content Ids can be passed separated by comas","example":"1234,5678","schema":{"type":"string"}},{"name":"userEmail","in":"query","required":true,"description":"email of the user trying to access","schema":{"type":"string"}},{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}},{"name":"suffix","in":"query","required":false,"example":"FULL","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrsMetadataResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorResponse"}}}}}}},"/crs-core-api/v1/{contentId}":{"get":{"security":[{"bearerAuth":[]}],"tags":["azure-blob-storage-controller"],"operationId":"getfile","parameters":[{"name":"contentId","in":"path","required":true,"description":"multiple content Ids can be passed separated by comas","example":"1234,5678","schema":{"type":"string"}},{"name":"suffix","in":"query","required":false,"example":"FULL","schema":{"type":"string"}},{"name":"userEmail","in":"query","required":true,"description":"email of the user trying to access","schema":{"type":"string"}},{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorResponse"}}}}}}},"/csvtojson/v1/{contentId}":{"get":{"security":[{"bearerAuth":[]}],"tags":["azure-blob-storage-controller"],"operationId":"getCsvJson","parameters":[{"name":"contentId","in":"path","required":true,"description":"content Id can be passed","example":"1234","schema":{"type":"string"}},{"name":"suffix","in":"query","required":false,"example":"FULL","schema":{"type":"string"}},{"name":"userEmail","in":"query","required":true,"description":"email of the user trying to access","schema":{"type":"string"}},{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorResponse"}}}}}}},"/download/byteArray/v1/{contentId}":{"get":{"security":[{"bearerAuth":[]}],"tags":["azure-blob-storage-controller"],"operationId":"getByteArray","parameters":[{"name":"contentId","in":"path","required":true,"description":"content Id can be passed","example":"1234","schema":{"type":"string"}},{"name":"suffix","in":"query","required":false,"example":"FULL","schema":{"type":"string"}},{"name":"userEmail","in":"query","required":true,"description":"email of the user trying to access","schema":{"type":"string"}},{"name":"Authorization","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestErrorResponse"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedErrorResponse"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundErrorResponse"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"BadRequestErrorResponse":{"type":"object","properties":{"errorCode":{"type":"integer","format":"int32","example":400},"errorMessage":{"type":"string","example":"Bad Request"}}},"UnauthorizedErrorResponse":{"type":"object","properties":{"errorCode":{"type":"integer","format":"int32","example":401},"errorMessage":{"type":"string","example":"Unauthorized"}}},"NotFoundErrorResponse":{"type":"object","properties":{"errorCode":{"type":"integer","format":"int32","example":404},"errorMessage":{"type":"string","example":"contentId not found"}}},"CrsMetadataResponse":{"type":"object","properties":{"contentId":{"type":"string","example":1234},"lastUpdatedDate":{"type":"string","example":"2023-03-02T21:02:32.000+00:00"}}}}},"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}