-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add oxiMailing service and bruno collection for all services #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2463d3a
feat: Add oxiMailing service and bruno collection for all services
eliot488995568 57d407e
chore: Fix OxiMailingSubscriber and the test associate
eliot488995568 9b4f7ae
chore: Fix UnitTest and add unsubscribe method
eliot488995568 9d05814
feat: Update README.md with unsubscribe
eliot488995568 dad86c9
chore: fix threads
eliot488995568 c09fb7d
chore: fix threads
eliot488995568 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
bruno/subscribeme/Brevo/Add existing contacts to a list.bru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| meta { | ||
| name: Add existing contacts to a list | ||
| type: http | ||
| seq: 2 | ||
| } | ||
|
|
||
| post { | ||
| url: {{brevo_base_url}}/v3/contacts/lists/:listId/contacts/add | ||
| body: json | ||
| auth: none | ||
| } | ||
|
|
||
| params:path { | ||
| listId: | ||
| } | ||
|
|
||
| body:json { | ||
| { | ||
| "emails": [ | ||
| "john.smith@contact.com" | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: Get all the lists | ||
| type: http | ||
| seq: 1 | ||
| } | ||
|
|
||
| get { | ||
| url: {{brevo_base_url}}/v3/contacts/lists | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{brevo_login}} | ||
| password: {{brevo_password}} | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| meta { | ||
| name: Get contacts in a list | ||
| type: http | ||
| seq: 3 | ||
| } | ||
|
|
||
| get { | ||
| url: {{brevo_base_url}}/v3/contacts/lists/:listId/contacts | ||
| body: none | ||
| auth: none | ||
| } | ||
|
|
||
| params:path { | ||
| listId: | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| meta { | ||
| name: Remove a contacts from a list | ||
| type: http | ||
| seq: 4 | ||
| } | ||
|
|
||
| post { | ||
| url: {{brevo_base_url}}/v3/contacts/lists/:listId/contacts/remove | ||
| body: json | ||
| auth: none | ||
| } | ||
|
|
||
| params:path { | ||
| listId: | ||
| } | ||
|
|
||
| headers { | ||
| content-type: application/json | ||
| } | ||
|
|
||
| body:json { | ||
| { | ||
| "emails": "john.smith@contact.com" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| meta { | ||
| name: Add member to list | ||
| type: http | ||
| seq: 2 | ||
| } | ||
|
|
||
| post { | ||
| url: {{mailchimp_base_url}}/lists/:listId/members | ||
| body: json | ||
| auth: basic | ||
| } | ||
|
|
||
| params:path { | ||
| listId: 123 | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{mailchimp_login}} | ||
| password: {{mailchimp_password}} | ||
| } | ||
|
|
||
| body:json { | ||
| { | ||
| "email_address": "john.smith@contact.com" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: Get all lists | ||
| type: http | ||
| seq: 3 | ||
| } | ||
|
|
||
| get { | ||
| url: {{mailchimp_base_url}}/lists/ | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{mailchimp_login}} | ||
| password: {{mailchimp_password}} | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: List members info | ||
| type: http | ||
| seq: 1 | ||
| } | ||
|
|
||
| get { | ||
| url: {{mailchimp_base_url}}/lists/:listId/members | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{mailchimp_login}} | ||
| password: {{mailchimp_password}} | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| meta { | ||
| name: Add contact in a list | ||
| type: http | ||
| seq: 2 | ||
| } | ||
|
|
||
| post { | ||
| url: {{mailjet_base_url}} | ||
| body: none | ||
| auth: none | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| meta { | ||
| name: Get contacts in a list | ||
| type: http | ||
| seq: 3 | ||
| } | ||
|
|
||
| get { | ||
| url: {{mailjet_base_url}}/v3/REST/contactslist/:listId | ||
| body: none | ||
| auth: none | ||
| } | ||
|
|
||
| params:path { | ||
| listId: | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: Get contactsList | ||
| type: http | ||
| seq: 1 | ||
| } | ||
|
|
||
| get { | ||
| url: {{mailjet_base_url}}/v3/REST/contactslist/ | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{mailjet_login}} | ||
| password: {{mailjet_password}} | ||
| } |
42 changes: 42 additions & 0 deletions
42
bruno/subscribeme/OxiMailing/Add new contacts into the specified list..bru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| meta { | ||
| name: Add new contacts into the specified list. | ||
| type: http | ||
| seq: 1 | ||
| } | ||
|
|
||
| post { | ||
| url: {{oximailing_base_url}}/lists/:listId/contacts?contacts={"email1@example.com":{"customerName":"Dupont","customerId":123}} &method=ignore | ||
| body: none | ||
eliot488995568 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| auth: basic | ||
| } | ||
|
|
||
| params:query { | ||
| contacts: {"email1@example.com":{"customerName":"Dupont","customerId":123}} | ||
| method: ignore | ||
| } | ||
|
|
||
| params:path { | ||
| listId: 841 | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{oximailing_login}} | ||
| password: {{oximailing_password}} | ||
| } | ||
|
|
||
| body:json { | ||
| { | ||
| "contacts" : { | ||
| "email@rezo-zero.com": { | ||
| "firstName": "firstName", | ||
| "lastName": "lastName" | ||
| } | ||
| }, | ||
| "mode" : "ignore" | ||
| } | ||
| } | ||
|
|
||
| body:multipart-form { | ||
| ~contacts: {"email1@example.com":{"customerName":"Dupont","customerId":123}} | ||
| ~mode: ignore | ||
| } | ||
28 changes: 28 additions & 0 deletions
28
bruno/subscribeme/OxiMailing/Delete the specified contacts..bru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| meta { | ||
| name: Delete the specified contacts. | ||
| type: http | ||
| seq: 3 | ||
| } | ||
|
|
||
| delete { | ||
| url: {{oximailing_base_url}}/lists/:listId/contacts?emails=email1@example.com | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| params:query { | ||
| emails: email1@example.com | ||
| } | ||
|
|
||
| params:path { | ||
| listId: 841 | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{oximailing_login}} | ||
| password: {{oximailing_password}} | ||
| } | ||
|
|
||
| body:multipart-form { | ||
| emails: email1@example.com | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| meta { | ||
| name: Get your contact lists. | ||
| type: http | ||
| seq: 4 | ||
| } | ||
|
|
||
| get { | ||
| url: {{oximailing_base_url}}/lists | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{oximailing_login}} | ||
| password: {{oximailing_password}} | ||
| } |
20 changes: 20 additions & 0 deletions
20
bruno/subscribeme/OxiMailing/Get your contacts in the specified list..bru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| meta { | ||
| name: Get your contacts in the specified list. | ||
| type: http | ||
| seq: 2 | ||
| } | ||
|
|
||
| get { | ||
| url: {{oximailing_base_url}}/lists/:listId/contacts | ||
| body: none | ||
| auth: basic | ||
| } | ||
|
|
||
| params:path { | ||
| listId: 841 | ||
| } | ||
|
|
||
| auth:basic { | ||
| username: {{oximailing_login}} | ||
| password: {{oximailing_password}} | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.