sk_api_schema 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +2 -0
- data/json/v1.0/attachment.json +7 -1
- data/lib/sk_api_schema/version.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,8 @@ Also signup to our [Developer Newsletter](http://www.salesking.eu/dev/newsletter
|
|
|
5
5
|
|
|
6
6
|
##2013-04
|
|
7
7
|
|
|
8
|
+
* filter attachments by related_object_type
|
|
9
|
+
* new PubSub channel for attachments
|
|
8
10
|
* new attachments/{ID}/download url DEPRECATE attachment.url
|
|
9
11
|
* add lead_date to contact
|
|
10
12
|
* make contact.lead_ref + lead_source text fields
|
data/json/v1.0/attachment.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"format": "uri"
|
|
31
31
|
},
|
|
32
32
|
"related_object_type":{
|
|
33
|
-
"description": "Object type of the attachment parent.
|
|
33
|
+
"description": "Object type of the attachment parent. A base class name: Document(for invoice, credit_note) Contact, Message(for email), Template(for email, pdf template)",
|
|
34
34
|
"required":true,
|
|
35
35
|
"type":"string"
|
|
36
36
|
},
|
|
@@ -106,6 +106,12 @@
|
|
|
106
106
|
"format" : "date",
|
|
107
107
|
"type" : "string"
|
|
108
108
|
},
|
|
109
|
+
"filter[related_object_type]":{
|
|
110
|
+
"title" : "Related object type",
|
|
111
|
+
"description": "All objects belonging to the given object type. The singular base class name like: Document, Contact, Export, Message",
|
|
112
|
+
"format" : "date",
|
|
113
|
+
"type" : "string"
|
|
114
|
+
},
|
|
109
115
|
"sort_by":{
|
|
110
116
|
"title" : "Sort by",
|
|
111
117
|
"description": "Sort the results by the given field",
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sk_api_schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 5
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 7
|
|
9
|
-
-
|
|
10
|
-
version: 0.7.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.7.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Georg Leciejewski
|