appwrite 1.0.8 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +16 -0
  3. data/CHANGELOG.md +1 -0
  4. data/Gemfile +1 -0
  5. data/LICENSE +1 -1
  6. data/README.md +10 -6
  7. data/appwrite.gemspec +3 -3
  8. data/docs/examples/avatars/get-browser.md +15 -0
  9. data/docs/examples/avatars/get-credit-card.md +15 -0
  10. data/docs/examples/avatars/get-favicon.md +15 -0
  11. data/docs/examples/avatars/get-flag.md +15 -0
  12. data/docs/examples/avatars/get-image.md +15 -0
  13. data/docs/examples/avatars/get-initials.md +15 -0
  14. data/docs/examples/avatars/get-q-r.md +15 -0
  15. data/docs/examples/database/create-collection.md +15 -0
  16. data/docs/examples/database/create-document.md +15 -0
  17. data/docs/examples/database/delete-collection.md +15 -0
  18. data/docs/examples/database/delete-document.md +15 -0
  19. data/docs/examples/database/get-collection.md +15 -0
  20. data/docs/examples/database/get-document.md +15 -0
  21. data/docs/examples/database/list-collections.md +15 -0
  22. data/docs/examples/database/list-documents.md +15 -0
  23. data/docs/examples/database/update-collection.md +15 -0
  24. data/docs/examples/database/update-document.md +15 -0
  25. data/docs/examples/functions/create-execution.md +15 -0
  26. data/docs/examples/functions/create-tag.md +15 -0
  27. data/docs/examples/functions/create.md +15 -0
  28. data/docs/examples/functions/delete-tag.md +15 -0
  29. data/docs/examples/functions/delete.md +15 -0
  30. data/docs/examples/functions/get-execution.md +15 -0
  31. data/docs/examples/functions/get-tag.md +15 -0
  32. data/docs/examples/functions/get.md +15 -0
  33. data/docs/examples/functions/list-executions.md +15 -0
  34. data/docs/examples/functions/list-tags.md +15 -0
  35. data/docs/examples/functions/list.md +15 -0
  36. data/docs/examples/functions/update-tag.md +15 -0
  37. data/docs/examples/functions/update.md +15 -0
  38. data/docs/examples/health/get-anti-virus.md +15 -0
  39. data/docs/examples/health/get-cache.md +15 -0
  40. data/docs/examples/health/get-d-b.md +15 -0
  41. data/docs/examples/health/get-queue-certificates.md +15 -0
  42. data/docs/examples/health/get-queue-functions.md +15 -0
  43. data/docs/examples/health/get-queue-logs.md +15 -0
  44. data/docs/examples/health/get-queue-tasks.md +15 -0
  45. data/docs/examples/health/get-queue-usage.md +15 -0
  46. data/docs/examples/health/get-queue-webhooks.md +15 -0
  47. data/docs/examples/health/get-storage-local.md +15 -0
  48. data/docs/examples/health/get-time.md +15 -0
  49. data/docs/examples/health/get.md +15 -0
  50. data/docs/examples/locale/get-continents.md +15 -0
  51. data/docs/examples/locale/get-countries-e-u.md +15 -0
  52. data/docs/examples/locale/get-countries-phones.md +15 -0
  53. data/docs/examples/locale/get-countries.md +15 -0
  54. data/docs/examples/locale/get-currencies.md +15 -0
  55. data/docs/examples/locale/get-languages.md +15 -0
  56. data/docs/examples/locale/get.md +15 -0
  57. data/docs/examples/storage/create-file.md +15 -0
  58. data/docs/examples/storage/delete-file.md +15 -0
  59. data/docs/examples/storage/get-file-download.md +15 -0
  60. data/docs/examples/storage/get-file-preview.md +15 -0
  61. data/docs/examples/storage/get-file-view.md +15 -0
  62. data/docs/examples/storage/get-file.md +15 -0
  63. data/docs/examples/storage/list-files.md +15 -0
  64. data/docs/examples/storage/update-file.md +15 -0
  65. data/docs/examples/teams/create-membership.md +15 -0
  66. data/docs/examples/teams/create.md +15 -0
  67. data/docs/examples/teams/delete-membership.md +15 -0
  68. data/docs/examples/teams/delete.md +15 -0
  69. data/docs/examples/teams/get-memberships.md +15 -0
  70. data/docs/examples/teams/get.md +15 -0
  71. data/docs/examples/teams/list.md +15 -0
  72. data/docs/examples/teams/update.md +15 -0
  73. data/docs/examples/users/create.md +15 -0
  74. data/docs/examples/users/delete-session.md +15 -0
  75. data/docs/examples/users/delete-sessions.md +15 -0
  76. data/docs/examples/users/delete-user.md +15 -0
  77. data/docs/examples/users/get-logs.md +15 -0
  78. data/docs/examples/users/get-prefs.md +15 -0
  79. data/docs/examples/users/get-sessions.md +15 -0
  80. data/docs/examples/users/get.md +15 -0
  81. data/docs/examples/users/list.md +15 -0
  82. data/docs/examples/users/update-prefs.md +15 -0
  83. data/docs/examples/users/update-status.md +15 -0
  84. data/lib/appwrite.rb +4 -3
  85. data/lib/appwrite/client.rb +46 -13
  86. data/lib/appwrite/file.rb +23 -0
  87. data/lib/appwrite/services/avatars.rb +17 -1
  88. data/lib/appwrite/services/database.rb +27 -29
  89. data/lib/appwrite/services/functions.rb +194 -0
  90. data/lib/appwrite/services/health.rb +141 -0
  91. data/lib/appwrite/services/locale.rb +12 -1
  92. data/lib/appwrite/services/storage.rb +9 -10
  93. data/lib/appwrite/services/teams.rb +21 -48
  94. data/lib/appwrite/services/users.rb +32 -20
  95. metadata +86 -11
  96. data/lib/appwrite/services/account.rb +0 -114
  97. data/lib/appwrite/services/auth.rb +0 -131
  98. data/lib/appwrite/services/projects.rb +0 -410
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d0bc4cb6c3724f6a09863b99a8d64cc370a095be
4
- data.tar.gz: 966ffe662214c48443f00d5c5cbe71fd22886fc9
2
+ SHA256:
3
+ metadata.gz: 0b656d8cd5e37c875f295d2e0c7b53a2319a202065dc28e3fb0c73c6d4a5c73a
4
+ data.tar.gz: 8e6d0b772542e847ebaae1f25461e2051f0cc2680f96d6c4f9a4b8ddab271ba5
5
5
  SHA512:
