Skip to content
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

Custom integration uploading files to HubSpot account using the CMS Files API #94

Open
evolvencemsm opened this issue Oct 13, 2020 · 0 comments

Comments

@evolvencemsm
Copy link

Hello,

We received the below email from Hubspot regarding changes on custom file uploading, we have already integrated file upload using this framework, please let me know if this change affects the file upload ?

Thanks.

-- Hubspot email --
We're reaching out today due to a custom integration uploading files to your HubSpot account using the CMS Files API.     We're releasing a new version of the endpoint used to upload files. This version requires you to explicitly set the access setting of the files being uploaded. The current endpoint defaults to files being uploaded as public. This means that they can be accessed by anyone who has or guesses the file URL. This also means that the files could be indexed by search engines if the file was linked on a page, or manually added to your sitemap.xml   With the release of this new endpoint, we're requiring integrations to switch to this new endpoint by January 15, 2021. The new endpoint is similar to the current one, with the exception of requiring an additional JSON field to set the file's access setting. Any requests without this new field will return an error.   When upgrading to the new endpoint, we strongly recommend reviewing how files uploaded by your integration are used. If these files are not intended to be viewed by the public, we recommend uploading the files as private.   If you need to manually update the access settings for your files, you can change the access and visibility of your files using Files tool. See these instructions for more details.   We've also released a new endpoint that will let you update the access settings for your files through the API. Files can be updated individually or by their containing folder. See the API documentation for more details.   Please note that these file uploads were from a custom integration using your API key, and would not be one of the apps listed in your connected apps from your account settings.   Please see the documentation for the new endpoint and the changelog announcement for more details, and please let us know if you have any questions.

new version of the endpoint used to upload files.
https://legacydocs.hubspot.com/docs/methods/files/v3/upload_new_file?utm_campaign=DevRel%20Technical%20Announcements%20&utm_medium=email&utm_content=96882746&utm_source=hs_email

See these instructions
https://knowledge.hubspot.com/cos-general/organize-edit-and-delete-files?utm_campaign=DevRel%20Technical%20Announcements%20&utm_medium=email&utm_content=96882746&utm_source=hs_email#file-visibility

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

No branches or pull requests

1 participant