Skip to content
Open

v13 #19

Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
]
},
{
text: ' <div style="display: flex; align-items: center;"><img width="90" alt="Lightspell logo" src="https://user-images.githubusercontent.com/55763425/251588168-4855abc3-445a-4207-9a65-e891975be62c.png"><span>XCM API</span></div>',
text: ' <div style="display: flex; align-items: center;"><img width="90" alt="Lightspell logo" src="https://user-images.githubusercontent.com/55763425/251588903-bcf72b05-bdf7-46d8-b804-16b0e3236792.png"><span>XCM API</span></div>',
items: [
{ text: 'Getting started', link: '/api/g-started' },
{ text: 'XCM SDK🪄', link: '/api/xcmP' },
Expand Down Expand Up @@ -77,6 +77,7 @@ export default {
items: [
{ text: 'From v10 to v11', link: '/migration/v10-to-v11' },
{ text: 'From v11 to v12', link: '/migration/v11-to-v12' },
{ text: 'From v12 to v13', link: '/migration/v12-to-v13' },
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion docs/api/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Recently, LightSpell introduced the Sentry error tracking service implementation
Open your REST API client, client we use is [Insomnia](https://insomnia.rest/).

Paste in the following details and input the following link to test out Sentry:
`http://localhost:3001/v5/sentry-test`
`http://localhost:3001/v1/sentry-test`

LightSpell has integrated this test for you so you can test out error 500 in localhost mode.
Once you paste the link into the browser, Sentry should notify you about a new error 500. It should look like this in your project:
Expand Down
9 changes: 2 additions & 7 deletions docs/api/g-started.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
<h1 align="center">
Getting started with
</h1>

<p align="center">
<img width="400" alt="LightSpell logo" src="https://user-images.githubusercontent.com/55763425/251588168-4855abc3-445a-4207-9a65-e891975be62c.png">
</p>
Getting started with ParaSpell✨ XCM API </h1>

<h4 align="center">
This section guides you on how to use our XCM API.

Deployed on [https://api.lightspell.xyz/v5](https://api.lightspell.xyz/v5)
Deployed on [https://api.paraspell.xyz/v1](https://api.lightspell.xyz/v1)

[[Github repository]](https://github.com/paraspell/xcm-tools/tree/main/apps/xcm-api)

Expand Down
6 changes: 3 additions & 3 deletions docs/api/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Before you proceed with verification note the following:

You can claim your token on the following site (API has to be running):

`http://localhost:3001/v5/app/generate-api-key`
`http://localhost:3001/v1/app/generate-api-key`

The limit for this level is:
`100 requests per minute`
Expand All @@ -44,7 +44,7 @@ Before you proceed with the request note the following:

Request for higher limit can be done in the following form (API and Database have to be running. Both need to be correctly configured):

`http://localhost:3001/v5/app/higher-request-limit`
`http://localhost:3001/v1/app/higher-request-limit`

The limit for this level is:
`Per request`
Expand Down Expand Up @@ -78,7 +78,7 @@ Make sure to name the key as `X-API-KEY` otherwise your key won't be recognized.
The following snippet can be observed. See the `Headers` section where the API key is inserted.
```ts
const response = await fetch(
'http://localhost:3001/v5/x-transfer?' +
'http://localhost:3001/v1/x-transfer?' +
new URLSearchParams({
//Method parameters should be here
//For eg. from: 'Basilisk'
Expand Down
8 changes: 4 additions & 4 deletions docs/api/xcmAnalyser.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Following section covers implementation of XCM Analyser in LightSpell XCM API. Users can analyse either independent locations or entire XCM Calls.

## Analyse Location
**Endpoint**: `POST /v5/xcm-analyser`
**Endpoint**: `POST /v1/xcm-analyser`

::: details Parameters

Expand All @@ -20,7 +20,7 @@ Following section covers implementation of XCM Analyser in LightSpell XCM API. U
:::

```ts
const response = await fetch("http://localhost:3001/v5/xcm-analyser", {
const response = await fetch("http://localhost:3001/v1/xcm-analyser", {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand All @@ -31,7 +31,7 @@ const response = await fetch("http://localhost:3001/v5/xcm-analyser", {
});
```
## Analyse XCM call
**Endpoint**: `POST /v5/xcm-analyser`
**Endpoint**: `POST /v1/xcm-analyser`

::: details Parameters

Expand All @@ -48,7 +48,7 @@ const response = await fetch("http://localhost:3001/v5/xcm-analyser", {
:::

```ts
const response = await fetch("http://localhost:3001/v5/xcm-analyser", {
const response = await fetch("http://localhost:3001/v1/xcm-analyser", {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down
Loading