You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/endpoints/aliases.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,10 @@ Response:
70
70
:language: http
71
71
```
72
72
73
-
## Adding URL aliases in bulk
73
+
## Adding URL aliases in bulk via JSON
74
74
75
-
You can add multiple URL aliases for multiple pages by sending a `POST` request to the `/@aliases` endpoint on site `root`. **datetime** parameter is optional:
75
+
You can add multiple URL aliases for multiple pages by sending a `POST` request to the `/@aliases` endpoint on site `root` using a JSON payload.
76
+
**datetime** parameter is optional:
76
77
77
78
```{eval-rst}
78
79
.. http:example:: curl httpie python-requests
@@ -85,10 +86,26 @@ Response:
85
86
:language: http
86
87
```
87
88
89
+
## Adding URL aliases in bulk via CSV
88
90
89
-
## Listing all available aliases
91
+
You can add multiple URL aliases for multiple pages by sending a `POST` request to the `/@aliases` endpoint on site `root` using a CSV file.
92
+
**datetime** parameter is optional:
90
93
91
-
To list all aliases, send a `GET` request to the `/@aliases` endpoint on site `root`:
0 commit comments