mirror of
https://github.com/rclone/rclone.git
synced 2025-12-10 13:23:21 +00:00
docs: fix markdownlint issue md010/no-hard-tabs
This commit is contained in:
@@ -188,8 +188,8 @@ You can use it like this:
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc rc/noop param1=one param2=two
|
$ rclone rc rc/noop param1=one param2=two
|
||||||
{
|
{
|
||||||
"param1": "one",
|
"param1": "one",
|
||||||
"param2": "two"
|
"param2": "two"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -219,16 +219,16 @@ more complicated input parameters.
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc --json '{ "p1": [1,"2",null,4], "p2": { "a":1, "b":2 } }' rc/noop
|
$ rclone rc --json '{ "p1": [1,"2",null,4], "p2": { "a":1, "b":2 } }' rc/noop
|
||||||
{
|
{
|
||||||
"p1": [
|
"p1": [
|
||||||
1,
|
1,
|
||||||
"2",
|
"2",
|
||||||
null,
|
null,
|
||||||
4
|
4
|
||||||
],
|
],
|
||||||
"p2": {
|
"p2": {
|
||||||
"a": 1,
|
"a": 1,
|
||||||
"b": 2
|
"b": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -272,7 +272,7 @@ Starting a job with the `_async` flag:
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc --json '{ "p1": [1,"2",null,4], "p2": { "a":1, "b":2 }, "_async": true }' rc/noop
|
$ rclone rc --json '{ "p1": [1,"2",null,4], "p2": { "a":1, "b":2 }, "_async": true }' rc/noop
|
||||||
{
|
{
|
||||||
"jobid": 2
|
"jobid": 2
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -282,26 +282,26 @@ on the meaning of these return parameters see the `job/status` call.
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc --json '{ "jobid":2 }' job/status
|
$ rclone rc --json '{ "jobid":2 }' job/status
|
||||||
{
|
{
|
||||||
"duration": 0.000124163,
|
"duration": 0.000124163,
|
||||||
"endTime": "2018-10-27T11:38:07.911245881+01:00",
|
"endTime": "2018-10-27T11:38:07.911245881+01:00",
|
||||||
"error": "",
|
"error": "",
|
||||||
"finished": true,
|
"finished": true,
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"output": {
|
"output": {
|
||||||
"_async": true,
|
"_async": true,
|
||||||
"p1": [
|
"p1": [
|
||||||
1,
|
1,
|
||||||
"2",
|
"2",
|
||||||
null,
|
null,
|
||||||
4
|
4
|
||||||
],
|
],
|
||||||
"p2": {
|
"p2": {
|
||||||
"a": 1,
|
"a": 1,
|
||||||
"b": 2
|
"b": 2
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"startTime": "2018-10-27T11:38:07.911121728+01:00",
|
"startTime": "2018-10-27T11:38:07.911121728+01:00",
|
||||||
"success": true
|
"success": true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -310,9 +310,9 @@ $ rclone rc --json '{ "jobid":2 }' job/status
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc job/list
|
$ rclone rc job/list
|
||||||
{
|
{
|
||||||
"jobids": [
|
"jobids": [
|
||||||
2
|
2
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -429,8 +429,8 @@ Stats for specific group can be accessed by passing `group` to `core/stats`:
|
|||||||
```sh
|
```sh
|
||||||
$ rclone rc --json '{ "group": "job/1" }' core/stats
|
$ rclone rc --json '{ "group": "job/1" }' core/stats
|
||||||
{
|
{
|
||||||
"speed": 12345
|
"speed": 12345
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2412,8 +2412,8 @@ Response
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"potato": "1",
|
"potato": "1",
|
||||||
"sausage": "2"
|
"sausage": "2"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2425,11 +2425,11 @@ curl -X POST 'http://localhost:5572/rc/error?potato=1&sausage=2'
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"error": "arbitrary error on input map[potato:1 sausage:2]",
|
"error": "arbitrary error on input map[potato:1 sausage:2]",
|
||||||
"input": {
|
"input": {
|
||||||
"potato": "1",
|
"potato": "1",
|
||||||
"sausage": "2"
|
"sausage": "2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2452,8 +2452,8 @@ Response
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"potato": "1",
|
"potato": "1",
|
||||||
"sausage": "2"
|
"sausage": "2"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2468,9 +2468,9 @@ Response
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"potato": "1",
|
"potato": "1",
|
||||||
"rutabaga": "3",
|
"rutabaga": "3",
|
||||||
"sausage": "4"
|
"sausage": "4"
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -2485,8 +2485,8 @@ response
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"password": "xyz",
|
"password": "xyz",
|
||||||
"username": "xyz"
|
"username": "xyz"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -2499,9 +2499,9 @@ curl -H "Content-Type: application/json" -X POST -d '{"potato":2,"sausage":1}' '
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"potato": 2,
|
"potato": 2,
|
||||||
"rutabaga": "3",
|
"rutabaga": "3",
|
||||||
"sausage": 1
|
"sausage": 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user