Skip to content
Discussion options

You must be logged in to vote

Hey @henrituan — I can give you a few answers here. First up, a few questions:

I'm writing a custom media (audio) upload function. Since my storage is on S3, and I want to have custom API response, I opted to use a custom express route with LocalAPI instead of payload REST endpoint.

First up, what types of things are you trying to do to your custom response? You may be able to accomplish what you need with afterRead hooks on a collection but if there's something else that you'd like to modify from our built-in REST responses, which you can't do now, I'd be happy to brainstorm how to expose what you need so you can re-use built-in endpoints. But, if you do indeed want to have a custom RE…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@henrituan
Comment options

@henrituan
Comment options

@mrwebninja
Comment options

@henrituan
Comment options

Answer selected by henrituan
Comment options

You must be logged in to vote
1 reply
@henrituan
Comment options

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