fidor_schema 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4e00784ec12bf2c952a1d85af800b3691e3e3da
4
- data.tar.gz: d49a2ec5b3fb7ee16d8e44123959e40a7efb1b50
3
+ metadata.gz: 4a8eb9aba30533d5b2acc68a972a3fbc3015aa7d
4
+ data.tar.gz: c16b3be13bd1b8a66f5d66b99fb806bc6bc58005
5
5
  SHA512:
6
- metadata.gz: 378423ac4344c5c0ec6b25d06c573493432bf2da3282038e6f414e1a845701da8d160c37306f25b3feca18e123cbb9f823e31ac1e6adf2da51453be39e04d425
7
- data.tar.gz: 5ed49fde3fc85a6d43855cf2ba717512bb1040c958d2b38abc3bc87e0b683e2305519845eb0152491b46e8285f5643b11a48d22e148b92dfbe27c6a21ce55779
6
+ metadata.gz: bfdb27a590afab34161712e5efd6b75ea9dfab98c7c7bc1bdf4bbc530bb25168a68412604bf0af288fceb8072b2ffca4a830c39b68f10136e913d8d76c7d92c2
7
+ data.tar.gz: cfc10044519471705857faa10596fb6404ee59aa18d4b92e545f35188c14088ac71b8b956f904e752df60f3ac8d69ab405b61e0a30d8dc5bc03528564276b514
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A more detailed view of the changes can be found in the [commit messages](https://github.com/fidor/fidor_schema/commits/)
4
4
 
5
- **2014-10**
5
+ ##2014-11
6
+
7
+ * add rate_limit endpoint
8
+
9
+ ##2014-10
6
10
 
7
11
  * initial public release - ALPHA
@@ -1,5 +1,5 @@
1
1
  module Fidor
2
2
  class Schema
3
- VERSION='0.3.3'
3
+ VERSION='0.3.4'
4
4
  end
5
5
  end
@@ -37,13 +37,13 @@
37
37
  "pattern" : "^@(\\w){1,15}$"
38
38
  },
39
39
  "created_at" : {
40
- "description" : "Creation date-time, never changes.",
40
+ "description" : "Creation date-time, never changes. ISO 8601 Date-Time",
41
41
  "format" : "date-time",
42
42
  "type" : "string",
43
43
  "readonly" : true
44
44
  },
45
45
  "updated_at" : {
46
- "description" : "Last update date-time.",
46
+ "description" : "Last update date-time. ISO 8601 Date-Time",
47
47
  "format" : "date-time",
48
48
  "type" : "string",
49
49
  "readonly" : true
@@ -0,0 +1,29 @@
1
+ {
2
+ "type" : "object",
3
+ "title" : "Rate limit",
4
+ "name" : "rate_limit",
5
+ "description" : "Overall, remaining rate limits and the time frame until the reset.",
6
+ "properties" : {
7
+ "limit" : {
8
+ "description" : "The rate limit ceiling for the given request in a [time window]",
9
+ "type" : "integer",
10
+ "readonly" : true
11
+ },
12
+ "remaining" : {
13
+ "description" : "The number of requests left for the [time window]",
14
+ "type" : "integer",
15
+ "readonly" : true
16
+ },
17
+ "reset" : {
18
+ "description" : "The remaining window before the rate limit resets in e.g. UTC epoch seconds",
19
+ "type" : "integer",
20
+ "readonly" : true
21
+ }
22
+ },
23
+ "links" : [
24
+ {
25
+ "rel" : "self",
26
+ "href" : "rate_limit"
27
+ }
28
+ ]
29
+ }
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "mandate_id" : {
21
21
  "description" : "The sepa mandate used by the debit",
22
- "type" : "number",
22
+ "type" : "string",
23
23
  "required" : true
24
24
  },
25
25
  "amount" : {
@@ -47,13 +47,13 @@
47
47
  "readonly" : true
48
48
  },
49
49
  "booking_date" : {
50
- "description" : "Date the transaction was booked.",
51
- "format" : "date-time",
50
+ "description" : "Date the transaction was booked. ISO 8601 Date",
51
+ "format" : "date",
52
52
  "readonly" : true,
53
53
  "type" : "string"
54
54
  },
55
55
  "value_date" : {
56
- "description" : "Date the amount was credited to the account (Wertstellung).",
56
+ "description" : "Date the amount was credited to the account. ISO 8601 Date",
57
57
  "format" : "date",
58
58
  "readonly" : true,
59
59
  "type" : "string"
@@ -100,13 +100,13 @@
100
100
  "type" : "string"
101
101
  },
102
102
  "filter[booking_date_from]" : {
103
- "title" : "Date filter from >= date",
104
- "format" : "date-time",
103
+ "title" : "Date filter from >= date. ISO 8601 Date",
104
+ "format" : "date",
105
105
  "type" : "string"
106
106
  },
107
107
  "filter[booking_date_to]" : {
108
- "title" : "Date filter to <= date",
109
- "format" : "date-time",
108
+ "title" : "Date filter to <= date. ISO 8601 Date",
109
+ "format" : "date",
110
110
  "type" : "string"
111
111
  },
112
112
  "filter[kinds]" : {
@@ -13,7 +13,7 @@
13
13
  "readonly" : true
14
14
  },
15
15
  "last_sign_in_at" : {
16
- "description" : "Last time the user accessed fidor.",
16
+ "description" : "Last time the user accessed fidor. ISO 8601 Date-Time",
17
17
  "format" : "date-time",
18
18
  "readonly" : true,
19
19
  "type" : "string"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidor_schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-27 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -129,6 +129,7 @@ files:
129
129
  - schema/v1.0/lists/sepa_mandates.json
130
130
  - schema/v1.0/lists/transactions.json
131
131
  - schema/v1.0/lists/users.json
132
+ - schema/v1.0/rate_limit.json
132
133
  - schema/v1.0/sepa_credit_transfer.json
133
134
  - schema/v1.0/sepa_direct_debit.json
134
135
  - schema/v1.0/sepa_mandate.json