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.
GET
/api/files/logo-redirectSDK 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
liveTest 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
| Name | Type | Required | Description |
|---|---|---|---|
key | string | Yes | — |
Responses
302Redirect to a short-lived signed download URL
400Key does not match the expected logo key shape
Errors
| Code | Meaning |
|---|---|
400 | Key does not match the expected logo key shape |