Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
Updating placeholder {{ $apiVersion }} on Webhook entries
  • Loading branch information
rmeloamaro authored Jan 31, 2025
1 parent 0501df1 commit d796eaf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6354,7 +6354,7 @@ Since: v49

**Request**

GET /api/V/project/[PROJECT]/webhooks
GET /api/{{ $apiVersion }}/project/[PROJECT]/webhooks

**Response**

Expand Down Expand Up @@ -6396,7 +6396,7 @@ Since: v49

**Request**

GET /api/V/project/[PROJECT]/webhook/[ID]
GET /api/{{ $apiVersion }}/project/[PROJECT]/webhook/[ID]

**Response**

Expand Down Expand Up @@ -6424,7 +6424,7 @@ Since: v49

**Request**

POST /api/V/project/[PROJECT]/webhook/[ID]
POST /api/{{ $apiVersion }}/project/[PROJECT]/webhook/[ID]

Required Fields:
`id`
Expand Down Expand Up @@ -6464,7 +6464,7 @@ or error

``` json
{
"apiversion": 33,
"apiversion": {{ $apiVersion }},
"error": true,
"errorCode": "api.error.parameter.required",
"message": "parameter \"project\" is required"
Expand All @@ -6475,7 +6475,7 @@ or error

**Request**

POST /api/V/project/[PROJECT]/webhook
POST /api/{{ $apiVersion }}/project/[PROJECT]/webhook

Required Fields:
```
Expand Down Expand Up @@ -6520,7 +6520,7 @@ Do not specify an `authToken` or `creator` field. They will be ignored.

**Request**

DELETE /api/V/project/[PROJECT]/webhook/[ID]
DELETE /api/{{ $apiVersion }}/project/[PROJECT]/webhook/[ID]

**Response**

Expand All @@ -6536,7 +6536,7 @@ Do not specify an `authToken` or `creator` field. They will be ignored.

**Request**

POST /api/V/webhook/[AUTH_TOKEN]
POST /api/{{ $apiVersion }}/webhook/[AUTH_TOKEN]

You may post whatever data you wish to the webhook endpoint, however the plugin you are using must
be able to handle the data you post. If the webhook plugin associated with the webhook can't handle
Expand Down

0 comments on commit d796eaf

Please sign in to comment.