Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
b290b44
Create tse-fundamentals-intro.adoc
bryanthowell-ts Oct 25, 2024
81ffa01
Rename tse-fundamentals-intro.adoc to tse-fundamentals-intro.adoc
bryanthowell-ts Oct 25, 2024
79033b6
Create tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
9376e85
Create tse-fundamentals-lesson-02.adoc
bryanthowell-ts Oct 25, 2024
7b151e3
Create rest-api-intro.adoc
bryanthowell-ts Oct 25, 2024
4a11a89
Create placeholder.txt
bryanthowell-ts Oct 25, 2024
30bae1a
Add files via upload
bryanthowell-ts Oct 25, 2024
d71b8fd
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
1a0a330
Update gatsby-node.js
bryanthowell-ts Oct 25, 2024
0ce2070
Update gatsby-config.js
bryanthowell-ts Oct 25, 2024
4f72080
Update helper.tsx
bryanthowell-ts Oct 25, 2024
62cfa61
Update nav.adoc
bryanthowell-ts Oct 25, 2024
377320f
Adding PyCharm folder to ignore.
billdback-ts Oct 25, 2024
bff76e1
Adding images from old course.
billdback-ts Oct 25, 2024
94acc53
Updating links to images in new structure.
billdback-ts Oct 25, 2024
6448d42
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
2e4a6f7
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
ea4da78
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
faa262e
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
feb8cb9
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
32dfeb6
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
6c2b04e
Update tse-fundamentals-lesson-01.adoc
bryanthowell-ts Oct 25, 2024
d7a507a
Update rest-api-intro.adoc
bryanthowell-ts Oct 25, 2024
edc69d6
Create lesson-01.adoc
bryanthowell-ts Oct 25, 2024
b968068
Update lesson-01.adoc
bryanthowell-ts Oct 25, 2024
000a2e7
Rename lesson-01.adoc to rest-api_lesson-01.adoc
bryanthowell-ts Oct 25, 2024
13867e7
Adding draft (buggy) versions to the code.
billdback-ts Oct 25, 2024
55199e9
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 25, 2024
67fa07b
Adding nav and fixing pageid.
billdback-ts Oct 25, 2024
281b0fe
Create placeholder.txt
bryanthowell-ts Oct 25, 2024
6655a25
Add files via upload
bryanthowell-ts Oct 25, 2024
6539060
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 25, 2024
112d003
Add files via upload
bryanthowell-ts Oct 25, 2024
6ee90a1
Delete static/doc-images/images/tutorials/rest-api/placeholder.txt
bryanthowell-ts Oct 25, 2024
4024f75
Create rest-api_lesson-02.adoc
bryanthowell-ts Oct 25, 2024
0d58069
Update nav.adoc
bryanthowell-ts Oct 25, 2024
e44ab33
Create react-components_intro.adoc
bryanthowell-ts Oct 25, 2024
88bca2d
Create trusted-authentication_intro.adoc
bryanthowell-ts Oct 25, 2024
4eb842a
Create style-customization_intro.adoc
bryanthowell-ts Oct 25, 2024
fa4f53c
Fixing links and image names.
billdback-ts Oct 28, 2024
0219dd8
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 28, 2024
4d50765
Add files via upload
bryanthowell-ts Oct 28, 2024
17f2a61
Update rest-api-intro.adoc
bryanthowell-ts Oct 28, 2024
e60a145
Update rest-api-intro.adoc
bryanthowell-ts Oct 28, 2024
bd1df2f
Fixing links and image names.
billdback-ts Oct 28, 2024
90f414f
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 28, 2024
5dd7835
Add files via upload
bryanthowell-ts Oct 28, 2024
0052380
Update rest-api-intro.adoc
bryanthowell-ts Oct 28, 2024
13a859c
Create rest-api_lesson-03.adoc
bryanthowell-ts Oct 28, 2024
746142d
Create rest-api_lesson-04.adoc
bryanthowell-ts Oct 28, 2024
fd9ba9b
Update gatsby-node.js
bryanthowell-ts Oct 28, 2024
0a012b0
Create tutorials-overview.adoc
bryanthowell-ts Oct 28, 2024
3c2ae7e
Update nav.adoc
bryanthowell-ts Oct 28, 2024
e604f42
Update gatsby-node.js
bryanthowell-ts Oct 28, 2024
63209c0
Add files via upload
bryanthowell-ts Oct 28, 2024
ef70a99
Add files via upload
bryanthowell-ts Oct 28, 2024
30438b6
Add files via upload
bryanthowell-ts Oct 28, 2024
d722138
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 28, 2024
0e137f9
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 28, 2024
72550b0
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 29, 2024
22ed436
Update rest-api_lesson-02.adoc
bryanthowell-ts Oct 29, 2024
7e4f076
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 29, 2024
2c3f40c
Update rest-api_lesson-02.adoc
bryanthowell-ts Oct 29, 2024
384d982
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 29, 2024
a69e380
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 29, 2024
6fcd59e
Fixing links and images, plus various fixes.
billdback-ts Oct 29, 2024
35a2e99
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 29, 2024
83b8620
Update nav.adoc
bryanthowell-ts Oct 31, 2024
53dd7a5
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
a90bd6a
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
cf3a532
Update rest-api_lesson-02.adoc
bryanthowell-ts Oct 31, 2024
0a9b5e5
Renaming and fixing bugs.
billdback-ts Oct 31, 2024
07ba8ba
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 31, 2024
5c72a87
Update rest-api_lesson-02.adoc
bryanthowell-ts Oct 31, 2024
7a38fdf
Fixing images and updates.
billdback-ts Oct 31, 2024
8f5f040
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 31, 2024
a2dae52
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
e32a15e
Add files via upload
bryanthowell-ts Oct 31, 2024
8c469b0
Fixing images and updates.
billdback-ts Oct 31, 2024
b78aecf
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 31, 2024
6d92ced
Fixing images and updates.
billdback-ts Oct 31, 2024
390deb7
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
f3764de
Fixing images and updates.
billdback-ts Oct 31, 2024
41793c5
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Oct 31, 2024
83d4a49
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
ab0beb3
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
f216dfa
Update rest-api_lesson-01.adoc
bryanthowell-ts Oct 31, 2024
ea26661
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 1, 2024
73f1c69
Update rest-api_lesson-02.adoc
bryanthowell-ts Nov 1, 2024
12d60d9
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 1, 2024
bb6fbfb
Fixing images sizes.
billdback-ts Nov 1, 2024
353c975
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Nov 1, 2024
bfd3d45
Fixing images sizes.
billdback-ts Nov 1, 2024
9ab8c9e
Fixing images sizes.
billdback-ts Nov 1, 2024
9abdf16
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 1, 2024
2710faf
Update rest-api_lesson-02.adoc
bryanthowell-ts Nov 1, 2024
158a35e
Add files via upload
bryanthowell-ts Nov 1, 2024
563fddb
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 1, 2024
b165017
Fixing images sizes.
billdback-ts Nov 1, 2024
86a5d0b
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Nov 1, 2024
eaa6bc9
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 1, 2024
cbd2c9b
Update nav.adoc
bryanthowell-ts Nov 1, 2024
f3c95a0
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 1, 2024
15ab9b3
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 1, 2024
b1af84b
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 4, 2024
493fea2
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 4, 2024
c67ddb4
Update nav.adoc
bryanthowell-ts Nov 5, 2024
048487a
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 5, 2024
0d98011
Update rest-api_lesson-02.adoc
bryanthowell-ts Nov 5, 2024
457e8d8
Add files via upload
bryanthowell-ts Nov 5, 2024
aa6f4b1
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 5, 2024
76b36b2
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 5, 2024
a8d0b74
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 5, 2024
7961e79
Fixing issues based on feedback/review.
billdback-ts Nov 6, 2024
d1e950a
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Nov 6, 2024
dae5402
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 7, 2024
f0e1ac7
Fixing issues based on feedback/review.
billdback-ts Nov 7, 2024
4722d11
Merge remote-tracking branch 'origin/tutorials-module-1' into tutoria…
billdback-ts Nov 7, 2024
52ea71e
More updates to images and minor text changes.
billdback-ts Nov 7, 2024
c9f02b5
Changing duration of free trial.
billdback-ts Nov 8, 2024
4d6b518
spotter tutorial 01
ashubham Nov 12, 2024
bc74711
Update main.yml
ashubham Nov 12, 2024
d8f3300
Add files via upload
bryanthowell-ts Nov 12, 2024
a386981
Add files via upload
bryanthowell-ts Nov 12, 2024
c9b90a5
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 12, 2024
9c376b9
fix tests
ashubham Nov 12, 2024
e430c72
Merge pull request #210 from thoughtspot/spotter-tut
ashubham Nov 12, 2024
b673b37
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 12, 2024
bdbb863
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 12, 2024
a491330
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 12, 2024
89c1ffd
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 12, 2024
1f16fca
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 12, 2024
3fda101
Update rest-api-intro.adoc
bryanthowell-ts Nov 12, 2024
1da9815
language, punctuation, links, and typo fixes
ShashiSubramanya Nov 13, 2024
4e29fa2
Update rest-api_lesson-04.adoc
bryanthowell-ts Nov 13, 2024
74d01b3
Update rest-api_lesson-01.adoc
bryanthowell-ts Nov 13, 2024
255c194
Update rest-api_lesson-03.adoc
bryanthowell-ts Nov 13, 2024
f7a2a17
Update rest-api-intro.adoc
bryanthowell-ts Nov 13, 2024
2287ac7
typo fixes, minor edits, and link updates
ShashiSubramanya Nov 13, 2024
1fabeab
rest api tutorials - minor edits, typo fixes
ShashiSubramanya Nov 13, 2024
863e412
Merge pull request #204 from thoughtspot/tutorials-module-1
bryanthowell-ts Nov 13, 2024
1e76ba3
removed limitations block - SCAL-232520
ShashiSubramanya Nov 14, 2024
c171ff1
csp, cors and other fixes
ShashiSubramanya Nov 14, 2024
bd04a3b
link fixes
ShashiSubramanya Nov 14, 2024
0b169ba
image scale, ref update
ShashiSubramanya Nov 14, 2024
3370872
typo fixes
ShashiSubramanya Nov 14, 2024
06a640d
removing ununsed files
ShashiSubramanya Nov 14, 2024
d588d43
SCAL-231294
ShashiSubramanya Nov 14, 2024
3a19699
image resize
ShashiSubramanya Nov 14, 2024
afdfd0c
image edit
ShashiSubramanya Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
minimum_coverage: 0

