Skip to content

add support for function/asset upload #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 16, 2025
Merged

add support for function/asset upload #31

merged 5 commits into from
May 16, 2025

Conversation

ktalebian
Copy link
Contributor

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

export const uploadAssetAPI: API = {
method: 'POST',
contentType: 'multipart/form-data',
path: 'fake',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will there be conflicting asset names here if it makes more than one in a session for the same service?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a stub because we need an apis inside the server during the lookup (they are used for making the HTTP call) but for upload, we have hand-written upload method so the apis is unused. But I still have to define this stub other we get a Tool not found

@ktalebian ktalebian merged commit 1699d20 into main May 16, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants