Skip to content

Commit 44eb25e

Browse files
committed
Each block is json
1 parent 504fc34 commit 44eb25e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ A service can use publish a JSON string on the channels above and one of the ins
4242
### Create
4343

4444
- Request Channel `year4000.pycloud.create`
45-
```
45+
```json
4646
{
4747
"id": "RANDOMLY_GENERATED_BY_USER",
4848
"script": "SCRIPT TO RUN ON SERVER AFTER REQUEST IS RECEIVED"
4949
}
5050
```
5151

5252
- Response Channel `year4000.pycloud.create.RANDOMLY_GENERATED_BY_USER`
53-
```
53+
```json
5454
{
5555
"cloud": "PYCLOUD_HASH",
5656
"id": "SESSION_HASH"
@@ -63,7 +63,7 @@ At this moment both Status and Remove calls are the same Request and Response bu
6363

6464
- Request Channel `year4000.pycloud.status`
6565
- Request Channel `year4000.pycloud.remove`
66-
```
66+
```json
6767
{
6868
"id": "RANDOMLY_GENERATED_BY_USER",
6969
"session": "SESSION_HASH"
@@ -72,7 +72,7 @@ At this moment both Status and Remove calls are the same Request and Response bu
7272

7373
- Response Channel `year4000.pycloud.status.RANDOMLY_GENERATED_BY_USER`
7474
- Response Channel `year4000.pycloud.remove.RANDOMLY_GENERATED_BY_USER`
75-
```
75+
```json
7676
{
7777
"cloud": "PYCLOUD_HASH",
7878
"id": "SESSION_HASH",

0 commit comments

Comments
 (0)