The Resource API allows you to get resources from Apple's Asset Catalogs.

Resources that are more or less shared between SocialUI.framework (macOS <= Catalina) and ChatKit.framework (iOS, macOS >= Big Sur) are available through a unified endpoint that will map a shared ID to the specific resource from both frameworks. You can also implement SocialUI/ChatKit support yourself and directly pull resources from the catalogs.

Resource Mode

GET /resources/mode

Returns the style of resources being returned

Response


GET /resources/catalog

Returns all resources available on this platform

Response


GET /resources/raw/:resourceID

Gets a platform-specific resource using a resource ID listed in /catalog

Response

Responds with the resource, or 404 if it does not exist.


GET /resources/:resourceID

Gets a unified resource by its unified resource ID

Unified Resource IDs

Query Parameters