Jump to content
  • 0

Custom REST API based on View


Tr0Jan

Question

I understand and have seen that Swagger UI can provide automatics REST API for entities in the tables automatically. This is really great and provides some nice functionality.

I am wondering if Caspio also provide a way to extended the REST API to custom endpoints, specifically those based off of views that we create?

In other words, if I perform a join of 2 tables and select certain fields that I want shown, and make that a view, can I then expose that view as a REST API easily?

 

Said once more, in a slightly different way, it is great for example, to be able to use the datapages to embed in an app, but all I really want is the data contained in that Datapage as a JSON object so that I can use my own component to consume and present that data.

 

Thanks

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...