File tree Expand file tree Collapse file tree 15 files changed +15
-15
lines changed Expand file tree Collapse file tree 15 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
7
7
8
8
Client client = new Client(context)
9
9
{% if method .auth | length > 0 %}
10
- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
10
+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
11
11
{% for node in method .auth %}
12
12
{% for key ,header in node | keys %}
13
13
.set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}"){% if loop .last %};{% endif %} // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
6
6
7
7
val client = Client(context)
8
8
{% if method .auth | length > 0 %}
9
- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
9
+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
10
10
{% for node in method .auth %}
11
11
{% for key ,header in node | keys %}
12
12
.set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ void main() { // Init SDK
9
9
10
10
{% if method .auth | length > 0 %}
11
11
client
12
- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
12
+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
13
13
{% for node in method .auth %}
14
14
{% for key ,header in node | keys %}
15
15
.set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ let {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(clie
10
10
11
11
{% if method .auth | length > 0 %}
12
12
client
13
- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
13
+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
14
14
{% for node in method .auth %}
15
15
{% for key ,header in node | keys %}
16
16
.set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Client client = new Client();
4
4
5
5
{% if method .auth | length > 0 %}
6
6
client
7
- .SetEndPoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
7
+ .SetEndPoint("https://cloud.appwrite.io /v1") // Your API Endpoint
8
8
{% for node in method .auth %}
9
9
{% for key ,header in node | keys %}
10
10
.Set{{header | caseUcfirst }}("{{node [header ][" x-appwrite" ]["demo" ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ void main() { // Init SDK
9
9
10
10
{% if method .auth | length > 0 %}
11
11
client
12
- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
12
+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
13
13
{% for node in method .auth %}
14
14
{% for key ,header in node | keys %}
15
15
.set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ func main() {
10
10
client := {{ spec .title | caseLower }}.NewClient()
11
11
12
12
{% if method .auth | length > 0 %}
13
- client.SetEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
13
+ client.SetEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
14
14
{% for node in method .auth %}
15
15
{% for key ,header in node | keys %}
16
16
client.Set{{header }}("{{node [header ][' x-{{ spec.title | caseLower }}' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }};
7
7
8
8
Client client = new Client()
9
9
{% if method .auth | length > 0 %}
10
- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
10
+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
11
11
{% for node in method .auth %}
12
12
{% for key ,header in node | keys %}
13
13
.set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}"){% if loop .last %};{% endif %} // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import {{ sdk.namespace | caseDot }}.services.{{ service.name | caseUcfirst }}
6
6
7
7
val client = Client(context)
8
8
{% if method .auth | length > 0 %}
9
- .setEndpoint("https://[HOSTNAME_OR_IP] /v1") // Your API Endpoint
9
+ .setEndpoint("https://cloud.appwrite.io /v1") // Your API Endpoint
10
10
{% for node in method .auth %}
11
11
{% for key ,header in node | keys %}
12
12
.set{{header | caseUcfirst }}("{{node [header ][' x-appwrite' ]['demo' ]}}") // {{node [header ].description}}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const {{ service.name | caseCamel }} = new sdk.{{service.name | caseUcfirst}}(cl
10
10
11
11
{% if method .auth | length > 0 %}
12
12
client
13
- .setEndpoint('https://[HOSTNAME_OR_IP] /v1') // Your API Endpoint
13
+ .setEndpoint('https://cloud.appwrite.io /v1') // Your API Endpoint
14
14
{% for node in method .auth %}
15
15
{% for key ,header in node | keys %}
16
16
.set{{header }}('{{node [header ][' x-appwrite' ]['demo' ]}}') // {{node [header ].description}}
You can’t perform that action at this time.
0 commit comments