From 9f8309a7a46c86a57f35a7898d16d795ad44d3c7 Mon Sep 17 00:00:00 2001 From: Patrick Dowler Date: Thu, 9 Jul 2026 15:26:24 -0700 Subject: [PATCH] add missing file --- youcat/src/main/webapp/examples/index.html | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 youcat/src/main/webapp/examples/index.html diff --git a/youcat/src/main/webapp/examples/index.html b/youcat/src/main/webapp/examples/index.html new file mode 100644 index 00000000..bb10c6da --- /dev/null +++ b/youcat/src/main/webapp/examples/index.html @@ -0,0 +1,73 @@ + + + + CAOM Query Examples + + +
+
+

tap_schema: tables join columns

+

+ standardID: ivo://ivoa.net/std/TAP +

+ +

+ tables: + tap_schema.tables + JOIN + tap_schema.columns +

+ +

parameters:

+
+ LANG = ADQL +
+ +
+ QUERY = +
+                    SELECT t.table_name, t.utype, c.column_name, c.datatype, c.arraysize, c.xtype
+                    FROM tap_schema.tables t join tap_schema.columns c on t.table_name=c.table_name
+                    where t.schema_name = 'tap_schema'
+                    
+
+
+ +
+

Query for public user tables

+

+ standardID: ivo://ivoa.net/std/TAP +

+ +

+ tables: + tap_schema.schemas + JOIN + tap_schema.tables +

+ +

parameters:

+
+ LANG = ADQL +
+ +
+ QUERY = +
+                    SELECT s.schema_name, s.description, t.table_name, t.description, t.utype
+                    FROM tap_schema.schemas s join tap_schema.tables t on s.schema_name=t.schema_name
+                    where t.schema_name != 'tap_schema'
+                    
+
+ +

+ Note: This service supports access control on schemas and tables and some schemas + and tables are not public (anonymously query allowed). Authenticating may + make additional tables visible and allow queries to be executed (depending on the + caller being the owner of the schema or table or being a member of an IVOA GMS + group that has been granted access. +

+
+
+ +