internal api test

Palette Deep Link API Test Page调色板 Deeplink API 测试页

Use the buttons below to verify universal links, custom scheme links, remote .rpl/.gpl imports, and failure cases.

open route

Universal / App Links

Open Link / pastel-cafe

第一方 universal/app link,测试常规 palette 参数唤起。

https://pixelartpalettes.com/open?palette=pastel-cafe

Open Link / www host

使用 www host,验证 iOS/Android 对第二 host 的配置是否生效。

https://www.pixelartpalettes.com/open?palette=system-mini-test

import-palette

Scheme Links

Scheme / palette id

直接使用 palette id 走导入链路,并附带第一方 origin。

resprite://import-palette?palette=system-mini-test&origin=https%3A%2F%2Fpixelartpalettes.com

Scheme / src .rpl

通过 src 直接导入远程 RPL 文件。

resprite://import-palette?src=https%3A%2F%2Fpixelartpalettes.com%2Fdownload%2Fpastel-cafe%2Fpastel-cafe.rpl

Scheme / src .gpl

通过 src 直接导入远程 GPL 文件。

resprite://import-palette?src=https%3A%2F%2Fpixelartpalettes.com%2Fdownload%2Fsystem-mini-test%2Fsystem-mini-test.gpl

negative tests

Failure Cases

Scheme / missing params

缺失 palette 与 src,验证错误提示。

resprite://import-palette

Scheme / invalid src

src 使用非 HTTPS,验证安全拦截。

resprite://import-palette?src=http%3A%2F%2Fpalettes.example.com%2Funsafe.gpl

Scheme / invalid origin

origin 使用非 HTTPS,验证 origin 参数校验。

resprite://import-palette?palette=system-mini-test&origin=http%3A%2F%2Fpixelartpalettes.com

Scheme / invalid payload path

指向不存在的 palette 文件,验证下载失败提示。

resprite://import-palette?src=https%3A%2F%2Fpixelartpalettes.com%2Fdownload%2Fnot-found%2Fnot-found.gpl

This page is intentionally low-profile and linked only from the resources section in the footer.

Need a real palette detail page too? Open /p/pastel-cafe.