Skip to content
This repository was archived by the owner on Jun 9, 2021. It is now read-only.

Commit 5f555e9

Browse files
committed
Correcting markdown in REST-API #226
1 parent 338ae44 commit 5f555e9

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -194,26 +194,28 @@ When submitted with the default values, it will look like this:
194194
Some rest resources are available. You can figure out the JSON structure by looking at the [DTO:s](https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/tree/master/src/main/java/se/bjurr/prnfb/presentation/dto).
195195

196196
* `/bitbucket/rest/prnfb-admin/1.0/settings`
197-
* `GET` Get all global settings.
198-
* `POST` Store all global settings.
197+
* `GET` Get all global settings.
198+
* `POST` Store all global settings.
199+
199200

200201
* `/bitbucket/rest/prnfb-admin/1.0/settings/notifications`
201-
* `DELETE /{uuid}` Deletes notification with *uuid*.
202-
* `GET` Get all notifications.
203-
* `GET /{uuid}` Get notification with *uuid*.
204-
* `GET /projectKey/{projectKey}` Get all notifications for the project.
205-
* `GET /projectKey/{projectKey}/repositorySlug/{repositorySlug}` Get all notifications for the project and repository.
206-
* `POST` Save a notification.
202+
* `DELETE /{uuid}` Deletes notification with *uuid*.
203+
* `GET` Get all notifications.
204+
* `GET /{uuid}` Get notification with *uuid*.
205+
* `GET /projectKey/{projectKey}` Get all notifications for the project.
206+
* `GET /projectKey/{projectKey}/repositorySlug/{repositorySlug}` Get all notifications for the project and repository.
207+
* `POST` Save a notification.
208+
207209

208210
* `/bitbucket/rest/prnfb-admin/1.0/settings/buttons`
209-
* `DELETE /{uuid}` Deletes button with *uuid*.
210-
* `GET` Get all buttons that the current user is allowed to use.
211-
* `GET /{uuid}` Get button with *uuid*.
212-
* `GET /repository/{repositoryId}/pullrequest/{pullRequestId}` Get all buttons for repository that the current user is allowed to use.
213-
* `GET /projectKey/{projectKey}` Get all buttons for the project.
214-
* `GET /projectKey/{projectKey}/repositorySlug/{repositorySlug}` Get all buttons for the project and repository.
215-
* `POST` Save a button.
216-
* `POST {uuid}/press/repository/{repositoryId}/pullrequest/{pullRequestId}` Press the button.
211+
* `DELETE /{uuid}` Deletes button with *uuid*.
212+
* `GET` Get all buttons that the current user is allowed to use.
213+
* `GET /{uuid}` Get button with *uuid*.
214+
* `GET /repository/{repositoryId}/pullrequest/{pullRequestId}` Get all buttons for repository that the current user is allowed to use.
215+
* `GET /projectKey/{projectKey}` Get all buttons for the project.
216+
* `GET /projectKey/{projectKey}/repositorySlug/{repositorySlug}` Get all buttons for the project and repository.
217+
* `POST` Save a button.
218+
* `POST {uuid}/press/repository/{repositoryId}/pullrequest/{pullRequestId}` Press the button.
217219

218220
A new notification to trigger on *COMMENTED* can be added like this.
219221
```

0 commit comments

Comments
 (0)