{"info":{"_postman_id":"cca919bb-15e0-4d23-9a40-295ab4ac3c62","name":"Affinity API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"4058652","collectionId":"cca919bb-15e0-4d23-9a40-295ab4ac3c62","publishedId":"UVsJvRtt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-03-12T23:19:48.000Z"},"item":[{"name":"Contacts","item":[{"name":"Get Contact List","id":"eead959b-caba-4617-97f1-2a9f135dcb07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:3001/v1/profile/contacts?account=","description":"<p>Returns a users contacts as an array containing each contacts' username, avatar, description, and address.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["v1","profile","contacts"],"host":["localhost"],"query":[{"description":{"content":"<p>wallet address</p>\n","type":"text/plain"},"key":"account","value":""}],"variable":[]}},"response":[],"_postman_id":"eead959b-caba-4617-97f1-2a9f135dcb07"},{"name":"Add Contact","id":"52933be8-191b-49e9-b60c-79fe782d7e96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"account","value":"","type":"text","description":"<p>wallet address</p>\n"},{"key":"username","value":"","type":"text","description":"<p>username to add</p>\n"}]},"url":"http://localhost:3001/v1/profile/contacts/add","urlObject":{"protocol":"http","port":"3001","path":["v1","profile","contacts","add"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"52933be8-191b-49e9-b60c-79fe782d7e96"},{"name":"Delete Contact","id":"c3b3ccdc-ab63-4a61-9f57-0cb10102f7c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"account","value":"","type":"text","description":"<p>wallet address</p>\n"},{"key":"address","value":"","type":"text","description":"<p>wallet address</p>\n"}]},"url":"http://localhost:3001/v1/profile/contacts/delete","description":"<p>Deletes a wallet address from a users contact list.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["v1","profile","contacts","delete"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3b3ccdc-ab63-4a61-9f57-0cb10102f7c0"}],"id":"28e05536-3927-45b5-9c00-dbb6700910e9","_postman_id":"28e05536-3927-45b5-9c00-dbb6700910e9","description":""},{"name":"Profile","item":[{"name":"User by ETH Address","id":"575d98bc-efda-430e-b9a9-4a52ea309135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/v1/profile?account=","urlObject":{"protocol":"http","port":"3001","path":["v1","profile"],"host":["localhost"],"query":[{"description":{"content":"<p>wallet address</p>\n","type":"text/plain"},"key":"account","value":""}],"variable":[]}},"response":[],"_postman_id":"575d98bc-efda-430e-b9a9-4a52ea309135"},{"name":"Update User Profile","id":"bc267e5b-18b2-481b-a86a-16782be9aa4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"http://localhost:3001/v1/profile/update?account=","description":"<p>Updates a user profile. Provide any fields and values in the request body to update them. Some fields have been disallowed for safety: updatedAt, createdAt, contacts, authData, ACL, objectId, avatar, ethAddress, and accounts</p>\n","urlObject":{"protocol":"http","port":"3001","path":["v1","profile","update"],"host":["localhost"],"query":[{"description":{"content":"<p>wallet address</p>\n","type":"text/plain"},"key":"account","value":""}],"variable":[]}},"response":[],"_postman_id":"bc267e5b-18b2-481b-a86a-16782be9aa4b"}],"id":"8d9a3029-ffa4-40e2-abef-e2cbe1d01f3b","_postman_id":"8d9a3029-ffa4-40e2-abef-e2cbe1d01f3b","description":""},{"name":"Transactions","item":[{"name":"All Txns","id":"110ac1d7-4c81-4cb1-abcb-4a2d797c7f95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/v1/txns?limit=&offset=&address=","urlObject":{"protocol":"http","port":"3001","path":["v1","txns"],"host":["localhost"],"query":[{"description":{"content":"<p>optional - integer (max: 10000)</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>optional - integer</p>\n","type":"text/plain"},"key":"offset","value":""},{"description":{"content":"<p>optional - wallet address</p>\n","type":"text/plain"},"key":"address","value":""}],"variable":[]}},"response":[],"_postman_id":"110ac1d7-4c81-4cb1-abcb-4a2d797c7f95"},{"name":"Txn By Hash","id":"24614534-c2a3-4bf9-a0be-bd8cfeab1a05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/v1/txn?hash=","urlObject":{"protocol":"http","port":"3001","path":["v1","txn"],"host":["localhost"],"query":[{"description":{"content":"<p>Txn Hash</p>\n","type":"text/plain"},"key":"hash","value":""}],"variable":[]}},"response":[],"_postman_id":"24614534-c2a3-4bf9-a0be-bd8cfeab1a05"}],"id":"e0766e0a-b6a1-40f7-a850-fb0681c69afc","_postman_id":"e0766e0a-b6a1-40f7-a850-fb0681c69afc","description":""},{"name":"Tokens","item":[{"name":"All Tokens","id":"8ee94acd-c005-4305-bf3e-e9281b9bed74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:3001/v1/tokens","urlObject":{"protocol":"http","port":"3001","path":["v1","tokens"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ee94acd-c005-4305-bf3e-e9281b9bed74"},{"name":"Tokens by Name","id":"751204fb-02f4-4c22-a8db-bb0e6330ecc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3001/v1/tokens/find?name=fin","description":"<p>Can use this to search all token names for any letter or word. Does not have to be at the beginning. Searching \"rr\" will return \"EverRise\" and searching for \"fin\" will return Affinity.</p>\n","urlObject":{"protocol":"http","port":"3001","path":["v1","tokens","find"],"host":["localhost"],"query":[{"description":{"content":"<p>a name to search for, case insensitive. </p>\n","type":"text/plain"},"key":"name","value":"fin"}],"variable":[]}},"response":[],"_postman_id":"751204fb-02f4-4c22-a8db-bb0e6330ecc6"}],"id":"15dbb719-0de0-4993-902c-2b6ab3b2377f","_postman_id":"15dbb719-0de0-4993-902c-2b6ab3b2377f","description":""}]}