Skip to content

Commit 88f2469

Browse files
committed
fix: fix docs
1 parent 39bcd03 commit 88f2469

File tree

6 files changed

+31
-34
lines changed

6 files changed

+31
-34
lines changed

content/cn/docs/clients/restful-api/edge.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ g = graph.traversal()
7777

7878
##### Method & Url
7979

80-
```
80+
```bash
8181
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges
8282
```
8383

@@ -140,7 +140,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges
140140

141141
##### Method & Url
142142

143-
```
143+
```bash
144144
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
145145
```
146146

@@ -208,7 +208,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batc
208208

209209
##### Method & Url
210210

211-
```
211+
```http
212212
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop?action=append
213213
```
214214

@@ -271,7 +271,7 @@ PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
271271

272272
##### Method & Url
273273

274-
```
274+
```http
275275
PUT http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
276276
```
277277

@@ -373,7 +373,7 @@ PUT http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
373373

374374
##### Method & Url
375375

376-
```
376+
```http
377377
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop?action=eliminate
378378
```
379379

@@ -448,7 +448,7 @@ PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
448448

449449
##### Method & Url
450450

451-
```
451+
```http
452452
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?vertex_id="1:marko"&label=knows&properties={"date":"P.within(\"20160111\")"}
453453
```
454454

@@ -484,7 +484,7 @@ GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?verte
484484

485485
##### Method & Url
486486

487-
```
487+
```http
488488
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page&limit=2
489489
```
490490

@@ -536,7 +536,7 @@ GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page&
536536

537537
##### Method & Url
538538

539-
```
539+
```http
540540
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page=EoYxOm1hcmtvgggCAIQyOmxvcAAAAAAAAAAC&limit=2
541541
```
542542

@@ -585,7 +585,7 @@ GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page=
585585

586586
##### Method & Url
587587

588-
```
588+
```http
589589
GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop
590590
```
591591

@@ -631,7 +631,7 @@ GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
631631

632632
##### Method & Url
633633

634-
```
634+
```http
635635
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop
636636
```
637637

@@ -647,7 +647,7 @@ DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1
647647

648648
##### Method & Url
649649

650-
```
650+
```http
651651
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>1>>S1:vadas?label=knows
652652
```
653653

content/cn/docs/clients/restful-api/graphs.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph-xx
193193

194194
```javascript
195195
{
196-
"name"
197-
:
198-
"hugegraph2",
196+
"name":"hugegraph2",
199197
"backend": "rocksdb"
200198
}
201199
```
@@ -218,8 +216,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph-xx
218216
##### Method & Url
219217

220218
```javascript
221-
DELETE
222-
http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph_clone?confirm_message=I%27m%20sure%20to%20drop%20the%20graph
219+
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph_clone?confirm_message=I%27m%20sure%20to%20drop%20the%20graph
223220
```
224221

225222
##### Response Status

content/cn/docs/clients/restful-api/indexlabel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ weight: 5
1212

1313
##### Method & Url
1414

15-
```
15+
```bash
1616
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/indexlabels
1717
```
1818

content/cn/docs/clients/restful-api/propertykey.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Params 说明:
2323

2424
##### Method & Url
2525

26-
```
26+
```http request
2727
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertykeys
2828
```
2929

@@ -72,7 +72,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertyk
7272

7373
##### Method & Url
7474

75-
```
75+
```http request
7676
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertykeys/age?action=append
7777
```
7878

@@ -200,7 +200,7 @@ GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertyke
200200

201201
##### Method & Url
202202

203-
```
203+
```http request
204204
GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertykeys/age
205205
```
206206

@@ -236,7 +236,7 @@ GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertyke
236236

237237
##### Method & Url
238238

239-
```
239+
```http request
240240
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/schema/propertykeys/age
241241
```
242242

content/cn/docs/clients/restful-api/rebuild.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/jobs/rebuild/inde
3636

3737
##### Method & Url
3838

39-
```
39+
```http request
4040
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/jobs/rebuild/vertexlabels/person
4141
```
4242

@@ -62,7 +62,7 @@ PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/jobs/rebuild/vert
6262

6363
##### Method & Url
6464

65-
```
65+
```http request
6666
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/jobs/rebuild/edgelabels/created
6767
```
6868

content/en/docs/clients/restful-api/edge.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ g = graph.traversal()
7676

7777
##### Method & Url
7878

79-
```
79+
```http
8080
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges
8181
```
8282

@@ -138,7 +138,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges
138138

139139
##### Method & Url
140140

141-
```
141+
```http
142142
POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
143143
```
144144

@@ -205,7 +205,7 @@ POST http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batc
205205

206206
##### Method & Url
207207

208-
```
208+
```http
209209
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop?action=append
210210
```
211211

@@ -267,7 +267,7 @@ PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
267267

268268
##### Method & Url
269269

270-
```
270+
```http
271271
PUT http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
272272
```
273273

@@ -368,7 +368,7 @@ PUT http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/batch
368368

369369
##### Method & Url
370370

371-
```
371+
```http
372372
PUT http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop?action=eliminate
373373
```
374374

@@ -442,7 +442,7 @@ Key-value pairs of properties consist of the property name and value in JSON for
442442

443443
##### Method & Url
444444

445-
```
445+
```http
446446
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?vertex_id="1:marko"&label=knows&properties={"date":"P.within(\"20160111\")"}
447447
```
448448

@@ -478,7 +478,7 @@ GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?verte
478478

479479
##### Method & Url
480480

481-
```
481+
```http
482482
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page&limit=2
483483
```
484484

@@ -530,7 +530,7 @@ The returned body contains the page number information for the next page, `"page
530530

531531
##### Method & Url
532532

533-
```
533+
```http
534534
GET http://127.0.0.1:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges?page=EoYxOm1hcmtvgggCAIQyOmxvcAAAAAAAAAAC&limit=2
535535
```
536536

@@ -578,7 +578,7 @@ When `"page": null` is returned, it indicates that there are no more pages avail
578578

579579
##### Method & Url
580580

581-
```
581+
```http
582582
GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop
583583
```
584584

@@ -623,7 +623,7 @@ GET http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:ma
623623

624624
##### Method & Url
625625

626-
```
626+
```http
627627
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>2>>S2:lop
628628
```
629629

@@ -639,7 +639,7 @@ In general, specifying the Label parameter along with the ID to delete an edge w
639639

640640
##### Method & Url
641641

642-
```
642+
```http
643643
DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/graph/edges/S1:marko>1>>S1:vadas?label=knows
644644
```
645645

0 commit comments

Comments
 (0)