You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/error-reporting/project-setup/submission-url.md
+5-40Lines changed: 5 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,47 +24,12 @@ Tokens are granted specific capabilities that restrict their usage to designated
24
24
2. Provide a descriptive name, such as `Symbol Token`.
25
25
3. Choose one or more capabilities and then click **Create**.
26
26
27
-
## Creating Submission URLs
28
-
29
-
The structure of a submission URL differs between hosted environments and on-premise installations.
30
-
31
-
<Tabs
32
-
groupId="instance-type"
33
-
defaultValue="hosted"
34
-
values={[
35
-
{label: 'Hosted Instance', value: 'hosted'},
36
-
{label: 'On-premise Instance', value: 'onprem'},
37
-
]}>
38
-
39
-
<TabItemvalue="hosted">
40
-
41
-
In a hosted environment, submission URLs follow this format: `https://submit.backtrace.io/<subdomain>/<token>/<endpoint>`.
42
-
43
-
<table>
44
-
<tr><th>subdomain</th><td>If your instance address is `https://example.sp.backtrace.io`, your subdomain will be `example`.</td></tr>
45
-
<tr><th>token</th><td>The API token generated earlier.</td></tr>
46
-
<tr><th>endpoint</th><td>The endpoint corresponds to a specific operation.</td></tr>
47
-
</table>
27
+
:::note
48
28
49
-
**Example**
29
+
A breakdown of each capability can be found in our Error Reporting [API documentation](/dev/api/error-reporting/#api-tokens)
50
30
51
-
To submit `sourcemaps` for the subdomain `example` using token `bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7`, the URL would be `https://submit.backtrace.io/example/bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7/sourcemap`.
31
+
:::
52
32
53
-
</TabItem>
54
-
55
-
<TabItemvalue="onprem">
56
-
57
-
In an on-premise environment, submission URLs are structured as follows: `<your address>:6098//post?format=<endpoint>&token=<token>`.
58
-
59
-
<table>
60
-
<tr><th>your address</th><td>The URL to your Backtrace services.</td></tr>
61
-
<tr><th>token</th><td>The previously generated API token.</td></tr>
62
-
<tr><th>endpoint</th><td>The endpoint corresponds to a specific operation.</td></tr>
63
-
</table>
64
-
65
-
**Example**
66
-
67
-
To submit `sourcemaps` to the address `https://backtrace.example.com` using token `bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7`, the URL would be `https://backtrace.example.com:6098//post?format=sourcemap&token=bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7`.
33
+
## Creating Submission URLs
68
34
69
-
</TabItem>
70
-
</Tabs>
35
+
Examples of the Submission URLs can be found in our Error Reporting [API documentation](/dev/api/error-reporting/#api-tokens)
0 commit comments