Api::V1::AnnouncementsController API

Announcements

Get announcement redirection

GET /api/v1/announcements/:id/redirect/:token

Parameters

Name Description
id id
token User token

Request

Headers

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

Route

GET /api/v1/announcements/1/redirect/foobar4

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.google.fr/?utm_source=app&utm_medium=announcement-card
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 1eed5716-1dcf-45a7-a0fc-a6a87859c3fb
X-Runtime: 0.006737
Content-Length: 136

Status

302 Found

Body

<html><body>You are being <a href="https://www.google.fr/?utm_source=app&amp;utm_medium=announcement-card">redirected</a>.</body></html>