Skip to content

Commit 123ff5c

Browse files
committed
Improved api documentation
1 parent 60839c0 commit 123ff5c

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

src/Exceptionless.Core/Configuration/EmailOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class EmailOptions
1616
public string? TestEmailAddress { get; internal set; }
1717

1818
/// <summary>
19-
/// Email addresses that match this comma delimited list of domains and email addresses will be allowed to be sent out in QA mode
19+
/// Email addresses that match this comma-delimited list of domains and email addresses will be allowed to be sent out in QA mode
2020
/// </summary>
2121
public List<string> AllowedOutboundAddresses { get; internal set; } = null!;
2222

src/Exceptionless.Web/Controllers/EventController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public async Task<ActionResult<CountResult>> GetCountByOrganizationAsync(string
137137
/// <param name="aggregations">A list of values you want returned. Example: avg:value cardinality:value sum:users max:value min:value</param>
138138
/// <param name="time">The time filter that limits the data being returned to a specific date range.</param>
139139
/// <param name="offset">The time offset in minutes that controls what data is returned based on the time filter. This is used for time zone support.</param>
140-
/// <param name="mode">If no mode is set then the whole event object will be returned. If the mode is set to summary than a lightweight object will be returned.</param>
140+
/// <param name="mode">If mode is set to stack_new, then additional filters will be added.</param>
141141
/// <response code="400">Invalid filter.</response>
142142
[HttpGet("~/" + API_PREFIX + "/projects/{projectId:objectid}/events/count")]
143143
[Authorize(Policy = AuthorizationRoles.UserPolicy)]
@@ -1341,7 +1341,7 @@ await _eventPostService.EnqueueAsync(new EventPost(_appOptions.EnableArchive)
13411341
/// <summary>
13421342
/// Remove
13431343
/// </summary>
1344-
/// <param name="ids">A comma delimited list of event identifiers.</param>
1344+
/// <param name="ids">A comma-delimited list of event identifiers.</param>
13451345
/// <response code="204">No Content.</response>
13461346
/// <response code="400">One or more validation errors occurred.</response>
13471347
/// <response code="404">One or more event occurrences were not found.</response>

src/Exceptionless.Web/Controllers/OrganizationController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public Task<ActionResult<ViewOrganization>> PatchAsync(string id, Delta<NewOrgan
169169
/// <summary>
170170
/// Remove
171171
/// </summary>
172-
/// <param name="ids">A comma delimited list of organization identifiers.</param>
172+
/// <param name="ids">A comma-delimited list of organization identifiers.</param>
173173
/// <response code="204">No Content.</response>
174174
/// <response code="400">One or more validation errors occurred.</response>
175175
/// <response code="404">One or more organizations were not found.</response>

src/Exceptionless.Web/Controllers/ProjectController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public Task<ActionResult<ViewProject>> PatchAsync(string id, Delta<UpdateProject
183183
/// <summary>
184184
/// Remove
185185
/// </summary>
186-
/// <param name="ids">A comma delimited list of project identifiers.</param>
186+
/// <param name="ids">A comma-delimited list of project identifiers.</param>
187187
/// <response code="204">No Content.</response>
188188
/// <response code="400">One or more validation errors occurred.</response>
189189
/// <response code="404">One or more projects were not found.</response>

src/Exceptionless.Web/Controllers/StackController.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public async Task<ActionResult<Stack>> GetAsync(string id, string? offset = null
9999
/// <summary>
100100
/// Mark fixed
101101
/// </summary>
102-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
102+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
103103
/// <param name="version">A version number that the stack was fixed in.</param>
104104
/// <response code="404">One or more stacks could not be found.</response>
105105
[HttpPost("{ids:objectids}/mark-fixed")]
@@ -160,7 +160,7 @@ public async Task<ActionResult> MarkFixedAsync(JObject data)
160160
/// <summary>
161161
/// Mark the selected stacks as snoozed
162162
/// </summary>
163-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
163+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
164164
/// <param name="snoozeUntilUtc">A time that the stack should be snoozed until.</param>
165165
/// <response code="404">One or more stacks could not be found.</response>
166166
[HttpPost("{ids:objectids}/mark-snoozed")]
@@ -279,7 +279,7 @@ public async Task<IActionResult> RemoveLinkAsync(string id, ValueFromBody<string
279279
/// <summary>
280280
/// Mark future occurrences as critical
281281
/// </summary>
282-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
282+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
283283
/// <response code="404">One or more stacks could not be found.</response>
284284
[HttpPost("{ids:objectids}/mark-critical")]
285285
[Authorize(Policy = AuthorizationRoles.UserPolicy)]
@@ -304,7 +304,7 @@ public async Task<IActionResult> MarkCriticalAsync(string ids)
304304
/// <summary>
305305
/// Mark future occurrences as not critical
306306
/// </summary>
307-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
307+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
308308
/// <response code="204">The stacks were marked as not critical.</response>
309309
/// <response code="404">One or more stacks could not be found.</response>
310310
[HttpDelete("{ids:objectids}/mark-critical")]
@@ -331,7 +331,7 @@ public async Task<IActionResult> MarkNotCriticalAsync(string ids)
331331
/// <summary>
332332
/// Change stack status
333333
/// </summary>
334-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
334+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
335335
/// <param name="status">The status that the stack should be changed to.</param>
336336
/// <response code="404">One or more stacks could not be found.</response>
337337
[HttpPost("{ids:objectids}/change-status")]
@@ -444,7 +444,7 @@ await _webHookNotificationQueue.EnqueueAsync(new WebHookNotification
444444
/// <summary>
445445
/// Remove
446446
/// </summary>
447-
/// <param name="ids">A comma delimited list of stack identifiers.</param>
447+
/// <param name="ids">A comma-delimited list of stack identifiers.</param>
448448
/// <response code="204">No Content.</response>
449449
/// <response code="400">One or more validation errors occurred.</response>
450450
/// <response code="404">One or more stacks were not found.</response>

src/Exceptionless.Web/Controllers/WebHookController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public Task<ActionResult<WebHook>> PostAsync(NewWebHook webhook)
8282
/// <summary>
8383
/// Remove
8484
/// </summary>
85-
/// <param name="ids">A comma delimited list of web hook identifiers.</param>
85+
/// <param name="ids">A comma-delimited list of web hook identifiers.</param>
8686
/// <response code="204">No Content.</response>
8787
/// <response code="400">One or more validation errors occurred.</response>
8888
/// <response code="404">One or more web hooks were not found.</response>

0 commit comments

Comments
 (0)