# Collect artifacts
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: test-coverage
path: coverage/
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,7 @@ docs/public/
.vscode/

# Typedoc generated files
modules/**/generated/
modules/**/generated/

# PyCharm
.idea
9 changes: 9 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ module.exports = {
},
__key: 'pages',
},
// Tutorials module
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'tutorials',
path: `${__dirname}/modules/tutorials/pages`,
},
__key: 'pages',
},
{
resolve: 'gatsby-source-filesystem',
options: {
Expand Down
67 changes: 58 additions & 9 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ exports.createPages = async function ({ actions, graphql }) {
parent {
... on File {
name
sourceInstanceName
relativePath
}
}

}
}
}
Expand All @@ -36,20 +39,66 @@ exports.createPages = async function ({ actions, graphql }) {

const namePageIdMap = {};
data.allAsciidoc.edges.forEach((e) => {
namePageIdMap[e.node.parent.name] =
e.node.pageAttributes.pageid || NOT_FOUND_PAGE_ID;
const { sourceInstanceName: sourceName, relativePath : relPath } = e.node.parent;
const pageId = e.node.pageAttributes.pageid;
if (sourceName === 'tutorials'){
const relPathSplit = relPath.split('/');
const pageIdSplit = pageId.split('_');
let finalPageId = pageId;
if( pageIdSplit.length > 1) {
finalPageId = pageIdSplit[1];
}
let mapPageId = `tutorials/` + finalPageId;
if(relPathSplit.length > 1) {
mapPageId = `tutorials/${relPathSplit[0]}/` + finalPageId;
}
namePageIdMap[e.node.parent.name] =
mapPageId || NOT_FOUND_PAGE_ID;
}

else {
namePageIdMap[e.node.parent.name] =
e.node.pageAttributes.pageid || NOT_FOUND_PAGE_ID;
}
});

data.allAsciidoc.edges.forEach((edge) => {
const { pageid: pageId } = edge.node.pageAttributes;
const { sourceInstanceName: sourceName, relativePath : relPath } = edge.node.parent;

// Tutorials module pageids follow pattern {subdirectory}_{final_url_stub} to give unique IDs in system but allow directory structure in URL
if (sourceName === 'tutorials'){
// One-level of subdirectory part of stub
const relPathSplit = relPath.split('/');
const pageIdSplit = pageId.split('_');
let finalPageId = pageId;
if( pageIdSplit.length > 1) {
finalPageId = pageIdSplit[1];
}

actions.createPage({
path: `/${pageId}`,
component: require.resolve(
'./src/components/DevDocTemplate/index.tsx',
),
context: { pageId, navId: DOC_NAV_PAGE_ID, namePageIdMap },
});
let finalPath = `/tutorials/${finalPageId}`;
if(relPathSplit.length > 1) {
finalPath = `/tutorials/${relPathSplit[0]}/${finalPageId}`;
}

actions.createPage({
path: finalPath,
component: require.resolve(
'./src/components/DevDocTemplate/index.tsx',
),
context: { pageId, navId: DOC_NAV_PAGE_ID, namePageIdMap },
});
}

else {
actions.createPage({
path: `/${pageId}`,
component: require.resolve(
'./src/components/DevDocTemplate/index.tsx',
),
context: { pageId, navId: DOC_NAV_PAGE_ID, namePageIdMap },
});
}

if (pageId === 'introduction') {
actions.createPage({
Expand Down
1 change: 1 addition & 0 deletions jest.config.docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'.+\\.(css|styl|less|sass|scss)$': 'identity-obj-proxy',
'.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/__mocks__/file-mock.js',
"^gatsby-page-utils/(.*)$": `gatsby-page-utils/dist/$1`,
},
testPathIgnorePatterns: [
'node_modules',
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/authentication-authorization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

User access in ThoughtSpot is determined by the privileges assigned to the groups to which they belong. Users and groups are stored locally in ThoughtSpot, even if the users are authenticated using the SAML SSO or trusted authentication method.

To provide access to ThoughtSpot content or define role-based privileges, you need to add users and groups in ThoughtSpot. You can create link:https://cloud-docs.thoughtspot.com/admin/users-groups/add-user.html[user accounts, window=_blank] and link:https://cloud-docs.thoughtspot.com/admin/users-groups/add-group.html[user groups, window=_blank] in the UI or by using xref:api-user-management.adoc[REST APIs].
To provide access to ThoughtSpot content or define role-based privileges, you need to add users and groups in ThoughtSpot. You can create link:https://docs.thoughtspot.com/cloud/latest/user-management[user accounts, window=_blank] and link:https://docs.thoughtspot.com/cloud/latest/group-management[user groups, window=_blank] in the UI or by using xref:api-user-management.adoc[REST APIs].

== How to synchronize authorization settings from external systems

Expand Down
110 changes: 0 additions & 110 deletions modules/ROOT/pages/calling-rest-api.adoc

This file was deleted.

4 changes: 2 additions & 2 deletions modules/ROOT/pages/catalog-and-audit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:page-pageid: catalog-and-audit
:page-description: ThoughtSpot REST APIs can be used to audit system configurations and bring metadata into data catalogs

The ThoughtSpot REST API can easily retrieve information about the objects stored on the ThoughtSpot server. The REST API can also retrieve every object in the link:https://cloud-docs.thoughtspot.com/admin/ts-cloud/tml.html[ThoughtSpot Modeling language (TML), window=_blank], which can be parsed as YAML or JSON for additional details.
The ThoughtSpot REST API can easily retrieve information about the objects stored on the ThoughtSpot server. The REST API can also retrieve every object in the link:https://docs.thoughtspot.com/cloud/latest/tml[ThoughtSpot Modeling language (TML), window=_blank], which can be parsed as YAML or JSON for additional details.

== Map user and group GUIDs to names
Some API responses only include the GUIDs for other objects, without the string names. If you need the human-readable names of users and groups, use the xref:user-api.adoc#get-user-details[get user details] and the xref:group-api.adoc#get-ug-details [get group details] endpoints.
Expand Down Expand Up @@ -58,7 +58,7 @@ The example link:https://github.com/thoughtspot/ts_rest_api_and_tml_tools/blob/m
To determine which users belong in a group, use the xref:group-api.adoc#get-users-group[/group/listuser/{groupid}] or xref:group-api.adoc#get-usersInGroup[/group/{groupid}/users] endpoint.

== User privileges
link:https://cloud-docs.thoughtspot.com/end-user/introduction/about-privileges-end-user.html[Privileges, window=_blank] are capabilities within ThoughtSpot available to a user. Privileges are inherited in an additive manner from groups a user belongs to (privileges are defined on groups only). A user has the full set of privileges from all of their groups on every piece of content the user has sharing access to.
link:https://docs.thoughtspot.com/cloud/latest/groups-privileges[Privileges, window=_blank] are capabilities within ThoughtSpot available to a user. Privileges are inherited in an additive manner from groups a user belongs to (privileges are defined on groups only). A user has the full set of privileges from all of their groups on every piece of content the user has sharing access to.

To see a user's privilege set, use the xref:user-api.adoc#get-user-details[user API endpoint]. You can run this API for an individual user or to get details of all users. In either case, the response object for each user will include a `privileges` array that lists all the privileges the user has.

Expand Down
19 changes: 19 additions & 0 deletions modules/ROOT/pages/common/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,25 @@
*** link:{{navprefix}}/graphql-playground[GraphQL Playground]
*** link:{{navprefix}}/rest-playground[REST API Playground]

* link:{{navprefix}}/tutorials/tutorials-overview[Tutorials]
** link:{{navprefix}}/tutorials/tse-fundamentals/intro[Embedding Fundamentals]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-01[01 - Overview]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-02[02 - Set up for course]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-03[03 - Security setup]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-04[04 - Start coding]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-05[05 - Embed Search]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-06[06 - Embed Natural Language Search]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-07[07 - Embed Liveboard]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-08[08 - Embed Visualization]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-09[09 - Embed full application]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-10[10 - Style embedded app]
*** link:{{navprefix}}/tutorials/tse-fundamentals/lesson-11[11 - Course summary]
** link:{{navprefix}}/tutorials/rest-api/intro[REST API]
*** link:{{navprefix}}/tutorials/rest-api/lesson-01[01 - REST API overview]
*** link:{{navprefix}}/tutorials/rest-api/lesson-02[02 - Simple Python implementation]
*** link:{{navprefix}}/tutorials/rest-api/lesson-03[03 - Complex REST API workflows]
*** link:{{navprefix}}/tutorials/rest-api/lesson-04[04 - Browser JavaScript REST API implementation]

* link:{{navprefix}}/getting-started[Embed ThoughtSpot]
** link:{{navprefix}}/getting-started[Quickstart Guide]
** link:{{navprefix}}/tsembed[Embed a ThoughtSpot component]
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/connections.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ __String__. ID of the project associated with your BigQuery account.

* `oauth_pvt_key`
+
__String__. The secret key obtained for your BigQuery service account. To obtain the secret key, you must create a custom role in BigQuery and set up your service account. For more information, see link:https://cloud-docs.thoughtspot.com/admin/ts-cloud/ts-cloud-embrace-gbq-prerequisites.html#custom-role[BigQuery prerequisites, window=_blank].
__String__. The secret key obtained for your BigQuery service account. To obtain the secret key, you must create a custom role in BigQuery and set up your service account. For more information, see link:https://docs.thoughtspot.com/cloud/latest/connections-gbq-prerequisites[BigQuery prerequisites, window=_blank].

To set up a *BigQuery connection with OAuth*, see https://docs.thoughtspot.com/cloud/latest/connections-gbq-oauth[Configure OAuth for a Google BigQuery connection, window=_blank].
////
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/customize-text-strings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ customizations: {
----
+

However, if the `Pin to Livebaord` string precedes the `"Liveboard": "Dashboard"` string, specify the substring as `Pin to Livebaord` as shown in this example.
However, if the `Pin to Liveboard` string precedes the `"Liveboard": "Dashboard"` string, specify the substring as `Pin to Livebaord` as shown in this example.
+
[source,JavaScript]
----
Expand Down
11 changes: 5 additions & 6 deletions modules/ROOT/pages/data-report-v2-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Send an API request to the `/api/rest/2.0/metadata/search` endpoint with the fol
----

+

If you don't know the exact name of the data source object, specify the metadata `type` as `LOGICAL_TABLE` in your API request, and then copy the GUID of the data object from the API response.

Find the GUID of the data object via UI::
Expand All @@ -53,22 +52,22 @@ If you are using the new experience, click the Application switcher image:./imag
----
https://<your-thoughtspot-instance>/#/data/tables/
----

+
. On the **Data** > **Home** page, select the data object. For example, if the data source object is a Worksheet, click **Worksheets** and then open the Worksheet.
. In the address bar of the web browser, note the GUID of the data source object. For example, in the following address string, the GUID is `9d93a6b8-ca3a-4146-a1a1-e908b71b963f`:

+
----
https://<your-thoughtspot-instance>/#/data/tables/9d93a6b8-ca3a-4146-a1a1-e908b71b963f
----

. Copy the GUID.

==== Search query

include::{path}/search-query-string.adoc[]

.**Example**
[source,JSON]
[source,cURL]
----
curl -X POST \
--url 'https://{ThoughtSpot-Host}/api/rest/2.0/searchdata' \
Expand All @@ -87,7 +86,7 @@ To get data from a Liveboard object and its visualizations via `POST /api/rest/2
The API request body must include the name or GUID of the Liveboard to fetch data. To get specific visualizations from a given Liveboard, add the names or GUIDs of the visualizations in the `visualization_identifiers` array.

.**Example**
[source,JSON]
[source,cURL]
----
curl -X POST \
--url 'https://{ThoughtSpot-Host}/api/rest/2.0/metadata/liveboard/data' \
Expand Down Expand Up @@ -169,7 +168,7 @@ To get data from a saved Answer object via `/api/rest/2.0/metadata/answer/data`,
The API request body must include the name or GUID of the saved Answer.

.**Example**
[source,JSON]
[source,cURL]
----
curl -X POST \
--url 'https://{ThoughtSpot-Host}/api/rest/2.0/metadata/answer/data' \
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/deploy-with-tml-apis.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:page-pageid: deploy-with-tml-apis
:page-description: Development and deployment following the SDLC practices can be achieved using TML and REST API

When deploying embedded analytics, each organization will have defined practices for development, testing, and deployment of content to ThoughtSpot. ThoughtSpot instances act as a constantly running service, so deployment only involves publishing *ThoughtSpot content*, in the form of link:https://cloud-docs.thoughtspot.com/admin/ts-cloud/tml.html[ThoughtSpot Modeling Language (TML), window=_blank] files to a given ThoughtSpot instance.
When deploying embedded analytics, each organization will have defined practices for development, testing, and deployment of content to ThoughtSpot. ThoughtSpot instances act as a constantly running service, so deployment only involves publishing *ThoughtSpot content*, in the form of link:https://docs.thoughtspot.com/cloud/latest/tml[ThoughtSpot Modeling Language (TML), window=_blank] files to a given ThoughtSpot instance.

ThoughtSpot has xref:version_control.adoc[Git integration] designed to automate most of the steps involved in the following process. Please see if the xref:version_control.adoc[Git integration capabilities] will work for your needs before building a process with the TML APIs directly.

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/development-and-deployment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ When deploying embedded analytics, each organization will have defined practices

ThoughtSpot instances act as a constantly running service, so xref:development-and-deployment.adoc#deploy-between-environments[deployment] only involves *ThoughtSpot data models and content*.

ThoughtSpot provides numerous tools for building a structured deployment process, built around the link:https://cloud-docs.thoughtspot.com/admin/ts-cloud/tml.html[ThoughtSpot Modeling Language (TML), window=_blank] format for representing the xref:intro-thoughtspot-objects.adoc[objects within ThoughtSpot].
ThoughtSpot provides numerous tools for building a structured deployment process, built around the link:https://docs.thoughtspot.com/cloud/latest/tml[ThoughtSpot Modeling Language (TML), window=_blank] format for representing the xref:intro-thoughtspot-objects.adoc[objects within ThoughtSpot].

== Best practices
The primary tool for structured development and deployment in ThoughtSpot is called xref:orgs.adoc[Orgs]
Expand Down
14 changes: 0 additions & 14 deletions modules/ROOT/pages/events-ref-tyepdoc.adoc

This file was deleted.

Loading
Loading