Skip to content
Paul Dilyard edited this page Oct 1, 2015 · 1 revision

Fetch an icon from a given query

Possible query parameters

  • color: black, white, red (default: black)
  • format: svg, png (default: png)
  • size: 16, 24, 32, 48, 64, 128, 256, 512 (default: 48)
  • name: any of the FA icon names (look here) (default: file)

Example:

GET /resources/icon?color=red&format=png&size=128&name=calendar

HTTP/1.1 200 OK
// An icon of the requested type
Clone this wiki locally