Skip to content

Commit a46863d

Browse files
Update submission-url.md to Refer to API Documentation
1 parent e8f76eb commit a46863d

File tree

1 file changed

+5
-40
lines changed

1 file changed

+5
-40
lines changed

docs/error-reporting/project-setup/submission-url.md

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,12 @@ Tokens are granted specific capabilities that restrict their usage to designated
2424
2. Provide a descriptive name, such as `Symbol Token`.
2525
3. Choose one or more capabilities and then click **Create**.
2626

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-
<TabItem value="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
4828

49-
**Example**
29+
A breakdown of each capability can be found in our Error Reporting [API documentation](/dev/api/error-reporting/#api-tokens)
5030

51-
To submit `sourcemaps` for the subdomain `example` using token `bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7`, the URL would be `https://submit.backtrace.io/example/bebbbc8b2bdfac76ad803b03561b25a44039e892ffd3e0beeb71770d08e2c8a7/sourcemap`.
31+
:::
5232

53-
</TabItem>
54-
55-
<TabItem value="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
6834

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

Comments
 (0)