File tree Expand file tree Collapse file tree 1 file changed +89
-2
lines changed
Expand file tree Collapse file tree 1 file changed +89
-2
lines changed Original file line number Diff line number Diff line change 60056005 }
60066006 }
60076007 },
6008+ "post" : {
6009+ "tags" : [
6010+ " lists"
6011+ ],
6012+ "summary" : " Update a subscriber list." ,
6013+ "description" : " 🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns updated list." ,
6014+ "operationId" : " 0f8340a7d0a9f2c1f1bdffc728942d99" ,
6015+ "parameters" : [
6016+ {
6017+ "name" : " php-auth-pw" ,
6018+ "in" : " header" ,
6019+ "description" : " Session key obtained from login" ,
6020+ "required" : true ,
6021+ "schema" : {
6022+ "type" : " string"
6023+ }
6024+ },
6025+ {
6026+ "name" : " listId" ,
6027+ "in" : " path" ,
6028+ "description" : " List ID" ,
6029+ "required" : true ,
6030+ "schema" : {
6031+ "type" : " string"
6032+ }
6033+ }
6034+ ],
6035+ "requestBody" : {
6036+ "description" : " Pass parameters to create a new subscriber list." ,
6037+ "required" : true ,
6038+ "content" : {
6039+ "application/json" : {
6040+ "schema" : {
6041+ "$ref" : " #/components/schemas/CreateSubscriberListRequest"
6042+ }
6043+ }
6044+ }
6045+ },
6046+ "responses" : {
6047+ "201" : {
6048+ "description" : " Success" ,
6049+ "content" : {
6050+ "application/json" : {
6051+ "schema" : {
6052+ "$ref" : " #/components/schemas/SubscriberList"
6053+ }
6054+ }
6055+ }
6056+ },
6057+ "403" : {
6058+ "description" : " Failure" ,
6059+ "content" : {
6060+ "application/json" : {
6061+ "schema" : {
6062+ "$ref" : " #/components/schemas/UnauthorizedResponse"
6063+ }
6064+ }
6065+ }
6066+ },
6067+ "422" : {
6068+ "description" : " Failure" ,
6069+ "content" : {
6070+ "application/json" : {
6071+ "schema" : {
6072+ "$ref" : " #/components/schemas/ValidationErrorResponse"
6073+ }
6074+ }
6075+ }
6076+ }
6077+ }
6078+ },
60086079 "delete" : {
60096080 "tags" : [
60106081 " lists"
70907161 "public" : {
70917162 "type" : " boolean" ,
70927163 "example" : true
7164+ },
7165+ "category" : {
7166+ "type" : " string" ,
7167+ "example" : " Marketing"
7168+ },
7169+ "subject_prefix" : {
7170+ "type" : " string" ,
7171+ "example" : " [News]"
7172+ },
7173+ "rss_feed" : {
7174+ "type" : " string" ,
7175+ "example" : " https://example.com/blog/rss"
70937176 }
70947177 },
70957178 "type" : " object"
74117494 },
74127495 "subject_prefix" : {
74137496 "type" : " string" ,
7414- "example" : " Newsletter: "
7497+ "example" : " [News] "
74157498 },
74167499 "public" : {
74177500 "type" : " boolean" ,
74187501 "example" : true
74197502 },
74207503 "category" : {
74217504 "type" : " string" ,
7422- "example" : " News"
7505+ "example" : " Marketing"
7506+ },
7507+ "rss_feed" : {
7508+ "type" : " string" ,
7509+ "example" : " https://example.com/blog/rss"
74237510 }
74247511 },
74257512 "type" : " object"
You can’t perform that action at this time.
0 commit comments