Skip to content

Commit e8e0398

Browse files
committed
update path
1 parent 7afe4f8 commit e8e0398

1 file changed

Lines changed: 38 additions & 2 deletions

File tree

www/storage/swagger/swagger.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,43 @@
2626
}
2727
],
2828
"paths": {
29-
"/api/storage/new": {
29+
"/api/storage": {
30+
"get": {
31+
"tags": [
32+
"Storage creation"
33+
],
34+
"summary": "List the pods of the logged in WebId",
35+
"responses": {
36+
"200": {
37+
"description": "Successful operation",
38+
"content" : {
39+
"application/json" : {
40+
"schema": {
41+
"type": "object",
42+
"example": {
43+
[
44+
{
45+
"storage": "https://storage-264e30d9-bc83-4ff7-a3b5-68d12125cdd7.solid.local/"
46+
}
47+
]
48+
}
49+
}
50+
}
51+
}
52+
},
53+
"400": {
54+
"description": "Bad request",
55+
"content" : {
56+
"application/json" : {
57+
"schema": {
58+
"type": "object",
59+
"example": {}
60+
}
61+
}
62+
}
63+
}
64+
}
65+
},
3066
"post": {
3167
"tags": [
3268
"Storage creation"
@@ -53,7 +89,7 @@
5389
"schema": {
5490
"type": "object",
5591
"example": {
56-
"storageId": "https://storage-264e30d9-bc83-4ff7-a3b5-68d12125cdd7.solid.local/"
92+
"storage": "https://storage-264e30d9-bc83-4ff7-a3b5-68d12125cdd7.solid.local/"
5793
}
5894
}
5995
}

0 commit comments

Comments
 (0)