Replace join.lemmy.ml with join-lemmy.org

This commit is contained in:
Felix Ableitner 2021-06-17 16:36:38 +02:00
parent 04aded9931
commit 267d3ed769
12 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
# API reference
Lemmy has two, intertwined APIs:
- [WebSocket](https://join.lemmy.ml/api/index.html)
- [WebSocket](https://join-lemmy.org/api/index.html)
- [HTTP](http_api.md)
This page describes concepts that are common to both.

View file

@ -2,5 +2,5 @@
- [Theming Guide](client_development/theming.md)
- [API reference](client_development/api_reference.md)
- [WebSocket API](https://join.lemmy.ml/api/index.html)
- [WebSocket API](https://join-lemmy.org/api/index.html)
- [HTTP API](client_development/http_api.md)

View file

@ -20,14 +20,14 @@
## WebSocket vs HTTP API
Lemmy's HTTP API is almost identical to its WebSocket API:
- **WebSocket API** needs `let send = { op: userOperation[op], data: form}` as shown in [the WebSocketAPI specification](https://join.lemmy.ml/api/index.html)
- **WebSocket API** needs `let send = { op: userOperation[op], data: form}` as shown in [the WebSocketAPI specification](https://join-lemmy.org/api/index.html)
- **HTTP API** needs the form (data) at the top level, an HTTP operation (GET, PUT or POST) and endpoint (at `http(s)://host/api/v2/endpoint`). For example:
> `POST {username_or_email: X, password: X}`
For more information, see the [http.ts](https://github.com/LemmyNet/lemmy-js-client/blob/main/src/http.ts) file.
[The WebSocket API](https://join.lemmy.ml/api/index.html) should be regarded as the primary source for the HTTP API since it also provides information about how to form HTTP API calls.
[The WebSocket API](https://join-lemmy.org/api/index.html) should be regarded as the primary source for the HTTP API since it also provides information about how to form HTTP API calls.
## Examples

View file

@ -1 +1 @@
# [WebSocket API](https://join.lemmy.ml/api/index.html)
# [WebSocket API](https://join-lemmy.org/api/index.html)

View file

@ -1,7 +1,7 @@
# API reference
Lemmy has two, intertwined APIs:
- [WebSocket](https://join.lemmy.ml/api/index.html)
- [WebSocket](https://join-lemmy.org/api/index.html)
- [HTTP](http_api.md)
This page describes concepts that are common to both.

View file

@ -2,5 +2,5 @@
- [Theming Guide](client_development/theming.md)
- [API reference](client_development/api_reference.md)
- [WebSocket API](https://join.lemmy.ml/api/index.html)
- [WebSocket API](https://join-lemmy.org/api/index.html)
- [HTTP API](client_development/http_api.md)

View file

@ -20,14 +20,14 @@
## WebSocket vs HTTP API
Lemmy's HTTP API is almost identical to its WebSocket API:
- **WebSocket API** needs `let send = { op: userOperation[op], data: form}` as shown in [the WebSocketAPI specification](https://join.lemmy.ml/api/index.html)
- **WebSocket API** needs `let send = { op: userOperation[op], data: form}` as shown in [the WebSocketAPI specification](https://join-lemmy.org/api/index.html)
- **HTTP API** needs the form (data) at the top level, an HTTP operation (GET, PUT or POST) and endpoint (at `http(s)://host/api/v2/endpoint`). For example:
> `POST {username_or_email: X, password: X}`
For more information, see the [http.ts](https://github.com/LemmyNet/lemmy-js-client/blob/main/src/http.ts) file.
[The WebSocket API](https://join.lemmy.ml/api/index.html) should be regarded as the primary source for the HTTP API since it also provides information about how to form HTTP API calls.
[The WebSocket API](https://join-lemmy.org/api/index.html) should be regarded as the primary source for the HTTP API since it also provides information about how to form HTTP API calls.
## Examples

View file

@ -1 +1 @@
# [WebSocket API](https://join.lemmy.ml/api/index.html)
# [WebSocket API](https://join-lemmy.org/api/index.html)

View file

@ -1 +1 @@
# [WebSocket API](https://join.lemmy.ml/api/index.html)
# [WebSocket API](https://join-lemmy.org/api/index.html)

View file

@ -1,7 +1,7 @@
# Справочник по API
Lemmy имеет два взаимосвязанных API:
- [WebSocket (анг.язык)](https://join.lemmy.ml/api/index.html)
- [WebSocket (анг.язык)](https://join-lemmy.org/api/index.html)
- [HTTP (анг.язык)](http_api.md)
На этой странице описаны общие для них концепции.

View file

@ -2,5 +2,5 @@
- [Тематическое руководство ](client_development/theming.md)
- [Справочник по API](client_development/api_reference.md)
- [WebSocket API](https://join.lemmy.ml/api/index.html)
- [WebSocket API](https://join-lemmy.org/api/index.html)
- [HTTP API](client_development/http_api.md)

View file

@ -1 +1 @@
# [WebSocket API](https://join.lemmy.ml/api/index.html)
# [WebSocket API](https://join-lemmy.org/api/index.html)