Api::V1::LinksController API

Deeplinks

Get redirection without required token

GET /api/v1/links/:id/redirect

Parameters

Name Description
id see app/controller/api/v1/links_controller for full list
token Required except for some parameter id. See same file

Request

Headers

Content-Type: application/json
Host: example.org
Cookie: 

Route

GET /api/v1/links/terms/redirect

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,POST,PUT,PATCH,DELETE
Access-Control-Allow-Headers: Origin,Accept,Content-Type,X-Requested-With,X-CSRF-Token,X-API-KEY
Location: https://www.entourage.social/cgu/
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 09b4aad5-0fd9-4fd2-b8e6-2daba0d0a1dd
X-Runtime: 0.004039
Content-Length: 99

Status

302 Found

Body

<html><body>You are being <a href="https://www.entourage.social/cgu/">redirected</a>.</body></html>