Skylar Ittner 2 months ago
parent
commit
02fdca4b60
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docs/Self-Hosting and Development/API Documentation.md

+ 2
- 2
docs/Self-Hosting and Development/API Documentation.md View File

@@ -1,6 +1,6 @@
1 1
 # API Documentation
2 2
 
3
-The NotePost API is extremely simple to use. Requests can be sent via GET or POST, and responses are sent in JSON.
3
+The AccountHub API is extremely simple to use. Requests can be sent via GET or POST, and responses are sent in JSON.
4 4
 
5 5
 ## Request Structure
6 6
 
@@ -46,4 +46,4 @@ If the request is not well-formed (missing required arguments, invalid credentia
46 46
 | `getnotifications` | `username` or `uid` | Get notifications for the user.  When successful, returns an array `notifications` with items similar to: `{"id": 1, "timestamp": "YYYY-MM-DD HH:MM:SS", "title": "text", "content": "text", "url": "text", "seen": false, "sensitive": false}`
47 47
 | `readnotification` | `username` or `uid`, `id` | Mark the notification identified by the user and notification ID as read.  Sets `seen` to `true` in future calls to `getnotifications`, and changes how the notification is displayed in the UI.
48 48
 | `addnotification` | `username` or `uid`, `title`, `content`, `timestamp` (optional, defaults to current date/time), `url` (optional, defaults to empty string), `sensitive` (optional, defaults to `false`) | Add a notification for the given user with the content.
49
-| `deletenotification` | `username` or `uid`, `id` | Delete the notification identified by the user and notifiation ID.
49
+| `deletenotification` | `username` or `uid`, `id` | Delete the notification identified by the user and notifiation ID.

Loading…
Cancel
Save