vidierre Posted November 15, 2022 Report Share Posted November 15, 2022 I am trying to document my app using the REST API. But I don't see how to get all Datapages info. Are there others methods to get all datapage info? I used the GET /v2/applications/{externalKey}/datapages/{appKey} to collect Datapages properties, but it returns: { "Result": { "Name": "Classi Elenco", "AppKey": "xx9999999x99x999x99x999xx9x9x", "AppName": "XYZ Formazione", "Path": "/myPath", "Type": "WEBAPP", "DateCreated": "2021-03-09T11:18:52.040", "DateModified": "2022-11-09T11:46:32.260", "CreatedBy": "Vittorio (info@nomail.it)", "ModifiedBy": "Vittorio (info@nomail.it)", "Note": "" } } That is less than displayed from WEB interface where under thre Properties I see: Datasource: for_classi Lookup data source: for_lkp_xyz for_lkp_classi_001 for_lkp_xyz2 for_classi Authentication: My_auth Style: MyStyle Localization: Italia App: XYZ Formazione Caspio AppKey: 9x9x9x9x9x9x9x9x9x9x9x9x Deployment: Enabled Access Restriction: None Host Pages: 15 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale/classi-elenco-2/ 12 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale-territori/classi-elenco-territori/ more... Created: 01 Mar 1999 12:18 PM by Vittorio (info@nomail.it) Last modified: 01 Nov 1999 12:46 PM by Vittorio (info@nomail.it) Notes: Add From WEB interface there are more useful info that are missing from API response like: Datasource Lookup datasources Authentication Style Localization Deployment Hostpages How can I get them? There is something to get Triggers info? Quote Link to comment Share on other sites More sharing options...
0 vidierre Posted November 18, 2022 Author Report Share Posted November 18, 2022 On 11/15/2022 at 10:31 AM, vidierre said: I am trying to document my app using the REST API. But I don't see how to get all Datapages info. Are there others methods to get all datapage info? I used the GET /v2/applications/{externalKey}/datapages/{appKey} to collect Datapages properties, but it returns: { "Result": { "Name": "Classi Elenco", "AppKey": "xx9999999x99x999x99x999xx9x9x", "AppName": "XYZ Formazione", "Path": "/myPath", "Type": "WEBAPP", "DateCreated": "2021-03-09T11:18:52.040", "DateModified": "2022-11-09T11:46:32.260", "CreatedBy": "Vittorio (info@nomail.it)", "ModifiedBy": "Vittorio (info@nomail.it)", "Note": "" } } That is less than displayed from WEB interface where under thre Properties I see: Datasource: for_classi Lookup data source: for_lkp_xyz for_lkp_classi_001 for_lkp_xyz2 for_classi Authentication: My_auth Style: MyStyle Localization: Italia App: XYZ Formazione Caspio AppKey: 9x9x9x9x9x9x9x9x9x9x9x9x Deployment: Enabled Access Restriction: None Host Pages: 15 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale/classi-elenco-2/ 12 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale-territori/classi-elenco-territori/ more... Created: 01 Mar 1999 12:18 PM by Vittorio (info@nomail.it) Last modified: 01 Nov 1999 12:46 PM by Vittorio (info@nomail.it) Notes: Add From WEB interface there are more useful info that are missing from API response like: Datasource Lookup datasources Authentication Style Localization Deployment Hostpages How can I get them? There is something to get Triggers info? None has played with this? Quote Link to comment Share on other sites More sharing options...
0 DaveS Posted February 17, 2023 Report Share Posted February 17, 2023 @vidierre - I love this question - I'm literally on day one of my official Caspio contract and am already seeing a need for this - I actually was asking support today about being able to get the host pages in a report. Lots of uses for this information in terms of making development more streamlined and lower-risk. I'd also love to figure out how to get all of my HTML code and Javascript code exported to a database so that we can find hard-coding and correct it. Would love to hear if you came up with anything here. Quote Link to comment Share on other sites More sharing options...
Question
vidierre
I am trying to document my app using the REST API. But I don't see how to get all Datapages info. Are there others methods to get all datapage info?
I used the GET /v2/applications/{externalKey}/datapages/{appKey} to collect Datapages properties, but it returns:
That is less than displayed from WEB interface where under thre Properties I see:
Datasource: for_classi Lookup data source: for_lkp_xyz for_lkp_classi_001 for_lkp_xyz2 for_classi Authentication: My_auth Style: MyStyle Localization: Italia App: XYZ Formazione Caspio AppKey: 9x9x9x9x9x9x9x9x9x9x9x9x Deployment: Enabled Access Restriction: None Host Pages: 15 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale/classi-elenco-2/ 12 Nov 2022 12:00 AM: https://myweb.it/formazione-fiscale-territori/classi-elenco-territori/ more... Created: 01 Mar 1999 12:18 PM by Vittorio (info@nomail.it) Last modified: 01 Nov 1999 12:46 PM by Vittorio (info@nomail.it) Notes: Add
From WEB interface there are more useful info that are missing from API response like:
How can I get them? There is something to get Triggers info?
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.