> For the complete documentation index, see [llms.txt](https://documentation.atempo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/web-restore/models.md). Agents can also search and read this documentation through its [MCP server](https://documentation.atempo.com/~gitbook/mcp).

# Models

## The Status object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"Status":{"type":"integer","format":"int32","enum":[0,2,3,4,5,6,102,104,199,200,999],"description":"Status code:\n* 0 - HN_WEB_OK (OK)\n* 2 - HN_WEB_ERR_PARAM (Bad parameter)\n* 3 - HN_WEB_ERR_BADCOMMAND (Bad command)\n* 4 - HN_WEB_ERR_NOTACTIV (Web restore not active)\n* 5 - HN_WEB_ERR_NOSESS (No session)\n* 6 - HN_WEB_ERR_LOCKED (Restore context locked)\n* 102 - HN_WEB_ERR_XML (Bad XML format)\n* 104 - HN_WEB_ERR_BUFFER (Buffer too small)\n* 199 - HN_WEB_ERR_INT (Internal error)\n* 200 - HN_WEB_ERR_AUTH (Authentification issue)\n* 999 - HN_WEB_ERR (Generic error)\n","default":0}}}}
```

## The StatusMsg object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"StatusMsg":{"type":"string","description":"Status message","enum":["HN_WEB_OK","HN_WEB_ERR_PARAM","HN_WEB_ERR_BADCOMMAND","HN_WEB_ERR_NOTACTIV","HN_WEB_ERR_NOSESS","HN_WEB_ERR_LOCKED","HN_WEB_ERR_XML","HN_WEB_ERR_BUFFER","HN_WEB_ERR_INT","HN_WEB_ERR_AUTH","HN_WEB_ERR"],"default":"HN_WEB_OK"}}}}
```

## The WebID object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"WebID":{"type":"string","description":"Web restore context UUID ('WR' + hexa)"}}}}
```

## The Path object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"Path":{"type":"string","description":"Path"}}}}
```

## The PIT object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"PIT":{"type":"integer","format":"int64","description":"Milliseconds since January 1st, 1970, GMT time zone / 0 for current time","default":0}}}}
```

## The FileType object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"FileType":{"type":"integer","format":"int32","enum":[1,2,3,10,21,22,23,24,25],"description":"File type:\n* 1 - HN_FILETYPE_REG (regular file)\n* 2 - HN_FILETYPE_DIR  (directory)\n* 3 - HN_FILETYPE_SYMLINK (symbolic link / reparse point)\n* 10 - HN_FILETYPE_EFS (Windows Encrypted FileSystem)\n* 21 - HN_FILETYPE_FIFO (UNIX named pipe)\n* 22 - HN_FILETYPE_SOCK (UNIX socket)\n* 23 - HN_FILETYPE_BSPE (UNIX block device)\n* 24 - HN_FILETYPE_CSPE (UNIX character device)\n* 25 - HN_FILETYPE_DOOR (UNIX door)\n","default":1}}}}
```

## The MoreResults object

```json
{"openapi":"3.0.1","info":{"title":"Lina Web Restore API","version":"7.3.0"},"components":{"schemas":{"MoreResults":{"type":"boolean","default":false,"description":"If true, the results provided are incomplete (due to the API limitations)"}}}}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.atempo.com/lina-7.4/lina-7.4-en/release-information/rest-api-reference/web-restore/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
