diff options
author | Vladimir Fedin <vl.fedin@gmail.com> | 2011-02-24 00:03:49 +0300 |
---|---|---|
committer | Vladimir Fedin <vl.fedin@gmail.com> | 2011-02-24 00:03:49 +0300 |
commit | 4ab4de47e2cce006091bdabdfaff02d5cba08a89 (patch) | |
tree | 54f17792553138c0a07bffbb19d774fa6fb21595 | |
parent | Merge branch 'master' of https://github.com/omega/api-description into review... (diff) | |
download | api-description-4ab4de47e2cce006091bdabdfaff02d5cba08a89.tar.gz |
services/amazons3.json: first public version of AWS protocol implementation
-rw-r--r-- | services/amazons3.json | 311 |
1 files changed, 311 insertions, 0 deletions
diff --git a/services/amazons3.json b/services/amazons3.json new file mode 100644 index 0000000..d987b8a --- /dev/null +++ b/services/amazons3.json @@ -0,0 +1,311 @@ +{ + "name" : "Amazon S3", + "version" : "0.1", + "base_url" : "http://s3.amazonaws.com", + "methods" : { + "get_service" : { + "path" : "/", + "method" : "GET", + "headers" : { + "Date" : "AWS" + } + }, + "delete_bucket" : { + "path" : "/", + "method" : "DELETE", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "expected_status" : [ 204 ] + }, + "delete_bucket_policy" : { + "path" : "/?policy", + "method" : "DELETE", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "expected_status" : [ 204 ] + }, + "get_bucket" : { + "path" : "/", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket", + "delimiter", + "marker", + "max-keys", + "prefix" + ] + }, + "get_bucket_acl" : { + "path" : "/?acl", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_policy" : { + "path" : "/?policy", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_location" : { + "path" : "/?location", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_notification" : { + "path" : "/?notification", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_object_versions" : { + "path" : "/?versions", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket", + "delimiter", + "key-marker", + "max-keys", + "prefix", + "version-id-marker" + ] + }, + "get_bucket_request_payment" : { + "path" : "/?requestPayment", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_versioning" : { + "path" : "/?versioning", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_logging" : { + "path" : "/?logging", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "get_bucket_uploads" : { + "path" : "/?uploads", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "put_bucket" : { + "path" : "/", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ] + }, + "put_bucket_acl" : { + "path" : "/?acl", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_bucket_policy" : { + "path" : "/?policy", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_bucket_logging" : { + "path" : "/?logging", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_bucket_notification" : { + "path" : "/?notification", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_bucket_request_payment" : { + "path" : "/?requestPayment", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_bucket_versioning" : { + "path" : "/?versioning", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "delete_object" : { + "path" : "/:object", + "method" : "DELETE", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ], + "expected_status" : [ 204, 404 ] + }, + "head_object" : { + "path" : "/:object", + "method" : "HEAD", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ] + }, + "get_object" : { + "path" : "/:object", + "method" : "GET", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ] + }, + "post_object" : { + "path" : "/:object", + "method" : "POST", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ] + }, + "put_object" : { + "path" : "/:object", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + }, + "put_object_acl" : { + "path" : "/:object?acl", + "method" : "PUT", + "headers" : { + "Date" : "AWS" + }, + "required_params" : [ + "object" + ], + "optional_params" : [ + "bucket" + ], + "optional_payload" : true + } + }, + "authentication" : true, + "expected_status" : [ 200, 404 ], + "formats" : [ "xml" ], + "authority" : "GITHUB:agladysh, GITHUB:vladfedin", + "meta" : { + "documentation" : "http://docs.amazonwebservices.com/AmazonS3/latest/dev/", + "authors" : "LogicEditor.com: Alexander Gladysh, Vladimir Fedin" + } +} + |