Files

Redirect to an org/project logo's content

Unauthenticated. Logos are always meant to be public branding assets, but Cloudflare R2 has no per-object ACL, so this route (not the bucket) is what actually serves them - the `key` query param is validated against the exact shape logoStorageService.uploadLogo() produces before signing, so this can never be used to fetch an arbitrary storage key. 302-redirects to a short-lived signed GET url.

AuthPublic
GroupFiles
Rate limitSee Rate Limits
GET/api/files/logo-redirect

SDK setup

Create a client instance. No authentication is required for this endpoint.

import { Configuration, FilesApi } from 'mudbase-sdk';

const configuration = new Configuration({
  basePath: 'https://cloud.mudbase.dev',
});

const files = new FilesApi(configuration);
import { Configuration, FilesApi } from 'mudbase-sdk';

const configuration = new Configuration({
  basePath: 'https://cloud.mudbase.dev',
});

const files = new FilesApi(configuration);

Example request

Call this endpoint using the client from SDK setup. Use View HTTP for a raw cURL example.

const { data: result } = await files.request();
const { data: result } = await files.request();

Playground

live

Test this endpoint with your own credentials. Your requests will be sent to the live API.

No Request Yet

Send a request to see the full inspector

Authentication

Public — No Auth Required

Query Parameters

NameTypeRequiredDescription
keystringYes

Responses

302Redirect to a short-lived signed download URL
400Key does not match the expected logo key shape

Errors

CodeMeaning
400Key does not match the expected logo key shape
Edit this page on GitHub