> For the complete documentation index, see [llms.txt](https://onestore-dev.gitbook.io/dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onestore-dev.gitbook.io/dev/chi/tools/webshop/app-links.md).

# 用户信息联动

当游戏内跳转至 ONE webshop 的 URL 中包含用户的游戏 ID（uid）和服务器 ID（sid）时，用户进入 ONE webshop 时会自动应用这些信息，无需额外输入即可完成购买。

### URL 结构

* **Base URL :** `https://webshop.onestore.net/title/{PID}`
* **Query Params**: `uid`, `sid` (Optional)

<table><thead><tr><th width="156.9453125">Name</th><th width="137.0130615234375">Type</th><th width="138.6536865234375">Mandatory</th><th>Description</th></tr></thead><tbody><tr><td><code>uid</code></td><td>String</td><td>Optional</td><td>用户游戏 ID（最多 100 字节）</td></tr><tr><td><code>sid</code></td><td>String</td><td>Optional</td><td>用户服务器 ID（最多 100 字节）</td></tr></tbody></table>

### Sample URL

```
https://webshop.onestore.net/title/WS00000000?uid=user1234&sid=asia01

//WS00000000 → Title ID(PID)
//uid=user1234 → Game ID
//sid=asia01 → Server ID
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://onestore-dev.gitbook.io/dev/chi/tools/webshop/app-links.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
