Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ikidnapmyself/c7c13ec08ebe990f0012264d2be13149 to your computer and use it in GitHub Desktop.
Save ikidnapmyself/c7c13ec08ebe990f0012264d2be13149 to your computer and use it in GitHub Desktop.
Steem for Postman
{
"info": {
"_postman_id": "3e93a349-91bb-4a31-b122-773497c199fe",
"name": "Steem Connect v2",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Steem API Me",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "ACCESS_TOKEN",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://v2.steemconnect.com/api/me",
"protocol": "https",
"host": [
"v2",
"steemconnect",
"com"
],
"path": [
"api",
"me"
]
}
},
"response": []
},
{
"name": "Upvote",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "ACCESS_TOKEN",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"operations\":[[\"vote\",{\"voter\":\"ikidnapmyself\",\"author\":\"tubi\",\"permlink\":\"steel-welfare-studies-part-1-dmania-bot-upvote-analysis-lorenz-curve-and-gini-coefficient-of-upvote-distribution\",\"weight\":\"10000\"}]]}"
},
"url": {
"raw": "https://v2.steemconnect.com/api/broadcast",
"protocol": "https",
"host": [
"v2",
"steemconnect",
"com"
],
"path": [
"api",
"broadcast"
]
}
},
"response": []
},
{
"name": "Post",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "ACCESS_TOKEN",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\"operations\": [\r\n[\r\n\"comment\",\r\n{\r\n\"parent_author\": \"\",\r\n\"parent_permlink\": \"steemconnect\",\r\n\"author\": \"ikidnapmyself\",\r\n\"permlink\": \"im-posting-with-steem-connect-apiv2\",\r\n\"title\": \"I'm posting with Steem Connect APIv2!\",\r\n\"body\": \"It is a test post. Everything looks cool! There is no documentation in my pocket, so I do it on main network.<br>Cheers!\",\r\n\"json_metadata\": \"\"\r\n}\r\n]\r\n]\r\n}"
},
"url": {
"raw": "https://v2.steemconnect.com/api/broadcast",
"protocol": "https",
"host": [
"v2",
"steemconnect",
"com"
],
"path": [
"api",
"broadcast"
]
}
},
"response": []
},
{
"name": "Leave a comment",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "ACCESS_TOKEN",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n\"operations\": [\r\n[\r\n\"comment\",\r\n{\r\n\"parent_author\": \"ikidnapmyself\",\r\n\"parent_permlink\": \"im-posting-with-steem-connect-apiv2\",\r\n\"author\": \"ikidnapmyself\",\r\n\"permlink\": \"permalink-sample\",\r\n\"title\": \"\",\r\n\"body\": \"It is my second comment!\",\r\n\"json_metadata\": \"{\\\"app\\\":\\\"fornaxstudio\\\"}\"\r\n}\r\n]\r\n]\r\n}"
},
"url": {
"raw": "https://v2.steemconnect.com/api/broadcast",
"protocol": "https",
"host": [
"v2",
"steemconnect",
"com"
],
"path": [
"api",
"broadcast"
]
}
},
"response": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment