@@ -566,23 +566,23 @@ If you get a `401`, re-run the unlock command to get a fresh token.
566566## 9. Quick Reference: API Endpoints
567567
568568| Method | Path | Auth Required | Purpose |
569- | ----------| -----------------------------------------| :---:| ----------------------------------|
570- | ` POST ` | ` /api/v1/session/unlock ` | No | Get session token |
571- | ` GET ` | ` /api/v1/identities/self ` | No | Get own DID and identity |
572- | ` GET ` | ` /api/v1/contacts ` | Yes | List contacts |
573- | ` POST ` | ` /api/v1/contacts ` | Yes | Add contact |
574- | ` GET ` | ` /api/v1/contacts/:did ` | Yes | Get a single contact |
575- | ` PUT ` | ` /api/v1/contacts/:did ` | Yes | Update contact |
576- | ` DELETE ` | ` /api/v1/contacts/:did ` | Yes | Remove contact |
577- | ` GET ` | ` /api/v1/profile ` | No | Get own profile |
578- | ` GET ` | ` /api/v1/profile/:did ` | No | Get peer profile (cached) |
579- | ` GET ` | ` /api/v1/conversations ` | Yes | List conversations |
580- | ` POST ` | ` /api/v1/conversations ` | Yes | Create conversation |
581- | ` DELETE ` | ` /api/v1/conversations/:id ` | Yes | Delete conversation |
582- | ` POST ` | ` /api/v1/messages ` | Yes | Send message |
583- | ` GET ` | ` /api/v1/messages/pull ` | Yes | Pull messages (cursor, unread filter) |
584- | ` POST ` | ` /api/v1/messages/read ` | Yes | Mark messages as read |
585- | ` GET ` | ` /api/v1/messages/view ` | Yes | Owner view (redacted) |
586- | ` POST ` | ` /api/v1/attachments/init-upload ` | Yes | Init attachment upload |
587- | ` POST ` | ` /api/v1/attachments/complete-upload ` | Yes | Complete upload + P2P relay |
588- | ` GET ` | ` /api/v1/attachments/:objectKey ` | No | Download attachment |
569+ | ----------| -----------------------------------------| :------------- :| ----------------------------------|
570+ | ` POST ` | ` /api/v1/session/unlock ` | No | Get session token |
571+ | ` GET ` | ` /api/v1/identities/self ` | No | Get own DID and identity |
572+ | ` GET ` | ` /api/v1/contacts ` | Yes | List contacts |
573+ | ` POST ` | ` /api/v1/contacts ` | Yes | Add contact |
574+ | ` GET ` | ` /api/v1/contacts/:did ` | Yes | Get a single contact |
575+ | ` PUT ` | ` /api/v1/contacts/:did ` | Yes | Update contact |
576+ | ` DELETE ` | ` /api/v1/contacts/:did ` | Yes | Remove contact |
577+ | ` GET ` | ` /api/v1/profile ` | No | Get own profile |
578+ | ` GET ` | ` /api/v1/profile/:did ` | No | Get peer profile (cached) |
579+ | ` GET ` | ` /api/v1/conversations ` | Yes | List conversations |
580+ | ` POST ` | ` /api/v1/conversations ` | Yes | Create conversation |
581+ | ` DELETE ` | ` /api/v1/conversations/:id ` | Yes | Delete conversation |
582+ | ` POST ` | ` /api/v1/messages ` | Yes | Send message |
583+ | ` GET ` | ` /api/v1/messages/pull ` | Yes | Pull messages (cursor, unread) |
584+ | ` POST ` | ` /api/v1/messages/read ` | Yes | Mark messages as read |
585+ | ` GET ` | ` /api/v1/messages/view ` | Yes | Owner view (redacted) |
586+ | ` POST ` | ` /api/v1/attachments/init-upload ` | Yes | Init attachment upload |
587+ | ` POST ` | ` /api/v1/attachments/complete-upload ` | Yes | Complete upload + P2P relay |
588+ | ` GET ` | ` /api/v1/attachments/:objectKey ` | No | Download attachment |
0 commit comments