Parameters for all requests

Refer to the Documentation page for each specific request and the supported Parameters

Designs

Description

Designs are generated by using the "Designs" option. The designs option is added after the action. The server-side path to the design is specified after "Designs". Design parameters are added after a ? character which is appended to Designs.

Format

/api/Designs/[action]?path=[path]&[parameters]

For example: /api/Designs/Render?Path=MySubdirectory/MyDesign.PXF&ImageWidth=400

Parameters

Designs can be transformed. See transformation parameters.

Example

The following loads the server-side design "Emoji.PXF", adjusts the palette such that needle 0 is red and needle 2 is blue. Then it colourizes the design such that the first stop is needle 1 (blue) and the second stop is needle 0 (red).

api/Designs/Render?Path=Emoji.PXF?Palette[0]=ff0000&Palette[1]=0000ff&Needles[0]=1&Needles[1]=0