-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
https://github.com/netlify/addons#payload-from-netlify-1 this example payload from Netlify is the following:
{
// Unique ID generated by Netlify
uuid: '2e65dd70-523d-48d8-8826-a93229d7ec01',
account: '5902622bcf321c7359e97e52',
config: {
site_url: 'https://calling-site-from-netlify.netlify.com',
jwt: {
secret: 'xyz-netlify-secret'
},
// User defined configuration values
config: {
name: 'woooooo'
},
// Netlify Site id
site_id: '2e65dd70-523d-48d8-8826-a93229d7ec01',
// Your service ID slug
service_id: 'express-example',
service_instance: {
config: { name: 'woooooo' }
},
// If your add-on needs to trigger site rebuilds we will send a build hook
incoming_hook_url: 'https://api.netlify.com/build_hooks/123xyz'
}
}
this is unclear what is actually coming and what is just an example. in fact, by default, we don't pass most of them.
also, it's worth to mention that uuid is actually site_id of the netlify, that'd be a useful information for some providers.
cc/ @rybit
Metadata
Metadata
Assignees
Labels
No labels