You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/src/main/java/io/appwrite/models/Locale.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ data class Locale(
26
26
valcountry:String,
27
27
28
28
/**
29
-
* Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
29
+
* Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
Copy file name to clipboardExpand all lines: library/src/main/java/io/appwrite/services/Avatars.kt
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ import java.io.File
14
14
15
15
/**
16
16
* The Avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.
17
-
**/
17
+
*/
18
18
classAvatars(client:Client) : Service(client) {
19
19
20
20
/**
21
21
* You can use this endpoint to show different browser icons to your users. The code argument receives the browser code as it appears in your user [GET /account/sessions](https://appwrite.io/docs/references/cloud/client-web/account#getSessions) endpoint. Use width, height and quality arguments to change the output settings.
22
-
*
23
-
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
22
+
*
23
+
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
24
24
*
25
25
* @param code Browser Code.
26
26
* @param width Image width. Pass an integer between 0 to 2000. Defaults to 100.
@@ -55,9 +55,9 @@ class Avatars(client: Client) : Service(client) {
55
55
56
56
/**
57
57
* The credit card endpoint will return you the icon of the credit card provider you need. Use width, height and quality arguments to change the output settings.
58
-
*
59
-
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
60
-
*
58
+
*
59
+
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
* @param width Image width. Pass an integer between 0 to 2000. Defaults to 100.
@@ -92,8 +92,8 @@ class Avatars(client: Client) : Service(client) {
92
92
93
93
/**
94
94
* Use this endpoint to fetch the favorite icon (AKA favicon) of any remote website URL.
95
-
*
96
-
* This endpoint does not follow HTTP redirects.
95
+
*
96
+
* This endpoint does not follow HTTP redirects.
97
97
*
98
98
* @param url Website URL which you want to fetch the favicon from.
99
99
* @return [ByteArray]
@@ -118,9 +118,9 @@ class Avatars(client: Client) : Service(client) {
118
118
119
119
/**
120
120
* You can use this endpoint to show different country flags icons to your users. The code argument receives the 2 letter country code. Use width, height and quality arguments to change the output settings. Country codes follow the [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) standard.
121
-
*
122
-
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
123
-
*
121
+
*
122
+
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
123
+
*
124
124
*
125
125
* @param code Country Code. ISO Alpha-2 country code format.
126
126
* @param width Image width. Pass an integer between 0 to 2000. Defaults to 100.
@@ -155,10 +155,10 @@ class Avatars(client: Client) : Service(client) {
155
155
156
156
/**
157
157
* 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 and display remote images in your app or in case you want to make sure a 3rd party image is properly served using a TLS protocol.
158
-
*
159
-
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
160
-
*
161
-
* This endpoint does not follow HTTP redirects.
158
+
*
159
+
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 400x400px.
160
+
*
161
+
* This endpoint does not follow HTTP redirects.
162
162
*
163
163
* @param url Image URL which you want to crop.
164
164
* @param width Resize preview image width, Pass an integer between 0 to 2000. Defaults to 400.
@@ -190,11 +190,11 @@ class Avatars(client: Client) : Service(client) {
190
190
191
191
/**
192
192
* Use this endpoint to show your user initials avatar icon on your website or app. By default, this route will try to print your logged-in user name or email initials. You can also overwrite the user name if you pass the 'name' parameter. If no name is given and no user is logged, an empty avatar will be returned.
193
-
*
194
-
* You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
195
-
*
196
-
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
197
-
*
193
+
*
194
+
* You can use the color and background params to change the avatar colors. By default, a random theme will be selected. The random theme will persist for the user's initials when reloading the same theme will always return for the same initials.
195
+
*
196
+
* When one dimension is specified and the other is 0, the image is scaled with preserved aspect ratio. If both dimensions are 0, the API provides an image at source quality. If dimensions are not specified, the default size of image returned is 100x100px.
197
+
*
198
198
*
199
199
* @param name Full Name. When empty, current user name or email will be used. Max length: 128 chars.
200
200
* @param width Image width. Pass an integer between 0 to 2000. Defaults to 100.
@@ -229,7 +229,7 @@ class Avatars(client: Client) : Service(client) {
229
229
230
230
/**
231
231
* Converts a given plain text to a QR code image. You can use the query parameters to change the size and style of the resulting image.
232
-
*
232
+
*
233
233
*
234
234
* @param text Plain text to be converted to QR code image.
235
235
* @param size QR code size. Pass an integer between 1 to 1000. Defaults to 400.
Copy file name to clipboardExpand all lines: library/src/main/java/io/appwrite/services/Databases.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ import java.io.File
12
12
13
13
/**
14
14
* The Databases service allows you to create structured collections of documents, query and filter lists of documents
15
-
**/
15
+
*/
16
16
classDatabases(client:Client) : Service(client) {
17
17
18
18
/**
@@ -59,7 +59,7 @@ class Databases(client: Client) : Service(client) {
59
59
}
60
60
61
61
/**
62
-
* Get a list of all the user's documents in a given collection. You can use the query params to filter your results.
62
+
* Get a list of all the user's documents in a given collection. You can use the query params to filter your results.
63
63
*
64
64
* @param databaseId Database ID.
65
65
* @param collectionId Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection).
Copy file name to clipboardExpand all lines: library/src/main/java/io/appwrite/services/Locale.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,13 @@ import java.io.File
12
12
13
13
/**
14
14
* The Locale service allows you to customize your app based on your users' location.
15
-
**/
15
+
*/
16
16
classLocale(client:Client) : Service(client) {
17
17
18
18
/**
19
19
* Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
Copy file name to clipboardExpand all lines: library/src/main/java/io/appwrite/services/Storage.kt
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ import java.io.File
14
14
15
15
/**
16
16
* The Storage service allows you to manage your project files.
17
-
**/
17
+
*/
18
18
classStorage(client:Client) : Service(client) {
19
19
20
20
/**
@@ -57,13 +57,13 @@ class Storage(client: Client) : Service(client) {
57
57
58
58
/**
59
59
* Create a new file. Before using this route, you should create a new bucket resource using either a [server integration](https://appwrite.io/docs/server/storage#storageCreateBucket) API or directly from your Appwrite console.
60
-
*
61
-
* Larger files should be uploaded using multiple requests with the [content-range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.
62
-
*
63
-
* When the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.
64
-
*
65
-
* If you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.
66
-
*
60
+
*
61
+
* Larger files should be uploaded using multiple requests with the [content-range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range) header to send a partial request with a maximum supported chunk of `5MB`. The `content-range` header values should always be in bytes.
62
+
*
63
+
* When the first request is sent, the server will return the **File** object, and the subsequent part request must include the file's **id** in `x-appwrite-id` header to allow the server to know that the partial upload is for the existing file and not for a new one.
64
+
*
65
+
* If you're creating a new file using one of the Appwrite SDKs, all the chunking logic will be managed by the SDK internally.
66
+
*
67
67
*
68
68
* @param bucketId Storage bucket unique ID. You can create a new storage bucket using the Storage service [server integration](https://appwrite.io/docs/server/storage#createBucket).
69
69
* @param fileId File ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
0 commit comments