Layers
Layers are the building blocks of any template, when you work on a template and add text, that's a layer, when you add a background or an image, those are layers. In the API they cannot be obtained directly, but exist inside the template object. Every template that is obtained from the API will always carry its own layers.
The layer model
Properties
- Name
layer
- Type
- string
- Description
The key of the layer. This is the field you'll need to pass when creating a Snap
- Name
available_modifications
- Type
- object
- Description
An object with all the available modifications (duh) for the given layer with their default value.
Layer model
{
"layer": "review_poster",
"available_modifications": {
"image_url": "https://snapsbrew.com/crazy-doc-brown-jailed"
},
}