but one quick question, whenever i set the permission and comes back again, the permission i selected auto removed and i have to set it again, this has been going on and on,
whats is happening?
Every time you run appwrite deploy
, the permissions are reset to the values in your appwrite.json
file
wow, very interesing...
so how do i set it now via the appwrite.json?
have you tried looking at the file? and docs?
i'm on that now...
Hello pals, I have a quick question, first, I want to thank you for your support thus far. I came to understand yesterday that there is a function API, I never knew before that can be used to execute my functions, so my question is this,
do I need a function already created and deployed to the appwrite cloud (called Function A), then after which I can create another function (Function B) with the function API to trigger the first appwrite (function A).
please is this correct??
@Steven @ideclon
To execute any Appwrite Function, you create an Execution. You can create an Execution by either by clicking the Create Execution button in the Console, or by calling the functions.createExecution()
method with the Appwrite SDK from your own code. See https://appwrite.io/docs/products/functions/execution
okay, lets say i created a function to get list of newly register users, can i write the code to execute this function inside this function that list out all newly registered users
besides, i created a function to execute a cloud function in my server side code with nodejs and yet nothing was outputted, no erros, no logs. nothing
When you say "newly registered", how are you classifying that?
What's your code (to execute the Function)?
[SOLVED] please what am i doing wrong?
my issue was that I don't really understand how the appwrite cloud functions, but I have a little bit of understanding now, what I did me to get the results was to use the generated domain name and call it via Postman
thank you very much @ideclon @Steven
So you're calling the Function directly, instead of using the Appwrite SDK?
I'm using the appwrite sdk
But not to call the Function. And looking at your Function, could you not just do that client side?
sorry, i do not understand you, can you please rephrase ?
What are you building?
oooh okay, this has not just what i want to do, here are some of the things i'm aiming to use the appwrite function for
- i want to pair user together upon certain conditions
- i want to recieved a webhook from a 3rd party cdn upon video encoded and make it upate the user posted that video
so, what i just did was to do a testing to see how appwrite works, now i'm getting to statrt implementing what i want to build with appwrite functions
But I assume you're building some kind of frontend application?
not really
i'm building an app with flutter
And are you using the SDK in Flutter?
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- Our Appwrite organization is suspended
Please give support regarding this , no app is working now , please solve my issue and give support , no one is replying in message section or email.
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...