Skip to content

Get preset glide transforms from the content API with REST #5756

Discussion options

You must be logged in to vote

You can customize the resources.
https://statamic.dev/rest-api#customizing-resources

In one of these resource classes, you could have it output a Glide URL.

The GraphQL docs has an example of doing that. You could take the code and put it into the REST API Resource class.
https://statamic.dev/graphql#custom-fields

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ewhicher
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jasonvarga
Comment options

@ewhicher
Comment options

@TheRealMaN
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants