Skip to content

Commit

Permalink
fix(api): change subscriberEmail to email for /segmentations
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeladeira committed Jul 29, 2024
1 parent 5575d4c commit 900d26e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/api/add-subscriber-to-segment.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "Add a subscriber to segmentation lists by email"
sidebar_label: "Add a subscriber to segmentation lists"
hide_title: true
hide_table_of_contents: true
api: eJy1WW1z2zYS/isY5kui0Yuj2JdG35xEvXrqJhlZuZtO7KkgErTQkAALgLZ1jv97nwVIipRkx0lzzkwsEbuLfX12l76NHL+00eRTZMVlLpTjTmplo4t+lAgbG1nQ92gSHScJ48yWS3q4FIY5zdosLJPWWbZcM5FzmUX9SBfC+KOTBPw8Sc4a5rk+C6wgM8IWuFFAidtofHBAv7pXb/gYpIhk79WQFGvlSCYE8KLIZOxPR39aknIb2XgF1eiTWxcCcvXyTxETY2FIVyeDDkb8VQrrSOuG1Doj1WV01++46ZRMblFxY/ga8qQTuf36RfKeGxpzp96TD9M8Us17yGIjuBPJsds97UepNjnHSZSAZuBkLoilLJJvY6l/+tHhvui+5gmrXP4tMeRq/T5F3kIH6TJS4rVO1kxapkQsrOWGItENwF1/Q91KKqUdE4ovM5HsslzUqh/uqv4OjKkuVfLPFN9SpZb4gO7byf8QX23AeLxrwEeFjPTegvFsqnDB+ofZ4nHg8QG5R5f91hzty6QTaG0UzwAO5ooUMEab4Y8DBi9vX9aLG54X3oh7VIDG/tMbnYivCHg3n87eHZ/+cTad/Wc6+2M6m72fEf8DqNTmT9MXL5cH/KdBIp6/GhymL8cD/lIkg4Nl8jxevnyRjl+lUVOQlVCqHBL7g/y0FyK7oaLHTKf7OsjJWztkv+uSxVyxS+GYWwk8pM4S8yyDwUyXBp2oKLTBqeD5cJMn90HwBvIaX316nLP6jyO7qH1acMNzgTSwvjAUvuD+mwEv5OCz8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xNZEcF8vJWCBjGwbWOOXOUR4XQFAqVaCRtxmtCIxnIEB0FWIZMmVtAXV3MYlazdQ265QU9Bsj7VtDJYcDralSGQmE1YPTTR9wBbf85B3390k1hn0th0mf0P09ja5JZCSb02dIYac2q0HfUotRy7z6BLae3gR5RuLrkCcZei75A9PU7ZzqYdO+FjXq/3WVf3dFtb0pKZT1H7sNpzNWXfCaNZsG48PpzeDuo4VWZV7RCILWgU3jCAM86UT4slrQ5NaxrU2n30eWNQOYgaMGTIaUyj0fvYxAiCnYAPaxZYrwZ/xz8Lf0Q4+wVv7XbUZwbOQAR7IO6lD0OK94vWHcd6DlBZ9hiGOW9Gm0T+aN6YcRdOZ+OqaaYCCrCacaJdijAnKN1oijDFftxnfhLhRq9anVZcmycAIj3UFgod0RCQZzgG22Wo7LzCA0yYQZunnw4PhAS2i9fuMk86SRHsn7RqYzmgIrxeex7073d6COmv6d7x9rbchJ27cqMwx4vpXesa/ZQxr0OYrX7BsLkJ4MAnCsNQsaX8Cx+0tDSkfTX53R4/hH7PCc3y84kZS+fltKZU2vGVr9sJ7DXs6q/e5Z+yBpW+vMc2LAEX78xXPK/qGj7RQN0vmHa1E9T783Yptrep7lQmXdpf/ViPafB9/7/9hS39Q4Z1XCBt6B6o3QbvBnAStKXZeHa05jhPaLR+k7a7nH96fzUEc16+nvCaTyPBrWvjx/yQ6xz//N4Xw5wl6TU/Pb6Ocq8sKgwhoglz6+RvZV6FY
sidebar_class_name: "post api-method"
info_path: docs/api/introduction
custom_edit_url: null
Expand Down Expand Up @@ -38,7 +38,7 @@ Add a subscriber to segmentation lists by email

Subscriber added to segmentation list

</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"requestId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>segmentationLists</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"subscriberEmail"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"subscriberId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"segmentationListId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time"}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"requestId\": \"string\",\n \"segmentationLists\": [\n {\n \"id\": \"string\",\n \"subscriberEmail\": \"string\",\n \"subscriberId\": \"string\",\n \"segmentationListId\": \"string\",\n \"createdAt\": \"2024-07-29T18:28:13.454Z\",\n \"updatedAt\": \"2024-07-29T18:28:13.454Z\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>
</div><div><MimeTabs className={"openapi-tabs__mime"} schemaType={"response"}><TabItem label={"application/json"} value={"application/json"}><SchemaTabs className={"openapi-tabs__schema"}><TabItem label={"Schema"} value={"Schema"}><details style={{}} className={"openapi-markdown__details response"} data-collapsed={false} open={true}><summary style={{}} className={"openapi-markdown__details-summary-response"}><strong>Schema</strong></summary><div style={{"textAlign":"left","marginLeft":"1rem"}}></div><ul style={{"marginLeft":"1rem"}}><SchemaItem collapsible={false} name={"requestId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={true} className={"schemaItem"}><details style={{}} className={"openapi-markdown__details"}><summary style={{}}><span className={"openapi-schema__container"}><strong className={"openapi-schema__property"}>data</strong><span className={"openapi-schema__name"}> object[]</span></span></summary><div style={{"marginLeft":"1rem"}}><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}>Array [</div></li><SchemaItem collapsible={false} name={"id"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"email"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"subscriberId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"segmentationListId"} required={false} schemaName={"string"} qualifierMessage={undefined} schema={{"type":"string"}}></SchemaItem><SchemaItem collapsible={false} name={"createdAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time"}}></SchemaItem><SchemaItem collapsible={false} name={"updatedAt"} required={false} schemaName={"date-time"} qualifierMessage={undefined} schema={{"type":"string","format":"date-time"}}></SchemaItem><li><div style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}>]</div></li></div></details></SchemaItem></ul></details></TabItem><TabItem label={"Example (from schema)"} value={"Example (from schema)"}><ResponseSamples responseExample={"{\n \"requestId\": \"string\",\n \"data\": [\n {\n \"id\": \"string\",\n \"email\": \"string\",\n \"subscriberId\": \"string\",\n \"segmentationListId\": \"string\",\n \"createdAt\": \"2024-07-29T19:44:36.658Z\",\n \"updatedAt\": \"2024-07-29T19:44:36.658Z\"\n }\n ]\n}"} language={"json"}></ResponseSamples></TabItem></SchemaTabs></TabItem></MimeTabs></div></TabItem><TabItem label={"400"} value={"400"}><div>

Bad request

Expand Down
Loading

0 comments on commit 900d26e

Please sign in to comment.