diff --git a/modules/cloud/modules/solutions/pages/access-solution/rest-requests.adoc b/modules/cloud/modules/solutions/pages/access-solution/rest-requests.adoc index 830c3856..38818d06 100644 --- a/modules/cloud/modules/solutions/pages/access-solution/rest-requests.adoc +++ b/modules/cloud/modules/solutions/pages/access-solution/rest-requests.adoc @@ -81,11 +81,13 @@ This is a sample response, where the string in the response with the key `token` -- ==== -=== 4. Send a request using your token +=== 4. Send a request using your token or secret -Now that you have an authorization token, you can proceed to make requests to your cluster. To use the authorization token, include it in the request header as a bearer token. +Now that you have an authorization token, you can proceed to make requests to your cluster. + +==== Token Request +To use the authorization token, include it in the request header as a bearer token. -See xref:tigergraph-server:API:built-in-endpoints.adoc[] to learn about all the endpoints available. The following example makes a request to the xref:tigergraph-server:API:built-in-endpoints.adoc#_list_vertices[List vertices] endpoint on a cluster with the https://www.youtube.com/watch?v=s6-QapCEz1M&feature=youtu.be&ab_channel=TigerGraph[COVID-19 starter kit]. The request lists 5 patients and their ages. @@ -104,7 +106,7 @@ $ curl -H "Authorization: Bearer fc6p0i2ijjt031n0sja6m9ci70p232h7" \ [NOTE] For TigerGraph Cloud clusters created before June 20, 2022, replace "443/restpp" with "9000". See the xref:release-notes:index.adoc[] for details. -- -Response: +Response:: + -- [source,console] @@ -157,4 +159,16 @@ Response: } ---- -- -==== \ No newline at end of file +==== + +==== Secret Request + +To use the authorization secret, include it in the request header as a GSQL-Secret. + +[source,console] +---- +curl -H "Authorization: GSQL-Secret fc6p0i2ijjt031n0sja6m9ci70p232h7" \ +"https://aa768d833bbf47fea6db80a7972a9477.i.tgcloud.io:443/restpp/graph/MyGraph/vertices/Patient?limit=5&select=birth_year" +---- + +See xref:tigergraph-server:API:built-in-endpoints.adoc[] to learn about all the endpoints available. diff --git a/modules/cloudbeta/modules/overview/pages/index.adoc b/modules/cloudbeta/modules/overview/pages/index.adoc index 28ebb1d5..f71eb2a8 100644 --- a/modules/cloudbeta/modules/overview/pages/index.adoc +++ b/modules/cloudbeta/modules/overview/pages/index.adoc @@ -10,6 +10,23 @@ TigerGraph Cloud 4.0 offers a powerful and user-friendly environment for managin TigerGraph Cloud 4.0 is still in beta release and the documentation is in progress. ==== +[IMPORTANT] +==== +TigerGraph Cloud 4.0 beta is for personal or R&D use and not for production use. + +It is not covered by our xref:cloudBeta:resources:terms_conditions.adoc[]. +==== + +//// +3/18/2024: CoPilot is available now in Alpha (v0.0.1). +It uses a Large Language Model (LLM) to convert your question into a function call, which is then executed on the graph in TigerGraph. +We would love to hear your feedback to keep improving it so that it could bring more value to you. +If you are trying it out, it would be helpful if you could fill out this sign up form so we can keep track of it (no spam, promised). +And if you would just like to provide the feedback, please feel free to fill out this short survey after you have played with CoPilot. + +Thank you for your interest and support! +//// + == Get to Know Your TigerGraph Cloud [.home-card,cols="2",grid=none,frame=none, separator=¦]