Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Faakhir30 committed Sep 17, 2024
1 parent c11b05a commit bc394fc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/source/endpoints/aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ Response:

## Adding URL aliases in bulk via JSON

You can add multiple URL aliases for multiple pages by sending a `POST` request to the `/@aliases` endpoint on site `root` using JSON payload. **datetime** parameter is optional:
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.
**datetime** parameter is optional:

```{eval-rst}
.. http:example:: curl httpie python-requests
Expand All @@ -87,7 +88,8 @@ Response:

## Adding URL aliases in bulk via CSV

You can add multiple URL aliases for multiple pages by sending a `POST` request to the `/@aliases` endpoint on site `root` using CSV file. **datetime** parameter is optional:
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.
**datetime** parameter is optional:

```{eval-rst}
.. http:example:: curl httpie python-requests
Expand Down Expand Up @@ -118,7 +120,7 @@ Response:

## Listing all available aliases via CSV

To download all aliases as a csv file, send a `GET` request to the `/@aliases` endpoint on site `root`:
To download all aliases as a CSV file, send a `GET` request to the `/@aliases` endpoint on site `root`:

```{eval-rst}
.. http:example:: curl httpie python-requests
Expand Down

0 comments on commit bc394fc

Please sign in to comment.