How can we get metadata of graph schema in tabular format?

How can we get metadata of graph schema in tabular format ?

Graph - Graph name
Vertax - datatype
directed edge - datatype
un directed edge - datatype

Both via CLI or REST ui

Hi @atulparihar

$ curl -u tigergraph:tigergraph \
"localhost:14240/gsqlserver/gsql/schema?graph=workNet&type=company"

Here is a sample notebook that leverages the endpoint.
https://colab.research.google.com/drive/1QPDulXgSDKpcEH4Pf_o-uNNEswyxh3Ak?usp=sharing

Thanks,

May i know if is there any option without REST API ?

@atulparihar If you are using the GSQL_Client or login to the GSQL> interface you can use the LS command to show your schema.

Example:

my@computer$ gsql
GSQL > ls