README.md in rdstation-ruby-client-2.8.1 vs README.md in rdstation-ruby-client-2.8.2

- old
+ new

@@ -53,11 +53,11 @@ config.client_id = YOUR_CLIENT_ID config.client_secret = YOUR_CLIENT_SECRET end ``` -For details on what `client_id` and `client_secret` are, check the [developers portal](https://developers.rdstation.com/en/authentication). +For details on what `client_id` and `client_secret` are, check the [developers portal](https://developers.rdstation.com/reference/autenticacao). ### Authentication For more details, check the [developers portal](https://developers.rdstation.com/en/authentication). @@ -121,22 +121,22 @@ ```ruby client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') client.contacts.by_uuid('uuid') ``` -More info: https://developers.rdstation.com/pt-BR/reference/contacts#methodGetDetailsuuid +More info: https://developers.rdstation.com/reference/get_platform-contacts-identifier-value #### Getting a Contact by Email Returns data about a specific Contact ```ruby client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') client.contacts.by_email('email') ``` -More info: https://developers.rdstation.com/pt-BR/reference/contacts#methodGetDetailsemail +More info: https://developers.rdstation.com/pt-BR/reference/contacts#methodGetDetailsuuid #### Update a Contact by UUID Updates the properties of a Contact. @@ -158,11 +158,11 @@ - personal_phone - mobile_phone - website - tags -More info: https://developers.rdstation.com/pt-BR/reference/contacts#methodPatchDetails +More info: https://developers.rdstation.com/reference/patch_platform-contacts-identifier-value #### Upsert a Contact by identifier and value With an UPSERT like behavior, this method is capable of both updating the properties of a Contact or creating a new Contact. Whatever is used as an identifier cannot appear in the request payload as a field. This will result in a [BAD_REQUEST error](https://developers.rdstation.com/pt-BR/error-states#conflicting). @@ -177,21 +177,21 @@ client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') client.contacts.upsert(identifier, identifier_value, contact_info) ``` -More info: https://developers.rdstation.com/pt-BR/reference/contacts#methodPatchUpsertDetails +More info: https://developers.rdstation.com/reference/patch_platform-contacts-identifier-value ### Events #### Sending a new event The events endpoint are responsible for receiving different event types in which RD Station Contacts take part in. It is possible to send default events to RD Station such as conversion events, lifecycle events and won and lost events. Also, RD Station supports the possibility of receiving different event types, for instance, chat events, ecommerce ones and others. -Check the [developers portal](https://developers.rdstation.com/en/reference/events) to learn about the required payload structure and which events are available. +Check the [developers portal](https://developers.rdstation.com/reference/eventos) to learn about the required payload structure and which events are available. This creates a new event on RDSM: ```ruby payload = {} # hash representing the payload @@ -199,11 +199,11 @@ client.events.create(payload) ``` ### Fields -Endpoints to [manage Contact Fields](https://developers.rdstation.com/en/reference/fields) information in your RD Station account. +Endpoints to [manage Contact Fields](https://developers.rdstation.com/reference/get_platform-contacts-fields) information in your RD Station account. #### List all fields ```ruby client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') @@ -285,21 +285,21 @@ payload = {} # payload representing a webhook client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') client.webhooks.create(payload) ``` -The required strucutre of the payload is [described here](https://developers.rdstation.com/en/reference/webhooks#methodPostDetails). +The required strucutre of the payload is [described here](https://developers.rdstation.com/reference/post_integrations-webhooks). #### Updating a webhook ```ruby payload = {} # payload representing a webhook client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') client.webhooks.create('WEBHOOK_UUID', payload) ``` -The required strucutre of the payload is [described here](https://developers.rdstation.com/en/reference/webhooks#methodPutDetails). +The required strucutre of the payload is [described here](https://developers.rdstation.com/reference/put_integrations-webhooks-uuid) #### Deleting a webhook ```ruby client = RDStation::Client.new(access_token: 'access_token', refresh_token: 'refresh_token') @@ -432,11 +432,10 @@ 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Maintainers -- [Filipe Nascimento](mailto:filipe.nascimento@resultadosdigitais.com.br) -- [João Hornburg](mailto:joao@rdstation.com) +- [EcoSystem API Team](mailto:ecosystem@rdstation.com) ## Reference You can check out RDstation's integration documentation at our [developers portal](https://developers.rdstation.com).