|
5105 | 5105 | } |
5106 | 5106 | } |
5107 | 5107 | }, |
5108 | | - "/api/v2/subscribe-pages/{id}/public": { |
| 5108 | + "/api/v2/public/subscribe-pages/{pageId}": { |
5109 | 5109 | "get": { |
5110 | 5110 | "tags": [ |
5111 | | - "subscriptions" |
| 5111 | + "public" |
5112 | 5112 | ], |
5113 | 5113 | "summary": "Get public subscribe page (placeholders replaced with actual values)", |
5114 | 5114 | "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production.", |
5115 | | - "operationId": "c82021ebada5c3523680fd71890bca54", |
| 5115 | + "operationId": "0ce8d9a7201bd20911aede0e4b62f479", |
5116 | 5116 | "parameters": [ |
5117 | 5117 | { |
5118 | | - "name": "id", |
| 5118 | + "name": "pageId", |
5119 | 5119 | "in": "path", |
5120 | 5120 | "description": "Subscribe page ID", |
5121 | 5121 | "required": true, |
|
5146 | 5146 | } |
5147 | 5147 | } |
5148 | 5148 | } |
5149 | | - } |
5150 | | - }, |
5151 | | - "/api/v2/subscribe-pages/{id}/lists/{listId}/subscribers": { |
| 5149 | + }, |
5152 | 5150 | "post": { |
5153 | 5151 | "tags": [ |
5154 | | - "subscriptions" |
| 5152 | + "public" |
5155 | 5153 | ], |
5156 | 5154 | "summary": "Create subscription", |
5157 | 5155 | "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production.Subscribe subscriber to a list from subscribe page.", |
5158 | | - "operationId": "764d299822f5efc74556ea96ba2cbfb4", |
| 5156 | + "operationId": "106ea367d6b2e0925240532f5cf1087c", |
5159 | 5157 | "parameters": [ |
5160 | 5158 | { |
5161 | | - "name": "listId", |
5162 | | - "in": "path", |
5163 | | - "description": "List ID", |
5164 | | - "required": true, |
5165 | | - "schema": { |
5166 | | - "type": "string" |
5167 | | - } |
5168 | | - }, |
5169 | | - { |
5170 | | - "name": "id", |
| 5159 | + "name": "pageId", |
5171 | 5160 | "in": "path", |
5172 | 5161 | "description": "Subscribe page ID", |
5173 | 5162 | "required": true, |
|
7034 | 7023 | } |
7035 | 7024 | } |
7036 | 7025 | } |
7037 | | - }, |
7038 | | - "/api/v2/lists/{listId}/public": { |
7039 | | - "get": { |
7040 | | - "tags": [ |
7041 | | - "lists" |
7042 | | - ], |
7043 | | - "summary": "Gets a subscriber list.", |
7044 | | - "description": "🚧 **Status: Beta** – This method is under development. Avoid using in production. Returns a single subscriber list with specified ID.", |
7045 | | - "operationId": "4da85d04ec92d3dd4982c63f11f3d73e", |
7046 | | - "parameters": [ |
7047 | | - { |
7048 | | - "name": "listId", |
7049 | | - "in": "path", |
7050 | | - "description": "List ID", |
7051 | | - "required": true, |
7052 | | - "schema": { |
7053 | | - "type": "string" |
7054 | | - } |
7055 | | - } |
7056 | | - ], |
7057 | | - "responses": { |
7058 | | - "200": { |
7059 | | - "description": "Success", |
7060 | | - "content": { |
7061 | | - "application/json": { |
7062 | | - "schema": { |
7063 | | - "properties": { |
7064 | | - "id": { |
7065 | | - "type": "integer", |
7066 | | - "example": 1 |
7067 | | - }, |
7068 | | - "name": { |
7069 | | - "type": "string", |
7070 | | - "example": "Newsletter subscribers" |
7071 | | - }, |
7072 | | - "list_position": { |
7073 | | - "type": "integer", |
7074 | | - "example": 1 |
7075 | | - }, |
7076 | | - "description": { |
7077 | | - "type": "string", |
7078 | | - "example": "Main public list", |
7079 | | - "nullable": true |
7080 | | - } |
7081 | | - }, |
7082 | | - "type": "object" |
7083 | | - } |
7084 | | - } |
7085 | | - } |
7086 | | - }, |
7087 | | - "404": { |
7088 | | - "description": "Failure", |
7089 | | - "content": { |
7090 | | - "application/json": { |
7091 | | - "schema": { |
7092 | | - "properties": { |
7093 | | - "message": { |
7094 | | - "type": "string", |
7095 | | - "example": "There is no list with that ID." |
7096 | | - } |
7097 | | - }, |
7098 | | - "type": "object" |
7099 | | - } |
7100 | | - } |
7101 | | - } |
7102 | | - } |
7103 | | - } |
7104 | | - } |
7105 | 7026 | } |
7106 | 7027 | }, |
7107 | 7028 | "components": { |
|
8406 | 8327 | "format": "email", |
8407 | 8328 | "example": "lia@example.com" |
8408 | 8329 | }, |
8409 | | - "confirmEmail": { |
| 8330 | + "confirm_email": { |
8410 | 8331 | "type": "string", |
8411 | 8332 | "format": "email", |
8412 | 8333 | "example": "lia@example.com" |
8413 | 8334 | }, |
| 8335 | + "list_id": { |
| 8336 | + "type": "integer", |
| 8337 | + "example": 1 |
| 8338 | + }, |
8414 | 8339 | "attributes": { |
8415 | 8340 | "type": "object", |
8416 | 8341 | "example": { |
|
9007 | 8932 | "name": "subscriptions", |
9008 | 8933 | "description": "subscriptions" |
9009 | 8934 | }, |
| 8935 | + { |
| 8936 | + "name": "public", |
| 8937 | + "description": "public" |
| 8938 | + }, |
9010 | 8939 | { |
9011 | 8940 | "name": "subscriber-attributes", |
9012 | 8941 | "description": "subscriber-attributes" |
|
0 commit comments