Functions

Returns the trigger visible on the branch. The supported trigger types are schedule and storage_object_created.

Note: This endpoint is currently in Beta.

get/projects/{project_id}/branches/{branch_id}/triggers/{trigger_id}

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/branches/{branch_id}/triggers/{trigger_id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Response

The trigger

Example response

{
  "trigger": {
    "schedule": {
      "cron": "0 9 * * 1-5"
    }
  }
}

Changes

    • ▲

      added to the response property oneOf list for the response status

    • ▲

      removed the required property ///// from the response with the status

    • ○

      added storage_object_created discriminator mapping keys to the response property for the response status

    • ○

      endpoint added