Api::V1::AnnouncementsController API

Announcements

Get announcement icon

GET /api/v1/announcements/:id/icon

Parameters

Name Description
id id
token User token

Request

Headers

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

Route

GET /api/v1/announcements/1/icon?token=foobar3

Query Parameters

token: foobar3

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: http://example.org/assets/announcements/icons/icon.png.png
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 510f8e0b-aecb-4ad4-99ef-d37608807009
X-Runtime: 0.007357
Content-Length: 124

Status

302 Found

Body

<html><body>You are being <a href="http://example.org/assets/announcements/icons/icon.png.png">redirected</a>.</body></html>