From 05c51571715b585e0d1bdf06c5238abf77a5070e Mon Sep 17 00:00:00 2001 From: Noah Schechter <100018299+noah-schechter@users.noreply.github.com> Date: Sat, 28 Dec 2024 01:29:26 -0800 Subject: [PATCH] Correct endpoint URL in documentation --- docs/content/docs/Technical/api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/Technical/api.md b/docs/content/docs/Technical/api.md index 212776706..c8765ee68 100644 --- a/docs/content/docs/Technical/api.md +++ b/docs/content/docs/Technical/api.md @@ -215,7 +215,7 @@ 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"] @@ -223,7 +223,7 @@ requests.post( ) 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"], @@ -234,4 +234,4 @@ requests.post( "cf7a3ed7-2c26-428a-b56c-2cc3f98d7a2c": ["Residential"] } ) -``` \ No newline at end of file +```