{ "id": "b7ec1632-52bd-e690-d380-a8cc3c337a56", "name": "PHPHub-server", "description": "", "order": [ "3a3d5c50-fe5f-3354-9b8c-d8bcf4002a61", "cd1a5963-83e9-5790-bf78-b5d048d29b33", "25849000-0f60-0b41-1e4d-d27cf1ffccc9", "9aa8a8e8-cdbf-cf0c-a98e-4a77f5dbc68d" ], "folders": [ { "owner": "567101", "lastUpdatedBy": "567101", "lastRevision": 250240053, "id": "f1a0f056-29ce-4b06-a7e9-7cbbbb0ab4d9", "name": "Access Token", "description": "", "order": [ "e052031c-4ee3-f064-a7c5-0fe4e37bbe9e", "8d0d35db-3fbf-d7d7-ee93-6935151ac0c0" ] }, { "owner": "567101", "lastUpdatedBy": "567101", "lastRevision": 250240054, "id": "9282490c-40c3-1955-f72f-16f1c7e216bc", "name": "replies", "description": "", "order": [ "4b33b6d3-2bd3-703f-2c56-cf70602b81f5", "2594107c-dfa3-2c24-54c8-6539f3549436" ] }, { "owner": "567101", "lastUpdatedBy": "567101", "lastRevision": 250240055, "id": "b32f4b41-f65f-455a-cd25-81edc678b18c", "name": "topics", "description": "", "order": [ "5a05c5de-32f7-f344-d589-63ca66abe88e", "6a4c4f4b-ab9d-63e7-0477-a33868ca4f94", "b802bffb-009f-2d56-e83f-a4137bb6fc06", "a450b086-140e-5753-d116-5d6efed491b5", "3f976f35-9328-6d3e-8dfa-2a8ae69b9eb3", "a3515869-0bf0-284c-743f-8456efed5415", "359eceb5-35d9-eabc-8e0a-7596f884ea2d", "9e4bf103-466b-1d17-ee23-0523b78068e6", "56a5144e-b817-9d1d-e45d-64419940e6f1" ] }, { "owner": "567101", "lastUpdatedBy": "567101", "lastRevision": 250240056, "id": "d115bf9b-1069-9a2a-236b-7ce2c44d6118", "name": "users", "description": "", "order": [ "624d3b20-363b-bcbf-8d56-a209c570c0cb", "1d46413a-5b43-4a34-72af-b5ad07b8efd0", "19d99406-b795-49b7-f23b-5601c1213aac", "66fc9dc8-ecee-544c-82fa-9cc0b42b1468" ] } ], "timestamp": 0, "owner": "567101", "public": false, "requests": [ { "id": "19d99406-b795-49b7-f23b-5601c1213aac", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\nX-Client-Platform: iOS\n", "url": "{{url}}/users/4", "preRequestScript": "", "pathVariables": {}, "method": "PUT", "data": [ { "key": "real_name", "value": "你猜", "type": "text", "enabled": true }, { "key": "city", "value": "你猜你猜", "type": "text", "enabled": true }, { "key": "company", "value": "你猜", "type": "text", "enabled": true }, { "key": "twitter_account", "value": "你猜", "type": "text", "enabled": true }, { "key": "personal_website", "value": "http://你猜.com", "type": "text", "enabled": true }, { "key": "signature", "value": "你猜你猜你猜22", "type": "text", "enabled": true }, { "key": "introduction", "value": "你猜你猜你猜", "type": "text", "enabled": true } ], "dataMode": "urlencoded", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471682436561, "name": "/users/{id}", "description": "更新用户资料", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": "d115bf9b-1069-9a2a-236b-7ce2c44d6118", "id": "1d46413a-5b43-4a34-72af-b5ad07b8efd0", "name": "users/{id}", "dataMode": "params", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "kHOugsx4dmcXwvVbmLkd", "type": "text", "enabled": true }, { "key": "client_secret", "value": "PuuFCrF94MloSbSkxpwS", "type": "text", "enabled": true } ], "rawModeData": null, "descriptionFormat": "html", "description": "获取用户资料", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/users/1", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": null, "id": "25849000-0f60-0b41-1e4d-d27cf1ffccc9", "name": "adverts/launch_screen - 已弃用", "dataMode": "params", "data": [], "rawModeData": null, "descriptionFormat": "html", "description": "获取开启首屏广告", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n//If-None-Match: 37d16ef3b08f92bba49db4355bcca06c\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/adverts/launch_screen", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "2594107c-dfa3-2c24-54c8-6539f3549436", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/topics/1/replies/web_view", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "14n5UsWFzhrt8iPx82wz", "type": "text", "enabled": true }, { "key": "client_secret", "value": "j48EpY29pF06i7cAhEx6dgSTLD7", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1472370688033, "name": "topics/{id}/replies/web_view", "description": "", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": "b32f4b41-f65f-455a-cd25-81edc678b18c", "id": "359eceb5-35d9-eabc-8e0a-7596f884ea2d", "name": "user/{id}/topics", "dataMode": "params", "data": [], "rawModeData": null, "descriptionFormat": "html", "description": "指定用户发布的帖子\n", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/user/1/topics", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "3a3d5c50-fe5f-3354-9b8c-d8bcf4002a61", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/categories", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "kHOugsx4dmcXwvVbmLkd", "type": "text", "enabled": true }, { "key": "client_secret", "value": "PuuFCrF94MloSbSkxpwS", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1472370157859, "name": "categories", "description": "请求节点列表", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "3f976f35-9328-6d3e-8dfa-2a8ae69b9eb3", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "url": "{{url}}/topics/1/vote-down", "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471419173339, "name": "topics/{id}/vote-down", "description": " 反对帖子或取消反对", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "4b33b6d3-2bd3-703f-2c56-cf70602b81f5", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\nX-Client-Platform: Android\n", "url": "{{url}}/replies", "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [ { "key": "topic_id", "value": "8", "type": "text", "enabled": true }, { "key": "body", "value": "哈哈哈22322", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471438208168, "name": "replies", "description": "发布评论", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "56a5144e-b817-9d1d-e45d-64419940e6f1", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/topics/3/web_view", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "14n5UsWFzhrt8iPx82wz", "type": "text", "enabled": true }, { "key": "client_secret", "value": "j48EpY29pF06i7cAhEx6dgSTLD7", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471428121348, "name": "topics/{id}/web_view", "description": "", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "5a05c5de-32f7-f344-d589-63ca66abe88e", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/topics?include=category,last_reply_user,user,replies& filters=excellent&per_page=15&page=1", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "login_token", "type": "text", "enabled": true }, { "key": "client_id", "value": "kHOugsx4dmcXwvVbmLkd", "type": "text", "enabled": true }, { "key": "client_secret", "value": "PuuFCrF94MloSbSkxpwS", "type": "text", "enabled": true }, { "key": "username", "value": "summerblue", "type": "text", "enabled": true }, { "key": "login_token", "value": "cP9jLLLokKHAamwFVVzK", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1472370174473, "name": "topics", "description": "描述: 获取首页精华帖\n\nfilter 可选值:\n\n1. newest 表示最新\n\n {{url}}/topics?include=user,node&filters=newest&per_page=15&page=1\n\n2. vote 表示热门\n\n {{url}}/topics?include=user,node&filters=vote&per_page=15&page=1\n\n3. nobody 表示冷门\n\n {{url}}/topics?include=user,node&filters=nobody&per_page=15&page=1\n\n4. wiki 表示社区 WIKI\n\n {{url}}topics?include=node,last_reply_user,user&filters=wiki&per_page=20&page=1&columns=user(signature)\n\n5. jobs 表示招聘帖\n\n {{url}}/topics?include=user,node&filters=jobs&per_page=15&page=1\n", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": "d115bf9b-1069-9a2a-236b-7ce2c44d6118", "id": "624d3b20-363b-bcbf-8d56-a209c570c0cb", "name": "me", "dataMode": "params", "data": [ { "key": "grant_type", "value": "login_token", "type": "text", "enabled": true }, { "key": "client_id", "value": "kHOugsx4dmcXwvVbmLkd", "type": "text", "enabled": true }, { "key": "client_secret", "value": "PuuFCrF94MloSbSkxpwS", "type": "text", "enabled": true }, { "key": "username", "value": "zhengjinghua", "type": "text", "enabled": true }, { "key": "login_token", "value": "uDFDJys7iwM0fTXuLNNH", "type": "text", "enabled": true } ], "rawModeData": null, "descriptionFormat": "html", "description": "获取我的资料", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/me", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "66fc9dc8-ecee-544c-82fa-9cc0b42b1468", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/users/1/replies/web_view", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "14n5UsWFzhrt8iPx82wz", "type": "text", "enabled": true }, { "key": "client_secret", "value": "j48EpY29pF06i7cAhEx6dgSTLD7", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471421765657, "name": "users/{id}/replies/web_view", "description": "", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "6a4c4f4b-ab9d-63e7-0477-a33868ca4f94", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/user/1/votes", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1472370253632, "name": "user/{id}/votes", "description": "用户收藏的帖子列表", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "8d0d35db-3fbf-d7d7-ee93-6935151ac0c0", "headers": "Accept: application/vnd.OralMaster.v1+json\n", "url": "{{url}}/oauth/access_token", "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [ { "key": "grant_type", "value": "login_token", "type": "text", "enabled": true }, { "key": "client_id", "value": "{{client_id}}", "type": "text", "enabled": true }, { "key": "client_secret", "value": "{{client_secret}}", "type": "text", "enabled": true }, { "key": "username", "value": "monkey", "type": "text", "enabled": true }, { "key": "login_token", "value": "uDxxJys7iw0fTXuLNdcs", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1477014403149, "name": "AccessToken - login_token", "description": "", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": null, "id": "9aa8a8e8-cdbf-cf0c-a98e-4a77f5dbc68d", "name": "me/notificatoins/count", "dataMode": "params", "data": [ { "key": "topic_id", "value": "1", "type": "text", "enabled": true }, { "key": "body", "value": "哈哈哈", "type": "text", "enabled": true } ], "rawModeData": null, "descriptionFormat": "html", "description": "获取我的未读消息数", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/me/notifications/count", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "9e4bf103-466b-1d17-ee23-0523b78068e6", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{client_token}}\n", "url": "{{url}}/topics/3?include=user,category", "preRequestScript": "", "pathVariables": {}, "method": "GET", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "14n5UsWFzhrt8iPx82wz", "type": "text", "enabled": true }, { "key": "client_secret", "value": "j48EpY29pF06i7cAhEx6dgSTLD7", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1472370457401, "name": "topics/{id}", "description": "描述: 获取帖子详情内容\n\n如果用户未登录, 则使用 client token 请求\n\n如果用户已登录, 则使用 password token 请求, 此时会返回当前用户 `是否已经收藏` 和 `是否已经关注过` 此帖子的字段.", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "a3515869-0bf0-284c-743f-8456efed5415", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "url": "{{url}}/topics/2", "preRequestScript": "", "pathVariables": {}, "method": "DELETE", "data": [], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471428008187, "name": "topics/{id}", "description": "删除帖子", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "a450b086-140e-5753-d116-5d6efed491b5", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "url": "{{url}}/topics/1/vote-up", "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471419152905, "name": "topics/{id}/vote-up", "description": " 支持帖子或取消支持", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "id": "b802bffb-009f-2d56-e83f-a4137bb6fc06", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\nX-Client-Platform: iOS\n", "url": "{{url}}/topics", "preRequestScript": "", "pathVariables": {}, "method": "POST", "data": [ { "key": "title", "value": "test22", "type": "text", "enabled": true }, { "key": "body", "value": "111", "type": "text", "enabled": true }, { "key": "node_id", "value": "1", "type": "text", "enabled": true } ], "dataMode": "params", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "time": 1471438217442, "name": "topics", "description": "发布帖子", "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": null, "id": "cd1a5963-83e9-5790-bf78-b5d048d29b33", "name": "me/notificatoins", "dataMode": "params", "data": [ { "key": "title", "value": "test", "type": "text", "enabled": true }, { "key": "body", "value": "111", "type": "text", "enabled": true }, { "key": "node_id", "value": "11111", "type": "text", "enabled": true } ], "rawModeData": null, "descriptionFormat": "html", "description": "获取我的通知消息", "headers": "Accept: application/vnd.OralMaster.v1+json\nAuthorization: Bearer {{password_token}}\n", "method": "GET", "pathVariables": {}, "url": "{{url}}/me/notifications?include=from_user,topic", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" }, { "folder": "f1a0f056-29ce-4b06-a7e9-7cbbbb0ab4d9", "id": "e052031c-4ee3-f064-a7c5-0fe4e37bbe9e", "name": "AccessToken - client_credentials", "dataMode": "params", "data": [ { "key": "grant_type", "value": "client_credentials", "type": "text", "enabled": true }, { "key": "client_id", "value": "{{client_id}}", "type": "text", "enabled": true }, { "key": "client_secret", "value": "{{client_secret}}", "type": "text", "enabled": true } ], "rawModeData": null, "descriptionFormat": "html", "description": "", "headers": "Accept: application/vnd.PHPHub.v1+json\n", "method": "POST", "pathVariables": {}, "url": "{{url}}/oauth/access_token", "preRequestScript": "", "tests": "", "currentHelper": "normal", "helperAttributes": {}, "collectionId": "b7ec1632-52bd-e690-d380-a8cc3c337a56" } ] }