hook
. With the hook
in place, the DCD will work fully automatically:Supernova Cloud > Code Integration > Hooks
. To create a new hook, simply click on + NEW
button to show the configuration dialog.notify
, which is optional (but highly recommended):name
represents human-readable name of the hook so you know what is whatdesign system
represents a single design system that will be watchedevent
represents the event upon which this hook will be calledexporter
represents exporter which will run when the event happensnotify
(optional) represents API URL which should be called when hook finishesconfirm
. If you want to disable the hook, you must delete it using the appropriate option in the hook detail. Lastly, the hook can be updated at any moment just by reconfiguring their properties. Please note that any modification to the hook will be immediately applied and used on the next run. notify
should be left empty. This will create a build for each run and will keep it securely stored on our servers until you want to access the code.notify
URL which will point to your API that will manage the incoming data. notify
set, every time the exporter runs (either successfully or with potential error), we will invoke your API and send the following JSON payload through POST
:id
uniquely identifies the job / exporter run inside your workspacestatus
results either to Success
or Failure
logs
give you full log of exporter run, using Pulsar logging engineurls
will be provided as well. At this point, there will always be just one link, but we are reserving this option for more flexibility down the road..zip
file that can only be accessed with the URL provided in the payload, containing the structured output of the exporter.