GeoServer Fonts

A font is a set of characters that can be used in a style for displaying labels.
More information: http://geoserver.org/comm/
Contact Info: geoserver-users@sourceforge.net
Version: 1.0.0
BasePath:/geoserver/rest
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

Fonts

Fonts

Up
delete /fonts
(deleteFonts)
Invalid. Fonts cannot be deleted through the REST API.

Responses

401

Unauthorized

405

Method Not Allowed

Up
get /fonts
Get a list of fonts (getFonts)
Displays a list of all fonts on the server. You must use the "Accept:" header to specify format or append an extension to the endpoint (example "/fonts.xml" for XML)

Return type

FontList

Example data

Content-Type: application/json
"{\"fonts\":[\"Calibri Light Italic\",\"Microsoft PhagsPa Bold\",\"Lucida Sans Typewriter Oblique\",\"ChaparralPro-Regular\",\"Californian FB Italic\"]}\n"

Example data

Content-Type: application/xml
"\n  \n    Calibri Light Italic\n    Microsoft PhagsPa Bold\n    Lucida Sans Typewriter Oblique\n    ChaparralPro-Regular\n    Californian FB Italic\n  \n\n"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK FontList

Example data

Content-Type: application/json
{"fonts":["Calibri Light Italic","Microsoft PhagsPa Bold","Lucida Sans Typewriter Oblique","ChaparralPro-Regular","Californian FB Italic"]}

Example data

Content-Type: application/xml

  
    Calibri Light Italic
    Microsoft PhagsPa Bold
    Lucida Sans Typewriter Oblique
    ChaparralPro-Regular
    Californian FB Italic
  

401

Unauthorized

Up
post /fonts
(postFonts)
Invalid. Fonts cannot be added through the REST API.

Responses

401

Unauthorized

405

Method Not Allowed

Up
put /fonts
(putFonts)
Invalid. Fonts cannot be updated through the REST API.

Responses

401

Unauthorized

405

Method Not Allowed

Models

[ Jump to Methods ]

Table of Contents

  1. FontList -
  2. FontListItem -

FontList - Up

FontListItem - Up

entry (optional)
String Name of font