TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ti-infinite/GSMApplication/llms.txt
Use this file to discover all available pages before exploring further.
getMediaResources endpoint returns a list of multimedia resource configurations grouped by category. Each resource carries an ordering hint and a Config payload that the frontend interprets to render media items such as banners, images, or embedded content. At least one category string must be provided — an empty categories list causes an immediate validation error without hitting the data layer.
Endpoint
Authentication
All requests to this endpoint require a valid Bearer token. The token can be supplied as anAuthorization header or as the gsm_token cookie.
Bearer token obtained during login. Format:
Bearer <token>
Note: The API gateway automatically injects the X-Company-Id header from the authenticated session. Clients must never set this header directly.
Query Parameters
One or more category identifiers to filter resources by. Repeat the parameter for multiple values (e.g.
?categories=banners&categories=icons). The request fails with a validation error if this list is empty or omitted.Response
All responses are wrapped in the standardApiResponse<T> envelope:
Response Fields
Indicates whether the request was processed successfully.
Human-readable status message describing the outcome.
List of multimedia resource objects matching the requested categories.
null on failure.Present when
success is false. Common values: Validation, NotFound.Optional correlation ID for request tracing across services.
Optional extended error detail message.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 OK | Request processed. Check success in the body — a validation error (e.g. empty categories) is still returned as HTTP 200 with success: false. |
400 Bad Request | Returned when the categories array is null or empty (InvalidCategories validation error). |
401 Unauthorized | The Bearer token is missing, expired, or invalid. |
404 Not Found | No resources were found matching the supplied categories. |