{ "opencollection": "1.0.0", "info": { "name": "Forithmus Challenge Platform 2fa messages API", "version": "1.0.0" }, "items": [ { "info": { "name": "messages", "type": "folder" }, "items": [ { "info": { "name": "List Conversations", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/messages", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" } ] }, "docs": "List Conversations" }, { "info": { "name": "Create Conversation", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/messages", "body": { "type": "json", "data": "{}" } }, "docs": "Create Conversation" }, { "info": { "name": "Unread Count", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/messages/unread-count" }, "docs": "Unread Count" }, { "info": { "name": "Get Messages", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/messages/:conversation_id", "params": [ { "name": "conversation_id", "value": "", "type": "path" }, { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" } ] }, "docs": "Get Messages" }, { "info": { "name": "Send Message", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/messages/:conversation_id", "params": [ { "name": "conversation_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Send Message" }, { "info": { "name": "Delete Message", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/messages/:conversation_id/:message_id", "params": [ { "name": "conversation_id", "value": "", "type": "path" }, { "name": "message_id", "value": "", "type": "path" } ] }, "docs": "Delete Message" }, { "info": { "name": "Mark Read", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/messages/:conversation_id/read", "params": [ { "name": "conversation_id", "value": "", "type": "path" } ] }, "docs": "Mark Read" } ] } ], "bundled": true }