Skip to content

Commit

Permalink
Correct endpoint URL in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-schechter authored Dec 28, 2024
1 parent 906bb46 commit 05c5157
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/docs/Technical/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,15 @@ You can find attributes' API identifiers in the **Access** pane of your project.

```python
requests.post(
f"https://platform.atlos.org/api/v2/incidents_new",
f"https://platform.atlos.org/api/v2/incidents/new",
headers={"Authorization": f"Bearer {self.api_token}"},
json={"description": "Test incident created via the API",
"sensitive": ["Not Sensitive"]
}
)

requests.post(
f"https://platform.atlos.org/api/v2/incidents_new",
f"https://platform.atlos.org/api/v2/incidents/new",
headers={"Authorization": f"Bearer {self.api_token}"},
json={"description": "Test incident created via the API",
"sensitive": ["Not Sensitive"],
Expand All @@ -234,4 +234,4 @@ requests.post(
"cf7a3ed7-2c26-428a-b56c-2cc3f98d7a2c": ["Residential"]
}
)
```
```

0 comments on commit 05c5157

Please sign in to comment.