Skip to content

Commit 30752c2

Browse files
authored
(Data Success) Updated ruby library docs (#57)
* Updated comments * Updated HISTORY file * Updated gem version * Added Nick's change
1 parent c6166aa commit 30752c2

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

HISTORY

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
=== 3.0.0.0 2018-03-05
2-
* adds support for v205 of Sift Science's APIs
3-
* v205 APIs are now called by default -- this is an incompatible change
4-
(use :version => 204 to call the previous API version)
5-
* Add content level decisions in Apply Decisions APIs.
1+
=== 3.0.1 2018-03-05
2+
- Improved documentation on HISTORY and README.MD
3+
4+
=== 3.0.0 2018-03-05
5+
- Adds support for Sift Science API Version 205, including new [`$create_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/create-content) and [`$update_content`](https://siftscience.com/developers/docs/curl/events-api/reserved-events/update-content) formats
6+
- V205 APIs are now called -- **this is an incompatible change**
7+
- (use `:version => 204` to call the previous API version)
8+
- Adds support for content decisions to [Decisions API](https://siftscience.com/developers/docs/curl/decisions-api)
9+
10+
INCOMPATIBLE CHANGES INTRODUCED IN API V205:
11+
- `$create_content` and `$update_content` have significantly changed, and the old format will be rejected
12+
- `$send_message` and `$submit_review` events are no longer valid
13+
- V205 improves server-side event data validation. In V204 and earlier, server-side validation accepted some events that did not conform to the published APIs in our [developer documentation](https://siftscience.com/developers/docs/curl/events-api). V205 does not modify existing event APIs other than those mentioned above, but may reject invalid event data that were previously accepted. **Please test your integration on V205 in sandbox before using in production.**
614

715
=== 2.2.1.0 2018-02-12
816
* Add session level decisions in Apply Decisions APIs.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To learn more about the decisions endpoint visit our [developer docs](https://si
8080
Get a list of your decisions.
8181

8282
**Optional Params**
83-
- `entity_type`: `:user` or `:order` or `:session`
83+
- `entity_type`: `:user` or `:order` or `:session` or `:content`
8484
- `abuse_types`: `["payment_abuse", "content_abuse", "content_abuse",
8585
"account_abuse", "legacy", "account_takeover"]`
8686

lib/sift/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Sift
2-
VERSION = "3.0.0"
2+
VERSION = "3.0.1"
33
API_VERSION = "205"
44
end

0 commit comments

Comments
 (0)