Triggers
List trigger presets
Changed onList the trigger presets available to the caller. A preset is a curated content-trigger template (e.g. a new Jira ticket) which is passed when creating a trigger.
get/api/trigger-presets
Request
- Base URL: https://instance-name-be.glean.com
- URL: https://instance-name-be.glean.com/api/trigger-presets
- Auth: HTTP bearer
Query parameters
datasourcestring
Restrict results to presets for a single datasource (e.g. github).
page_sizeinteger
Maximum number of presets to return.
cursorstring
Opaque pagination cursor from a previous response.
Response
Successful response.
Example response
{
"results": [
{
"preset_id": "GITHUB_1",
"datasource": "github",
"display_name": "Review requested from me",
"description": "A review is requested from the trigger creator on a pull request"
}
]
}Changes
- breaking
removed the required property
//from the response with the status
- breaking
- info
endpoint added
- info