-
GET reference table on custom endpoint "/user/{user_id}/[CUSTOM]"
I created another endpoint "/user/{user_id}/groups" and here i want to collect all the group data for the relevant user.. Im not quite sure how to accomplish this though.. Can anyone in the community help out with this?
-
How do I guarantee consistent endpoint performance with list filters?
My app's endpoint performance is great across the board when there is less traffic. "Endpoint A" will take less than 1 second to run consistently. However, when traffic increases for a 6 hour period, "Endpoint A" begins to take 40+ seconds to run. The 2 biggest culprits contain list filtering on a table Query. Example:…
-
How to Retrieve Specific Users via PATCH
I am trying to connect to the endpoint in a table I have called "users". When I set it up within my frontend, Draftbit, I am given an error saying that the endpoint is not found. I originally thought I needed to put the users_id when testing the endpoint. An example I put in was a user_id of 38, which is an existing…
-
GET unique url from a database cell - How to?
Hi, I am using Xano as a backend to Draftbit. I have a unique url in a cell on a database. How can I GET that user's unique url clickable in their profile section on Draftbit? … I was told from support at Draftbit, "Yes, based on your structure in Xano, you should be able to retrieve warranty url together with user data.…
-
Creating Unique Slugs Based on User Names from Relations
Hi there, I can't help my novice skill and knowledge. I need help, please. I want to create a slug based on users' full names. I attempted to add the slug field to the 'user' table but discovered that I couldn't have more than one unique index. So, I added the slug field under my 'profile' table, which already has a…
-
Column depending on another
I have a column that depends on another. Depending on the value that is entered, the other column needs to be automatically filled with a predefined value. I've been trying to do an endpoint, but isn't working.
-
How to make a data source conditional in my api endpoint
Hi, I'm planning on creating a conditional whether the data being used is “live" or “test”. If the data being used is “live”, I'll use the live api keys for my external api and if “test”, I'll use the test api keys for my external api. Do I make this by using $datasource == ‘live’ // $datasource == ‘test’? for my…
-
Unable to create a record with a relational object field (many to many)
Hey folks! Trying to do what I think is a super simple thing in Xano, but having some difficulty. Thanks for your help in advance. I have a table POSTS related to another table TECHNOLOGIES via the Object field. I chose object because I don't expect a post to have more than two or three technologies related to it. All I…
-
Make all changes in API Endpoint save automatically.
It'll really useful if I make change and it's saves automatically, because sometimes I forget to click on "save" button then test request in run&debug and get that I didn't expect. One more point why you should make this feature is that you already have change log and it will be a good combination autosave and change log…
-
Secure endpoint
I'm creating a website using xano, I found out that users can inspect the website and find the endpoint in my JavaScript files. Is there a way I can make the endpoint only run if it's being ran on a specific domain?