hot to get the collection activity from admin SDK?? is there any way?? i can see it in console. but to get it as list or do query on them , like, get the last 30 activity on this collection??
going through the docs, I can't seem to find any resource that allows us to list the activity logs. It probably isn't a feature yet. Mind if I as what your use-case is?
Ya.. i thought it was easy just like getting user logs.. but it was missing from docs when i searched π
Can i query the activity logs just like other collections ?? Using listDocuments ??
this one does the job.
but dart SDK doesnt have it. REST epi end points can fetch it
but why the SDK miss it?
Does this give you the Activity logs?
I'm not sure why it isn't included in the SDK. Maybe I'm missing something π
Regardless, if it does the job, I would simply make a function to call and process the response from this for now
Just like any normal REST api call.. with api key (with collection permission) , and project id..
Technically, we have 3 types of APIs, client, server, and admin. The admin related APIs aren't included in the server sdk.
But i can get the collection logs using api key..just like a REST api request.. but i won't report it as bug for sure π
Ya NVM about that
Recommended threads
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...