Skip to content

Commit ab04edc

Browse files
authored
incident_api: create module doc
1 parent 813524d commit ab04edc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

lib/incident_api.ex

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
defmodule LogpointApi.IncidentApi do
2+
@moduledoc """
3+
This module provides an implementation of the Logpoint Incident API.
4+
5+
## Modules
6+
7+
- `TimeRange` : A struct used to represent a time range.
8+
- `Incident` : A struct used to represent an incident.
9+
- `IncidentComment` : A struct used to represent an incident comment.
10+
- `IncidentCommentData` : A struct used to represent incident comment data.
11+
- `IncidentIDs` : A struct used to represent incident IDs.
12+
13+
## Public Functions
14+
15+
- `get_incidents/3` : Retrieves incidents within a specified time range.
16+
- `get_data_from_incident/3` : Retrieves data from a specific incident.
17+
- `get_incident_states/3` : Retrieves incident states within a specified time range.
18+
- `get_users/2` : Retrieves user data.
19+
- `add_comments/3` : Adds comments to an incident.
20+
- `assign_incidents/4` : Assigns incidents to a user.
21+
- `resolve_incidents/3` : Resolves incidents.
22+
- `reopen_incidents/3` : Reopens incidents.
23+
- `close_incidents/3` : Closes incidents.
24+
"""
25+
226
alias LogpointApi.Credential
327
alias LogpointApi.IncidentApi.{Incident, IncidentComment, IncidentCommentData, IncidentIDs, TimeRange}
428

0 commit comments

Comments
 (0)