DF can be a used to have a external API or is more for a backend API?
@LBat, There's not a way within dreamfactory to avoid having an API key; however I believe it would be possible to set do this with mod-rewrite in the apache server. I haven't done it yet though so I...
View ArticleBuild my API Platform with DF
@LB I'll take a stab at a few of these. 3: The app has an API key with a set of default privileges (which could be none). When a user logs in, the app/user combination gets a set of privileges. User...
View ArticleI am deleting files to create space but space is not generating. Which files...
@amol.b - Your question isn't really clear. Can you add more information? What kind of files? What space? What are you trying to do?
View ArticleHow to remove virtual relationships
Thank you very much for the reply! I went to the API Docs and all I seem to have access to is DELETE /[my_service]/_schema/{table_name}/{field_name}. There's no API that adds a...
View ArticleI am deleting files to create space but space is not generating. Which files...
Our disk space is getting full. Which is of 15 GB. But as we are deleting the log files generated it is not showing that the space is generated. The space is drastically reducing. I want to get to...
View ArticleI am deleting files to create space but space is not generating. Which files...
@amol.b - The disk space is really small for doing anything but running the server. I'm not sure how you're using dreamfactory, but if you're doing any storage you'll either need to up the disk space...
View ArticleLogin via username
@adib this has been implemented as of our last release, check it out!
View ArticleGetting the count of records in platform.api.get
Hi, I'm trying to get the count of records from another table in a post trigger. I am using the example script merge_sql_nosql.js with V8js. Unfortunately I can't figure out how. var result =...
View ArticleHow to remove virtual relationships
In my case, I did the tests with versions 2.4, 2.5 and 2.6.Which version are you using?
View ArticleDF can be a used to have a external API or is more for a backend API?
Hello, Thank you @juniorconte and @jraiche. Junior, the first part, "for authenticated users", I put to work. My intention is to permit a 3rd party developer use a API endpoint without need to make a...
View ArticleHow to connect to Minio Server (an AWS S3 compatible storage Engine)
Good day.In my quest to find new user cases for Dreamfactory - I came across the Minio Server (https://www.minio.io/) - that is AWS S3 compatible. I setup the Minio server locally and can access it...
View ArticleDF can be a used to have a external API or is more for a backend API?
I was a bit confused by the Role vs App vs Service thing as well initially. If my understanding is flawed, I'll defer to more experienced users. Service: A Rest endpoint serving as the gateway to a...
View ArticleDF can be a used to have a external API or is more for a backend API?
Oh, and the default role feature of apps makes it so that they can just use the API key without logging in. You could even set the default role very permissive during development and lock it down once...
View ArticleDF can be a used to have a external API or is more for a backend API?
Hello again @jraiche, It is a good explanation, I try to divide my structure in this three 'areas' and verify if works. I will return when have more conclusions or have more questions. Best regards,LB
View ArticleGeneric server side script
Hello guys, I would like to ask you guys about how can I write more generic script which works with all of PUT requests or POST requests. For example, I want to write the history of all actions of my...
View ArticleCalling another endpoint from a custom script
Hi, I've been trying to call another endpoint in DF 2.6 through a custom V8js script and I just can't! I've followed @drewpearce article on...
View ArticleCalling another endpoint from a custom script
Hi, to call a proc with parameters, you need a POST request, and you need use options.parms instead options.parameters { "params": [ { "name": "string", "value": "string" }, { "name": "string",...
View ArticleGeneric server side script
Hi, @uurtsaikh201 I think the most generic it could be, would be through the entry points of {table_name} and {table_name}.{id} service by service (diferents databases), and verb by verb (POST, PUT,...
View ArticleGetting the count of records in platform.api.get
Hi @mrbijan, You need include query string ?include_count=true in your request. { "resource": [ { "id": 352, ... }, ... ], "meta": { "count": 8, <--- here "next": 1, "schema": { "name":...
View ArticleGetting the count of records in platform.api.get
Using your post as inspiration I managed to fix it! Thanks a lot!!
View Article