Api::V1::LinksController API

Deeplinks

Get redirection with 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/devenir-ambassadeur/redirect?token=foobar74

Query Parameters

token: foobar74

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://ambassadeurs.entourage.social
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: ba75ba30-8ea2-4942-8217-041ebf3d433d
X-Runtime: 0.006615
Content-Length: 103

Status

302 Found

Body

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