Skip to content

Commit

Permalink
3.10.1updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Newman authored and Joseph Newman committed Apr 15, 2024
1 parent 14b125e commit ce28ffd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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]
Expand Down Expand Up @@ -157,4 +159,16 @@ Response:
}
----
--
====
====

==== 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.
17 changes: 17 additions & 0 deletions modules/cloudbeta/modules/overview/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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=¦]
Expand Down

0 comments on commit ce28ffd

Please sign in to comment.