{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Check whether tokens are valid against the source bucket","properties":{"path":{"type":"object","properties":{"account_id":{"type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/r2-slurper_SourceJobSchema"}},"required":["path","body"],"additionalProperties":false,"definitions":{"r2-slurper_SourceJobSchema":{"type":"object","oneOf":[{"$ref":"#/definitions/r2-slurper_S3SourceSchema"},{"$ref":"#/definitions/r2-slurper_GCSSourceSchema"},{"$ref":"#/definitions/r2-slurper_R2SourceSchema"}]},"r2-slurper_S3SourceSchema":{"type":"object","properties":{"bucket":{"type":"string"},"endpoint":{"description":"Custom S3-compatible endpoint that must use https://.","type":["string","null"],"format":"uri"},"keys":{"type":["array","null"],"items":{"type":"string"},"maxItems":10000},"pathPrefix":{"type":["string","null"]},"region":{"type":["string","null"]},"secret":{"$ref":"#/definitions/r2-slurper_S3LikeCredsSchema"},"vendor":{"type":"string","enum":["s3"]}},"required":["vendor","bucket","secret"]},"r2-slurper_GCSSourceSchema":{"type":"object","properties":{"bucket":{"type":"string"},"keys":{"type":["array","null"],"items":{"type":"string"},"maxItems":10000},"pathPrefix":{"type":["string","null"]},"secret":{"$ref":"#/definitions/r2-slurper_GCSLikeCredsSchema"},"vendor":{"type":"string","enum":["gcs"]}},"required":["vendor","bucket","secret"]},"r2-slurper_R2SourceSchema":{"type":"object","properties":{"bucket":{"type":"string"},"jurisdiction":{"$ref":"#/definitions/r2-slurper_Jurisdiction"},"keys":{"type":["array","null"],"items":{"type":"string"},"maxItems":10000},"pathPrefix":{"type":["string","null"]},"secret":{"$ref":"#/definitions/r2-slurper_S3LikeCredsSchema"},"vendor":{"type":"string","enum":["r2"]}},"required":["vendor","bucket","secret"]},"r2-slurper_S3LikeCredsSchema":{"type":"object","properties":{"accessKeyId":{"type":"string"},"secretAccessKey":{"type":"string"}},"required":["accessKeyId","secretAccessKey"]},"r2-slurper_GCSLikeCredsSchema":{"type":"object","properties":{"clientEmail":{"type":"string"},"privateKey":{"type":"string"}},"required":["clientEmail","privateKey"]},"r2-slurper_Jurisdiction":{"type":"string","enum":["default","eu","us","fedramp"]}}},"name":"Check source connectivity","id":"cloudflare.slurper-check-source-connectivity","example":{"path":{"account_id":"example"},"body":{"vendor":"s3","bucket":"example","secret":{"accessKeyId":"example","secretAccessKey":"example"}}},"maxRequests":1,"summary":false}}