Skip to content

Commit ce1349b

Browse files
committed
Merge branch 'master' of github.com:phpList/swagger-ui
2 parents 94859f5 + 23adc3d commit ce1349b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

restapi.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,15 @@
180180
"schema": {
181181
"type": "string"
182182
}
183+
},
184+
{
185+
"name": "list",
186+
"in": "path",
187+
"description": "List ID",
188+
"required": true,
189+
"schema": {
190+
"type": "string"
191+
}
183192
}
184193
],
185194
"responses": {
@@ -492,7 +501,7 @@
492501
"message": {
493502
"description": "Deletes a session.",
494503
"type": "string",
495-
"example": "No valid session key was provided as basic auth password or You do not have access to this session."
504+
"example": "No valid session key was provided as basic auth password or\n * You do not have access to this session."
496505
}
497506
},
498507
"type": "object"
@@ -520,13 +529,13 @@
520529
}
521530
}
522531
},
523-
"/subscriber": {
532+
"/api/v2/subscriber": {
524533
"post": {
525534
"tags": [
526535
"subscribers"
527536
],
528537
"summary": "Create a subscriber list",
529-
"description": "Creates a new subscriber (if the provided data is valid and there is no subscriber with the given email\n * address yet).",
538+
"description": "Creates a new subscriber (if the provided data is valid and there is no subscriber with\n * the given email address yet).",
530539
"operationId": "PhpList\\RestBundle\\Controller\\SubscriberController::postAction",
531540
"parameters": [
532541
{
@@ -651,7 +660,8 @@
651660
"properties": {
652661
"message": {
653662
"description": "Creates a new subscriber (if the provided data is valid and there is no subscriber with the given email\naddress yet).",
654-
"type": "No valid session key was provided as basic auth password."
663+
"type": "string",
664+
"example": "No valid session key was provided as basic auth password."
655665
}
656666
},
657667
"type": "object"

0 commit comments

Comments
 (0)