6
- metadata.gz: ec38335ee5fcfcf366b12d2127661473b5a3c7c4ca8c9874a7bf0d3cd43ea4dff518b839e70cafa465b1897ee738386b76d94352089d1a3e7f970c4a22327748
7
- data.tar.gz: 7c87448f83c74460b50f16ea1cdcbce645d2894d80b388b92323467d761e90928eb5f396655c464da3ba56fd1d7269234bc4474ca4086277c58f5bd8e4d3015e
6
+ metadata.gz: 95197a1c5cc2a86f227a6bc0997274078403e908270be825799a628b07f426a519b02ace27ec54db7914b000d65aec5a4cf73922f61721d12ad35bcf0c4df539
7
+ data.tar.gz: 6813fbc37180cd4f878da5de97ebfe63f9add2200e97d0f0924fd58a25d00a5ff09f054874915d97270ca458e06ffd73b346900d3486fac902d7c1301f035fed
data/.travis.yml ADDED
@@ -0,0 +1,16 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.7
5
+
6
+ jobs:
7
+ include:
8
+ - stage: ruby gems release
9
+ rvm: "2.7"
10
+ script: echo "Deploying to ruby gems ..."
11
+ deploy:
12
+ provider: rubygems
13
+ api_key: $RUBYGEMS_TOKEN
14
+ gem: appwrite
15
+ on:
16
+ tags: true
data/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ # Change Log
data/Gemfile CHANGED
@@ -1,3 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'mime-types', '~> 3.1'
3
4
  gemspec
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 Appwrite (https://appwrite.io) and individual contributors.
1
+ Copyright (c) 2021 Appwrite (https://appwrite.io) and individual contributors.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # Appwrite SDK for Ruby
1
+ # Appwrite Ruby SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-ruby.svg?v=1)
4
- ![Version](https://img.shields.io/badge/api%20version-0.3.0-blue.svg?v=1)
5
-
6
- **WORK IN PROGRESS - NOT READY FOR USAGE - Want to help us improve this client SDK? Send a pull request to Appwrite [SDK generator repository](https://github.com/appwrite/sdk-generator).**
7
-
8
- 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)
4
+ ![Version](https://img.shields.io/badge/api%20version-0.7.0-blue.svg?v=1)
9
5
 
6
+ **This SDK is compatible with Appwrite server version 0.7.0. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-ruby/releases).**
10
7
 
8
+ Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way.
9
+ Use the Ruby SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools.
10
+ For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
11
11
 
12
12
  ![Appwrite](https://appwrite.io/images/github.png)
13
13
 
@@ -19,6 +19,10 @@ To install via [Gem](https://rubygems.org/):
19
19
  gem install appwrite --save
20
20
  ```
21
21
 
22
+ ## Contribution
23
+
24
+ This library is auto-generated by Appwrite custom [SDK Generator](https://github.com/appwrite/sdk-generator). To learn more about how you can help us improve this SDK, please check the [contribution guide](https://github.com/appwrite/sdk-generator/blob/master/CONTRIBUTING.md) before sending a pull-request.
25
+
22
26
  ## License
23
27
 
24
28
  Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
data/appwrite.gemspec CHANGED
@@ -1,11 +1,11 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'appwrite'
4
- s.version = '1.0.8'
5
- s.summary = "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)"
4
+ s.version = '2.0.2'
5
+ s.summary = "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API"
6
6
  s.author = 'Appwrite Team'
7
7
  s.homepage = 'https://appwrite.io/support'
8
8
  s.email = 'team@appwrite.io'
9
9
  s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
10
10
 
11
- end
11
+ end
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_browser(code: 'aa');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_credit_card(code: 'amex');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_favicon(url: 'https://example.com');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_flag(code: 'af');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_image(url: 'https://example.com');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_initials();
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ avatars = Appwrite::Avatars.new(client);
12
+
13
+ response = avatars.get_q_r(text: '[TEXT]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.create_collection(name: '[NAME]', read: [], write: [], rules: []);
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.create_document(collection_id: '[COLLECTION_ID]', data: {}, read: [], write: []);
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.delete_collection(collection_id: '[COLLECTION_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.delete_document(collection_id: '[COLLECTION_ID]', document_id: '[DOCUMENT_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.get_collection(collection_id: '[COLLECTION_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.get_document(collection_id: '[COLLECTION_ID]', document_id: '[DOCUMENT_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.list_collections();
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.list_documents(collection_id: '[COLLECTION_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.update_collection(collection_id: '[COLLECTION_ID]', name: '[NAME]', read: [], write: []);
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ database = Appwrite::Database.new(client);
12
+
13
+ response = database.update_document(collection_id: '[COLLECTION_ID]', document_id: '[DOCUMENT_ID]', data: {}, read: [], write: []);
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ functions = Appwrite::Functions.new(client);
12
+
13
+ response = functions.create_execution(function_id: '[FUNCTION_ID]');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ functions = Appwrite::Functions.new(client);
12
+
13
+ response = functions.create_tag(function_id: '[FUNCTION_ID]', command: '[COMMAND]', code: Appwrite::File.new());
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ functions = Appwrite::Functions.new(client);
12
+
13
+ response = functions.create(name: '[NAME]', execute: [], env: 'node-14.5');
14
+
15
+ puts response
@@ -0,0 +1,15 @@
1
+ require 'appwrite'
2
+
3
+ client = Appwrite::Client.new()
4
+
5
+ client
6
+ .set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
7
+ .set_project('5df5acd0d48c2') # Your project ID
8
+ .set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
9
+ ;
10
+
11
+ functions = Appwrite::Functions.new(client);
12
+
13
+ response = functions.delete_tag(function_id: '[FUNCTION_ID]', tag_id: '[TAG_ID]');
14
+
15
+ puts response