diff --git a/app/sdks/js/README.md b/app/sdks/js/README.md index b412d3440..dae54d3a7 100644 --- a/app/sdks/js/README.md +++ b/app/sdks/js/README.md @@ -1,9 +1,7 @@ # [Appwrite SDK for Javascript](https://appwrite.io)   [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Appwrite%20is%20a%20backend%20as%20a%20service%20for%20building%20web%20or%20mobile%20apps&url=http%3A%2F%2Fappwrite.io&via=appwrite_io&hashtags=JS%2Cjavascript%2Creactjs%2Cangular%2Cios%2Candroid) ![License](https://img.shields.io/github/license/appwrite/sdk-for-js.svg?v=1) -![Version](https://img.shields.io/badge/api%20version-0.1.3-blue.svg?v=1) - -**WORK IN PROGRESS - NOT READY FOR USAGE** +![Version](https://img.shields.io/badge/api%20version-latest-blue.svg?v=1) Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs) @@ -11,7 +9,7 @@ Appwrite backend as a service cuts up to 70% of the time and costs required for ![Appwrite](https://appwrite.io/images/github.png) -**API Version: 0.1.3** +**API Version: latest** ## Installation diff --git a/app/sdks/js/package.json b/app/sdks/js/package.json index 263fb6384..667838241 100644 --- a/app/sdks/js/package.json +++ b/app/sdks/js/package.json @@ -2,7 +2,7 @@ "name": "appwrite", "homepage": "https://appwrite.io/support", "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)", - "version": "v1.0.17", + "version": "v1.0.18", "license": "BSD-3-Clause", "main": "src/sdk.js", "repository": { diff --git a/app/sdks/js/src/sdk.js b/app/sdks/js/src/sdk.js index d1ec9cd05..51baab8b6 100644 --- a/app/sdks/js/src/sdk.js +++ b/app/sdks/js/src/sdk.js @@ -138,7 +138,7 @@ globalParams.push({key: key, value: value}); }; - addGlobalHeader('x-sdk-version', 'appwrite:javascript:v1.0.17'); + addGlobalHeader('x-sdk-version', 'appwrite:javascript:v1.0.18'); addGlobalHeader('content-type', ''); /** @@ -943,12 +943,12 @@ }, /** - * Get image from and HTTP URL and crop to any size. + * Get Image from URL * * Use this endpoint to fetch a remote image URL and crop it to any image size - * you want. This endpoint is very useful if you need to crop a remote image - * or in cases, you want to make sure a 3rd party image is properly served - * using a TLS protocol. + * you want. This endpoint is very useful if you need to crop and display + * remote images in your app or in cases, you want to make sure a 3rd party + * image is properly served using a TLS protocol. * * @param {string} url * @param {number} width @@ -2351,7 +2351,7 @@ }, /** - * Download File + * Get File for Download * * Get file content by its unique ID. The endpoint response return with a * 'Content-Disposition: attachment' header that tells the browser to start @@ -2374,7 +2374,7 @@ }, /** - * Preview File + * Get File Preview * * Get file preview image. Currently, this method supports preview for image * files (jpg, png, and gif), other supported formats, like pdf, docs, slides, @@ -2408,7 +2408,7 @@ }, /** - * View File + * Get File for View * * Get file content by its unique ID. This endpoint is similar to the download * method but returns with no 'Content-Disposition: attachment' header. @@ -2662,7 +2662,7 @@ }, /** - * Create Team Membership (Resend Invitation Email) + * Create Team Membership (Resend) * * Use this endpoint to resend your invitation email for a user to join a * team. diff --git a/app/sdks/js/src/sdk.min.js b/app/sdks/js/src/sdk.min.js index 698db8b24..2c59b6ac0 100644 --- a/app/sdks/js/src/sdk.min.js +++ b/app/sdks/js/src/sdk.min.js @@ -1,5 +1,5 @@ (function(window){window.Appwrite=function(){let config={endpoint:'https://appwrite.test/v1',project:'',key:'',locale:'',mode:'',};let setEndpoint=function(endpoint){config.endpoint=endpoint;return this};let setProject=function(value){http.addGlobalHeader('X-Appwrite-Project',value);config.project=value;return this};let setKey=function(value){http.addGlobalHeader('X-Appwrite-Key',value);config.key=value;return this};let setLocale=function(value){http.addGlobalHeader('X-Appwrite-Locale',value);config.locale=value;return this};let setMode=function(value){http.addGlobalHeader('X-Appwrite-Mode',value);config.mode=value;return this};let http=function(document){let globalParams=[],globalHeaders=[];let addParam=function(url,param,value){let a=document.createElement('a'),regex=/(?:\?|&|&)+([^=]+)(?:=([^&]*))*/g;let match,str=[];a.href=url;param=encodeURIComponent(param);while(match=regex.exec(a.search))if(param!==match[1])str.push(match[1]+(match[2]?"="+match[2]:""));str.push(param+(value?"="+encodeURIComponent(value):""));a.search=str.join("&");return a.href};let buildQuery=function(params){let str=[];for(let p in params){if(Array.isArray(params[p])){for(let index=0;index '', - 'x-sdk-version' => 'appwrite:php:v1.0.4', + 'x-sdk-version' => 'appwrite:php:v1.0.5', ]; /** diff --git a/app/sdks/php/src/Appwrite/Services/Avatars.php b/app/sdks/php/src/Appwrite/Services/Avatars.php index f4f7081c4..8ee781814 100644 --- a/app/sdks/php/src/Appwrite/Services/Avatars.php +++ b/app/sdks/php/src/Appwrite/Services/Avatars.php @@ -113,12 +113,12 @@ class Avatars extends Service } /** - * Get image from and HTTP URL and crop to any size. + * Get Image from URL * * Use this endpoint to fetch a remote image URL and crop it to any image size - * you want. This endpoint is very useful if you need to crop a remote image - * or in cases, you want to make sure a 3rd party image is properly served - * using a TLS protocol. + * you want. This endpoint is very useful if you need to crop and display + * remote images in your app or in cases, you want to make sure a 3rd party + * image is properly served using a TLS protocol. * * @param string $url * @param integer $width diff --git a/app/sdks/php/src/Appwrite/Services/Storage.php b/app/sdks/php/src/Appwrite/Services/Storage.php index d3ce26d3f..907c85c34 100644 --- a/app/sdks/php/src/Appwrite/Services/Storage.php +++ b/app/sdks/php/src/Appwrite/Services/Storage.php @@ -106,7 +106,7 @@ class Storage extends Service } /** - * Download File + * Get File for Download * * Get file content by its unique ID. The endpoint response return with a * 'Content-Disposition: attachment' header that tells the browser to start @@ -127,7 +127,7 @@ class Storage extends Service } /** - * Preview File + * Get File Preview * * Get file preview image. Currently, this method supports preview for image * files (jpg, png, and gif), other supported formats, like pdf, docs, slides, @@ -159,7 +159,7 @@ class Storage extends Service } /** - * View File + * Get File for View * * Get file content by its unique ID. This endpoint is similar to the download * method but returns with no 'Content-Disposition: attachment' header. diff --git a/app/sdks/php/src/Appwrite/Services/Teams.php b/app/sdks/php/src/Appwrite/Services/Teams.php index b4ffbcef0..2c331b4c7 100644 --- a/app/sdks/php/src/Appwrite/Services/Teams.php +++ b/app/sdks/php/src/Appwrite/Services/Teams.php @@ -204,7 +204,7 @@ class Teams extends Service } /** - * Create Team Membership (Resend Invitation Email) + * Create Team Membership (Resend) * * Use this endpoint to resend your invitation email for a user to join a * team. diff --git a/app/sdks/python/README.md b/app/sdks/python/README.md index 7e3bd5b6a..472709c58 100644 --- a/app/sdks/python/README.md +++ b/app/sdks/python/README.md @@ -1,9 +1,7 @@ # [Appwrite SDK for Python](https://appwrite.io)   [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Appwrite%20is%20a%20backend%20as%20a%20service%20for%20building%20web%20or%20mobile%20apps&url=http%3A%2F%2Fappwrite.io&via=appwrite_io&hashtags=JS%2Cjavascript%2Creactjs%2Cangular%2Cios%2Candroid) ![License](https://img.shields.io/github/license/appwrite/sdk-for-python.svg?v=1) -![Version](https://img.shields.io/badge/api%20version-0.1.3-blue.svg?v=1) - -**WORK IN PROGRESS - NOT READY FOR USAGE** +![Version](https://img.shields.io/badge/api%20version-latest-blue.svg?v=1) Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs) @@ -11,7 +9,7 @@ Appwrite backend as a service cuts up to 70% of the time and costs required for ![Appwrite](https://appwrite.io/images/github.png) -**API Version: 0.1.3** +**API Version: latest** ## Installation diff --git a/app/sdks/python/appwrite/services/avatars.py b/app/sdks/python/appwrite/services/avatars.py index cf709673b..f6e463abc 100644 --- a/app/sdks/python/appwrite/services/avatars.py +++ b/app/sdks/python/appwrite/services/avatars.py @@ -53,7 +53,7 @@ class Avatars(Service): }, params) def get_image(self, url, width=400, height=400): - """Get image from and HTTP URL and crop to any size.""" + """Get Image from URL""" params = {} path = '/avatars/image' diff --git a/app/sdks/python/appwrite/services/storage.py b/app/sdks/python/appwrite/services/storage.py index f2cdd79f4..b878f956f 100644 --- a/app/sdks/python/appwrite/services/storage.py +++ b/app/sdks/python/appwrite/services/storage.py @@ -53,7 +53,7 @@ class Storage(Service): }, params) def get_file_download(self, file_id): - """Download File""" + """Get File for Download""" params = {} path = '/storage/files/{fileId}/download' @@ -63,7 +63,7 @@ class Storage(Service): }, params) def get_file_preview(self, file_id, width=0, height=0, quality=100, background='', output=''): - """Preview File""" + """Get File Preview""" params = {} path = '/storage/files/{fileId}/preview' @@ -78,7 +78,7 @@ class Storage(Service): }, params) def get_file_view(self, file_id, as=''): - """View File""" + """Get File for View""" params = {} path = '/storage/files/{fileId}/view' diff --git a/app/sdks/python/appwrite/services/teams.py b/app/sdks/python/appwrite/services/teams.py index 5cd65effc..f7e5f62ce 100644 --- a/app/sdks/python/appwrite/services/teams.py +++ b/app/sdks/python/appwrite/services/teams.py @@ -95,7 +95,7 @@ class Teams(Service): }, params) def create_team_membership_resend(self, team_id, invite_id, redirect): - """Create Team Membership (Resend Invitation Email)""" + """Create Team Membership (Resend)""" params = {} path = '/teams/{teamId}/memberships/{inviteId}/resend' diff --git a/app/sdks/ruby/README.md b/app/sdks/ruby/README.md index 2d398a70f..9c7ee5323 100644 --- a/app/sdks/ruby/README.md +++ b/app/sdks/ruby/README.md @@ -1,9 +1,7 @@ # [Appwrite SDK for Ruby](https://appwrite.io)   [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Appwrite%20is%20a%20backend%20as%20a%20service%20for%20building%20web%20or%20mobile%20apps&url=http%3A%2F%2Fappwrite.io&via=appwrite_io&hashtags=JS%2Cjavascript%2Creactjs%2Cangular%2Cios%2Candroid) ![License](https://img.shields.io/github/license/appwrite/sdk-for-ruby.svg?v=1) -![Version](https://img.shields.io/badge/api%20version-0.1.3-blue.svg?v=1) - -**WORK IN PROGRESS - NOT READY FOR USAGE** +![Version](https://img.shields.io/badge/api%20version-latest-blue.svg?v=1) Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs) @@ -11,7 +9,7 @@ Appwrite backend as a service cuts up to 70% of the time and costs required for ![Appwrite](https://appwrite.io/images/github.png) -**API Version: 0.1.3** +**API Version: latest** ## Installation diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index c84c7a6d6..d6547cf3f 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -38,7 +38,7 @@ $cli $clients = [ 'php' => [ - 'version' => 'v1.0.4', + 'version' => 'v1.0.5', 'result' => __DIR__ . '/../sdks/php/', 'gitURL' => 'https://github.com/appwrite/sdk-for-php.git', 'gitRepo' => 'git@github.com:appwrite/sdk-for-php.git', @@ -46,7 +46,7 @@ $cli 'gitUserName' => 'appwrite', ], 'js' => [ - 'version' => 'v1.0.17', + 'version' => 'v1.0.18', 'result' => __DIR__ . '/../sdks/js/', 'gitURL' => 'https://github.com/appwrite/sdk-for-js.git', 'gitRepo' => 'git@github.com:appwrite/sdk-for-js.git', @@ -54,7 +54,7 @@ $cli 'gitUserName' => 'appwrite', ], 'node' => [ - 'version' => 'v1.0.21', + 'version' => 'v1.0.22', 'result' => __DIR__ . '/../sdks/node/', 'gitURL' => 'https://github.com/appwrite/sdk-for-node.git', 'gitRepo' => 'git@github.com:appwrite/sdk-for-node.git', @@ -146,7 +146,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AN ->setShareURL('http://appwrite.io') ->setShareTags('JS,javascript,reactjs,angular,ios,android') ->setShareVia('appwrite_io') - ->setWarning('**WORK IN PROGRESS - NOT READY FOR USAGE**') + //->setWarning('**WORK IN PROGRESS - NOT READY FOR USAGE**') + ->setWarning('') ; $target = __DIR__ . '/../sdks/git/' . $name;