Get redirect
Get a redirect in your site
GET api/servers/{server}/sites/{site}/redirects/{redirect}
Example request:
curl -X GET "https://ploi.io/api/servers/{server}/sites/{site}/redirects/{redirect}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"id": 1,
"status": "active",
"redirect_from": "/",
"redirect_to": "/home",
"type": "permanent"
}
}